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

Issue 4256060: code review 4256060: syscall: implement Reboot for linux. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by danderson
Modified:
12 years, 10 months ago
Reviewers:
CC:
golang-dev, bradfitz, bradfitzgoog
Visibility:
Public.

Description

syscall: implement Reboot for linux. The published interface is the simple version of the syscall, allowing all reboot functions except for the esoteric LINUX_REBOOT_CMD_RESTART2.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -1 line) Patch
M src/pkg/syscall/mkerrors.sh View 1 2 chunks +3 lines, -0 lines 0 comments Download
M src/pkg/syscall/syscall_linux.go View 1 2 chunks +5 lines, -1 line 0 comments Download
M src/pkg/syscall/zerrors_linux_386.go View 1 1 chunk +10 lines, -0 lines 0 comments Download
M src/pkg/syscall/zerrors_linux_amd64.go View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M src/pkg/syscall/zerrors_linux_arm.go View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M src/pkg/syscall/zsyscall_linux_386.go View 1 1 chunk +8 lines, -0 lines 0 comments Download
M src/pkg/syscall/zsyscall_linux_amd64.go View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M src/pkg/syscall/zsyscall_linux_arm.go View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 7
danderson
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 1 month ago (2011-03-08 10:10:58 UTC) #1
bradfitz
LGTM
13 years, 1 month ago (2011-03-08 15:48:59 UTC) #2
bradfitz
Actually, this breaks the amd64 linux build (i.e. my laptop) make[1]: Entering directory `/home/bradfitz/go/src/pkg/syscall' 6g ...
13 years, 1 month ago (2011-03-08 15:54:55 UTC) #3
danderson
Correct, I didn't have an amd64 linux on hand last night, so couldn't regenerate the ...
13 years, 1 month ago (2011-03-08 18:55:59 UTC) #4
danderson
Patch expanded to include amd64 and arm z* files. Current HEAD is broken, but this ...
13 years, 1 month ago (2011-03-09 01:23:42 UTC) #5
bradfitzgoog
LGTM Builds on amd64 and 386 (with rsc's unsubmitted CL to fix amd64). arm build ...
13 years, 1 month ago (2011-03-09 13:44:47 UTC) #6
bradfitz
13 years, 1 month ago (2011-03-09 13:45:15 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=d6739b5a84c6 ***

syscall: implement Reboot for linux.

The published interface is the simple version of the syscall,
allowing all reboot functions except for the esoteric
LINUX_REBOOT_CMD_RESTART2.

R=golang-dev, bradfitzgo, bradfitzwork
CC=golang-dev
http://codereview.appspot.com/4256060

Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

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