Up to [cvs.NetBSD.org] / src / sys / sys
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: nick-csl-alignment
Revision 18.104.22.168 / (download) - annotate - [select for diffs], Mon Sep 3 10:24:01 2007 UTC (7 years ago) by skrll
Changes since 1.87: +4 -3 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)
Sync with HEAD.
Revision 1.87 / (download) - annotate - [select for diffs], Sun Jun 24 18:00:16 2007 UTC (7 years, 2 months ago) by dsl
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.86: +2 -1 lines
Diff to previous 1.86 (colored)
Split sys_getpeername() and sys_getsockname() so they can be called when the 'name' is wanted in kernel code. Similarly split sys_accept() and change the split in recvmsg() so that it is useful to the compat functions, recvit() is removed and replaced by do_sys_recvmsg(). Factor out the code that writes socked names to userspace (from mbuf) to avoid replicated code. Extract the code that writes socket 'control' (CMSG) data out to userspace, being more careful about the 'fd' that may exist inside SCM_RIGHTS msgs. (they still get lost if some of the latter copyout calls fail). Since these are new functions, and old LKMs will fail to load.