summaryrefslogtreecommitdiff
path: root/sbin/mount_portal/activate.c
AgeCommit message (Collapse)Author
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis
2008-03-15Repair the simple cases for msg_controllen where it should just beTheo de Raadt
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because of alignment; ok kettenis hshoexer
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due toTheo de Raadt
an extensive discussion with otto, kettenis, millert, and hshoexer
2003-06-11ansificationTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
1998-08-06Can't use MSG_EOR with a stream socket.Constantine Sapuntzakis
Thanks to m4@m.nts.umn.edu (Marshall M. Midden)
1997-03-23Minor updates from lite2 + some KNF and strdup(3) checking.Todd C. Miller
Also, no need to change umask now that we use mkstemp(3).
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt