Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(441)

Issue 5978051: code review 5978051: runtime: get per-process randome number from auxv for h... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by minux1
Modified:
12 years, 10 months ago
Reviewers:
CC:
dave_cheney.net, rsc, golang-dev
Visibility:
Public.

Description

runtime: get per-process random number from auxv for hash table Decode AT_RANDOM, AT_HWCAP, and AT_PLATFORM. This CL only make use of AT_RANDOM, but future CLs will make use of the others.

Patch Set 1 #

Patch Set 2 : diff -r 6c1797405851 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 6c1797405851 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 6c1797405851 https://code.google.com/p/go/ #

Patch Set 5 : diff -r 6c1797405851 https://code.google.com/p/go/ #

Patch Set 6 : diff -r 6c1797405851 https://code.google.com/p/go/ #

Total comments: 3

Patch Set 7 : diff -r 2eec2501961c https://code.google.com/p/go/ #

Total comments: 4

Patch Set 8 : diff -r 9233f811c522 https://code.google.com/p/go/ #

Patch Set 9 : diff -r d744d86bd5ea https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -10 lines) Patch
M src/pkg/runtime/asm_arm.s View 1 2 3 4 5 6 7 1 chunk +0 lines, -10 lines 0 comments Download
M src/pkg/runtime/rt0_linux_arm.s View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/pkg/runtime/signal_linux_arm.c View 1 2 3 4 5 6 7 1 chunk +57 lines, -0 lines 0 comments Download

Messages

Total messages: 12
minux1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 11 months ago (2012-04-15 18:03:09 UTC) #1
dave_cheney.net
Hello, Thank you for this CL. Previously you've mention that AT_* were newer kernel features. ...
12 years, 11 months ago (2012-04-15 22:34:54 UTC) #2
minux1
On Mon, Apr 16, 2012 at 6:33 AM, Dave Cheney <dave@cheney.net> wrote: > > Thank ...
12 years, 11 months ago (2012-04-16 05:30:58 UTC) #3
minux1
On 2012/04/16 05:30:58, minux wrote: > AT_RANDOM is introduced in 2.6.29, but as the original ...
12 years, 11 months ago (2012-04-16 05:56:45 UTC) #4
dave_cheney.net
Are there any parts of this CL that are applicable to linux/amd64 and 386 ? ...
12 years, 11 months ago (2012-04-18 10:21:37 UTC) #5
minux1
On Wed, Apr 18, 2012 at 6:21 PM, <dave@cheney.net> wrote: > Are there any parts ...
12 years, 11 months ago (2012-04-18 10:27:58 UTC) #6
dave_cheney.net
Excellent, I didn't realise. On Wed, Apr 18, 2012 at 8:27 PM, minux <minux.ma@gmail.com> wrote: ...
12 years, 11 months ago (2012-04-18 10:29:22 UTC) #7
rsc
http://codereview.appspot.com/5978051/diff/12007/src/pkg/runtime/signal_linux_arm.c File src/pkg/runtime/signal_linux_arm.c (right): http://codereview.appspot.com/5978051/diff/12007/src/pkg/runtime/signal_linux_arm.c#newcode168 src/pkg/runtime/signal_linux_arm.c:168: runtime·randomNumber = *(uint32 *)(4 + auxv[1]); *(uint32*)(auxv[1]+4) http://codereview.appspot.com/5978051/diff/12007/src/pkg/runtime/signal_linux_arm.c#newcode172 src/pkg/runtime/signal_linux_arm.c:172: ...
12 years, 10 months ago (2012-04-25 03:06:04 UTC) #8
minux1
Please take another look.
12 years, 10 months ago (2012-04-25 08:03:59 UTC) #9
rsc
LGTM http://codereview.appspot.com/5978051/diff/19001/src/pkg/runtime/signal_linux_arm.c File src/pkg/runtime/signal_linux_arm.c (right): http://codereview.appspot.com/5978051/diff/19001/src/pkg/runtime/signal_linux_arm.c#newcode146 src/pkg/runtime/signal_linux_arm.c:146: uint32 runtime·randomNumber; Can you make this static? It ...
12 years, 10 months ago (2012-05-03 21:53:27 UTC) #10
minux1
On 2012/05/03 21:53:27, rsc wrote: > http://codereview.appspot.com/5978051/diff/19001/src/pkg/runtime/signal_linux_arm.c#newcode146 > src/pkg/runtime/signal_linux_arm.c:146: uint32 runtime·randomNumber; > Can you make ...
12 years, 10 months ago (2012-05-04 17:45:57 UTC) #11
minux1
12 years, 10 months ago (2012-05-04 17:59:28 UTC) #12
*** Submitted as http://code.google.com/p/go/source/detail?r=6c231e101df3 ***

runtime: get per-process random number from auxv for hash table
Decode AT_RANDOM, AT_HWCAP, and AT_PLATFORM.
This CL only make use of AT_RANDOM, but future CLs will make use of the others.

R=dave, rsc
CC=golang-dev
http://codereview.appspot.com/5978051
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b