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

Issue 10782044: code review 10782044: syscall: apply go:norace to forkAndExecInChild() functions (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by dvyukov
Modified:
10 years, 9 months ago
Reviewers:
r, rsc, golang-dev
Visibility:
Public.

Description

syscall: apply go:norace to forkAndExecInChild() functions Race instrumentation can allocate, switch stacks, preempt, etc. All that is not allowed in between fork and exec. Fixes issue 4840.

Patch Set 1 #

Patch Set 2 : diff -r c224c549a3c7 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r c224c549a3c7 https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M src/pkg/syscall/exec_bsd.go View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/pkg/syscall/exec_linux.go View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
10 years, 10 months ago (2013-06-29 11:57:02 UTC) #1
dvyukov
This depends on https://codereview.appspot.com/10783043/ which adds go:norace annotation.
10 years, 10 months ago (2013-06-29 12:00:30 UTC) #2
rsc
I am really unsure about this precedent. I don't want to see the library become ...
10 years, 10 months ago (2013-07-01 21:53:05 UTC) #3
rsc
I'd like, for now, to just look for syscall.forkAndExecInChild in src/cmd/gc/race.c and not annotate it. ...
10 years, 9 months ago (2013-07-11 17:50:12 UTC) #4
dvyukov
On 2013/07/11 17:50:12, rsc wrote: > I'd like, for now, to just look for syscall.forkAndExecInChild ...
10 years, 9 months ago (2013-07-16 09:44:18 UTC) #5
dvyukov
10 years, 9 months ago (2013-07-16 09:45:13 UTC) #6
*** Abandoned ***
Sign in to reply to this message.

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