PERFORCE change 164167 for review
Jonathan Anderson
jona at FreeBSD.org
Fri Jun 12 11:34:07 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=164167
Change 164167 by jona at jona-trustedbsd-belle-vm on 2009/06/12 11:33:05
Address must be NULL
Affected files ...
.. //depot/projects/trustedbsd/capabilities/src/tools/cap/user_angel/protocol.c#6 edit
Differences ...
==== //depot/projects/trustedbsd/capabilities/src/tools/cap/user_angel/protocol.c#6 (text+ko) ====
@@ -98,8 +98,8 @@
// sendmsg header
struct msghdr header;
- header.msg_name = (void*) name;
- header.msg_namelen = strlen(name);
+ header.msg_name = NULL;
+ header.msg_namelen = 0;
header.msg_iov = &iov;
header.msg_iovlen = 1;
header.msg_control = anc_hdr;
More information about the p4-projects
mailing list