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

Issue 2331044: code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by albert.strasheim
Modified:
13 years, 4 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

syscall, net: Add Recvmsg and Sendmsg on Linux. Working on issue 1101.

Patch Set 1 #

Patch Set 2 : code review 2331044: Add recvmsg/sendmsg syscalls on Linux. #

Patch Set 3 : code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. #

Patch Set 4 : code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. #

Patch Set 5 : code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. #

Patch Set 6 : code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. #

Patch Set 7 : code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. #

Total comments: 7

Patch Set 8 : code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. #

Patch Set 9 : code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. #

Patch Set 10 : code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. #

Patch Set 11 : code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. #

Patch Set 12 : code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. #

Total comments: 3

Patch Set 13 : code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. #

Patch Set 14 : code review 2331044: syscall, net: Add Recvmsg and Sendmsg on Linux. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+326 lines, -5 lines) Patch
M src/pkg/net/fd.go View 3 4 5 6 7 8 2 chunks +71 lines, -0 lines 0 comments Download
M src/pkg/net/fd_windows.go View 13 1 chunk +8 lines, -0 lines 0 comments Download
M src/pkg/net/unixsock.go View 6 7 8 9 10 11 12 13 1 chunk +26 lines, -0 lines 0 comments Download
M src/pkg/syscall/mkerrors.sh View 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -1 line 0 comments Download
M src/pkg/syscall/syscall_bsd.go View 2 chunks +7 lines, -2 lines 0 comments Download
M src/pkg/syscall/syscall_linux.go View 1 2 3 4 5 6 7 8 9 2 chunks +66 lines, -2 lines 0 comments Download
M src/pkg/syscall/syscall_linux_386.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +22 lines, -0 lines 0 comments Download
M src/pkg/syscall/syscall_linux_amd64.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +14 lines, -0 lines 0 comments Download
M src/pkg/syscall/zerrors_linux_386.go View 3 4 5 6 7 8 9 10 11 12 13 3 chunks +45 lines, -0 lines 0 comments Download
M src/pkg/syscall/zerrors_linux_amd64.go View 3 4 5 6 7 8 9 10 11 12 13 3 chunks +45 lines, -0 lines 0 comments Download
M src/pkg/syscall/zsyscall_linux_amd64.go View 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 29
albert.strasheim
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change.
13 years, 6 months ago (2010-10-04 12:00:35 UTC) #1
albert.strasheim
Ping? Thanks.
13 years, 6 months ago (2010-10-07 21:42:00 UTC) #2
albert.strasheim
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 6 months ago (2010-10-08 07:52:48 UTC) #3
albert.strasheim
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 6 months ago (2010-10-12 06:44:41 UTC) #4
albert.strasheim
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 6 months ago (2010-10-12 07:06:27 UTC) #5
albert.strasheim
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 6 months ago (2010-10-12 08:32:34 UTC) #6
albert.strasheim
Hello all I've started writing tests to check the implementation of this API, but I ...
13 years, 6 months ago (2010-10-12 08:34:26 UTC) #7
rsc
> I've started writing tests to check the implementation of this API, but > I ...
13 years, 6 months ago (2010-10-12 13:23:15 UTC) #8
albert.strasheim
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 6 months ago (2010-10-12 16:26:46 UTC) #9
albert.strasheim
Hello all On 2010/10/12 16:26:46, albert.strasheim wrote: > Hello rsc (cc: mailto:golang-dev@googlegroups.com), > Please take ...
13 years, 6 months ago (2010-10-12 16:31:45 UTC) #10
rsc1
Looking pretty good. http://codereview.appspot.com/2331044/diff/28001/src/pkg/net/fd.go File src/pkg/net/fd.go (right): http://codereview.appspot.com/2331044/diff/28001/src/pkg/net/fd.go#newcode404 src/pkg/net/fd.go:404: func (fd *netFD) Recvmsg(p []byte, oob ...
13 years, 6 months ago (2010-10-12 17:55:33 UTC) #11
rsc
> I borrowed the trick of always sending at least 1 normal byte from here: ...
13 years, 6 months ago (2010-10-12 18:23:12 UTC) #12
albert.strasheim
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 6 months ago (2010-10-13 06:28:56 UTC) #13
albert.strasheim
Hello I've been doing more tests. Interesting things happen when one side closes the socket ...
13 years, 6 months ago (2010-10-13 15:30:31 UTC) #14
albert.strasheim
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 6 months ago (2010-10-14 05:39:17 UTC) #15
albert.strasheim
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 6 months ago (2010-10-20 09:11:19 UTC) #16
albert.strasheim
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2010-10-27 16:11:16 UTC) #17
albert.strasheim
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2010-10-27 16:13:29 UTC) #18
rsc1
http://codereview.appspot.com/2331044/diff/53001/src/pkg/net/unixsock_test.go File src/pkg/net/unixsock_test.go (right): http://codereview.appspot.com/2331044/diff/53001/src/pkg/net/unixsock_test.go#newcode15 src/pkg/net/unixsock_test.go:15: addr := "@unixsock_test" This will only work on Linux. ...
13 years, 5 months ago (2010-11-01 21:40:20 UTC) #19
albert.strasheim
Hello On 2010/11/01 21:40:20, rsc1 wrote: > http://codereview.appspot.com/2331044/diff/53001/src/pkg/net/unixsock_test.go > File src/pkg/net/unixsock_test.go (right): > > http://codereview.appspot.com/2331044/diff/53001/src/pkg/net/unixsock_test.go#newcode15 ...
13 years, 5 months ago (2010-11-02 08:13:15 UTC) #20
rsc
I would add const ( SCM_CREDENTIALS = SCM_CREDS SO_PASSCRED = LOCAL_PASSCRED ) to syscall_bsd.go. Russ
13 years, 5 months ago (2010-11-04 17:27:05 UTC) #21
albert.strasheim
Hello Russ On 2010/11/04 17:27:05, rsc wrote: > I would add > const ( > ...
13 years, 5 months ago (2010-11-05 12:25:07 UTC) #22
albert.strasheim
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2010-11-05 12:42:30 UTC) #23
rsc1
I'm trying to figure out where all the new non-SIO constants came from in the ...
13 years, 5 months ago (2010-11-05 19:03:33 UTC) #24
albert.strasheim
Hello Russ On 2010/11/05 19:03:33, rsc1 wrote: > I'm trying to figure out where all ...
13 years, 5 months ago (2010-11-07 10:14:36 UTC) #25
albert.strasheim
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2010-11-08 07:51:32 UTC) #26
albert.strasheim
Hello Russ On 2010/11/08 07:51:32, albert.strasheim wrote: > Hello rsc (cc: mailto:golang-dev@googlegroups.com), > > Please ...
13 years, 5 months ago (2010-11-08 07:52:57 UTC) #27
rsc
LGTM Testing on OS X and then will submit.
13 years, 4 months ago (2010-12-07 18:36:27 UTC) #28
rsc
13 years, 4 months ago (2010-12-07 18:40:18 UTC) #29
*** Submitted as 793cb11665ac ***

syscall, net: Add Recvmsg and Sendmsg on Linux.

Working on issue 1101.

R=rsc
CC=golang-dev
http://codereview.appspot.com/2331044

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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