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

Issue 7221080: code review 7221080: runtime: Avoid dependency on the auxillary vector, auxv... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by elias.naur
Modified:
10 years, 10 months ago
Reviewers:
minux1, iant, dave, rsc, golang-dev, bradfitz
Visibility:
Public.

Description

runtime: Add support for loading auxv from /proc/self/auxv. If support for creating shared libraries in go is implemented, the kernel supplied auxv supplied on the main thread of an executable will no longer be available. In that case, load the necessary information from /proc/self/auxv.

Patch Set 1 #

Patch Set 2 : diff -r b3af92ac5a0c https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r b3af92ac5a0c https://go.googlecode.com/hg/ #

Total comments: 6

Patch Set 4 : diff -r a9211b512258 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r a9211b512258 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 3836bcbafa69 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -41 lines) Patch
M src/pkg/runtime/os_linux.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M src/pkg/runtime/signal_linux_arm.c View 1 2 3 4 5 2 chunks +54 lines, -25 lines 0 comments Download
M src/pkg/runtime/vdso_linux_amd64.c View 1 2 3 4 7 chunks +53 lines, -16 lines 0 comments Download

Messages

Total messages: 19
elias.naur
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 3 months ago (2013-01-31 18:29:45 UTC) #1
iant
Sorry if I missed something, but when is this useful?
11 years, 3 months ago (2013-01-31 23:15:24 UTC) #2
dave_cheney.net
I think the refactoring of the auxv parsing is good, but does this introduce a ...
11 years, 3 months ago (2013-01-31 23:18:03 UTC) #3
rsc
The context here is that this is trying to find the auxv when called as ...
11 years, 3 months ago (2013-01-31 23:45:06 UTC) #4
elias.naur
On 2013/01/31 23:45:06, rsc wrote: > The context here is that this is trying to ...
11 years, 3 months ago (2013-02-01 09:16:38 UTC) #5
iant
Looks basically fine. https://codereview.appspot.com/7221080/diff/3005/src/pkg/runtime/signal_linux_arm.c File src/pkg/runtime/signal_linux_arm.c (right): https://codereview.appspot.com/7221080/diff/3005/src/pkg/runtime/signal_linux_arm.c#newcode174 src/pkg/runtime/signal_linux_arm.c:174: runtime·parse_auxv_entry(uint32 key, uint32 val) { You ...
11 years, 3 months ago (2013-02-05 15:11:31 UTC) #6
rsc
Now that we have code to read /proc/self/auxv can we drop the code to read ...
11 years, 3 months ago (2013-02-05 15:46:31 UTC) #7
elias.naur
PTAL On 2013/02/05 15:11:31, iant wrote: > Looks basically fine. > > https://codereview.appspot.com/7221080/diff/3005/src/pkg/runtime/signal_linux_arm.c > File ...
11 years, 3 months ago (2013-02-05 15:50:53 UTC) #8
elias.naur
PTAL On 2013/02/05 15:46:31, rsc wrote: > Now that we have code to read /proc/self/auxv ...
11 years, 3 months ago (2013-02-05 16:30:01 UTC) #9
rsc
I don't know the exact kernel version require but I am confident that >= 2.6.0 ...
11 years, 3 months ago (2013-02-05 16:35:04 UTC) #10
minux1
On Fri, Feb 1, 2013 at 5:16 PM, <elias.naur@gmail.com> wrote: > > An alternative solution ...
11 years, 3 months ago (2013-02-05 16:46:18 UTC) #11
elias.naur
On 2013/02/05 16:46:18, minux wrote: > On Fri, Feb 1, 2013 at 5:16 PM, <mailto:elias.naur@gmail.com> ...
11 years, 3 months ago (2013-02-05 20:03:39 UTC) #12
minux1
On Wed, Feb 6, 2013 at 4:03 AM, <elias.naur@gmail.com> wrote: > On 2013/02/05 16:46:18, minux ...
11 years, 3 months ago (2013-02-05 21:14:47 UTC) #13
iant
On 2013/02/05 16:46:18, minux wrote: > i can eliminate the dependency on AT_PLATFORM and AT_HWCAPS ...
11 years, 3 months ago (2013-02-05 21:58:49 UTC) #14
dave_cheney.net
Could I ask that this set of CLs is deferred til after Go 1.1. This ...
11 years, 3 months ago (2013-02-05 22:09:35 UTC) #15
iant
On 2013/02/05 22:09:35, dfc wrote: > Could I ask that this set of CLs is ...
11 years, 3 months ago (2013-02-05 22:16:42 UTC) #16
minux1
On Wed, Feb 6, 2013 at 5:58 AM, <iant@golang.org> wrote: > On 2013/02/05 16:46:18, minux ...
11 years, 3 months ago (2013-02-06 01:18:13 UTC) #17
bradfitz
R=iant
10 years, 10 months ago (2013-06-18 02:38:50 UTC) #18
elias.naur
10 years, 10 months ago (2013-06-24 15:25:31 UTC) #19
Message was sent while issue was closed.
Closed, superseded by https://codereview.appspot.com/9738047/
Sign in to reply to this message.

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