Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.136 / (download) - annotate - [select for diffs], Sun Jun 26 16:42:43 2011 UTC (11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
HEAD
Changes since 1.135: +6 -4
lines
Diff to previous 1.135 (colored)
* Arrange for interfaces that create new file descriptors to be able to
set close-on-exec on creation (http://udrepper.livejournal.com/20407.html).
- Add F_DUPFD_CLOEXEC to fcntl(2).
- Add MSG_CMSG_CLOEXEC to recvmsg(2) for unix file descriptor passing.
- Add dup3(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
- Add pipe2(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
- Add flags SOCK_CLOEXEC, SOCK_NONBLOCK to the socket type parameter
for socket(2) and socketpair(2).
- Add new paccept(2) syscall that takes an additional sigset_t to alter
the sigmask temporarily and a flags argument to set SOCK_CLOEXEC,
SOCK_NONBLOCK.
- Add new mode character 'e' to fopen(3) and popen(3) to open pipes
and file descriptors for close on exec.
- Add new kqueue1(2) syscall with a new flags argument to open the
kqueue file descriptor with O_CLOEXEC, O_NONBLOCK.
* Fix the system calls that take socklen_t arguments to actually do so.
* Don't include userland header files (signal.h) from system header files
(rump_syscallargs.h).
* Bump libc version for the new syscalls.
Revision 1.134.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:20 2011 UTC (11 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.134: +7 -7
lines
Diff to previous 1.134 (colored) next main 1.135 (colored)
Catchup with rmind-uvmplock merge.
Revision 1.119.4.4 / (download) - annotate - [select for diffs], Sat Jun 18 16:42:04 2011 UTC (11 months, 1 week ago) by bouyer
Branch: netbsd-5
Changes since 1.119.4.3: +40 -10
lines
Diff to previous 1.119.4.3 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored)
Pull up following revision(s) (requested by manu in ticket #1633): sys/kern/uipc_domain.c: revision 1.86 sys/kern/uipc_usrreq.c: revision 1.134 sys/kern/uipc_proto.c: revision 1.22 Add SOCK_SEQPACKET to PL_LOCAL sockets. Based on patch from Jesse Off, submitted 8 years ago: http://mail-index.netbsd.org/tech-kern/2003/04/14/0006.html
Revision 1.135 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:56 2011 UTC (11 months, 2 weeks ago) by rmind
Branch: MAIN
Changes since 1.134: +7 -7
lines
Diff to previous 1.134 (colored)
Welcome to 5.99.53! Merge rmind-uvmplock branch: - Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock. - Simplify locking in some pmap(9) modules by removing P->V locking. - Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs). - Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns. - Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues. Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch.
Revision 1.133.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:40 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.133: +40 -10
lines
Diff to previous 1.133 (colored) next main 1.134 (colored)
Sync with HEAD.
Revision 1.129.2.4 / (download) - annotate - [select for diffs], Tue May 31 03:05:04 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.129.2.3: +38 -8
lines
Diff to previous 1.129.2.3 (colored) to branchpoint 1.129 (colored) next main 1.130 (colored)
sync with head
Revision 1.134 / (download) - annotate - [select for diffs], Sun May 29 03:32:46 2011 UTC (11 months, 4 weeks ago) by manu
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.133: +40 -10
lines
Diff to previous 1.133 (colored)
Add SOCK_SEQPACKET to PL_LOCAL sockets. Based on patch from Jesse Off, submitted 8 years ago: http://mail-index.netbsd.org/tech-kern/2003/04/14/0006.html
Revision 1.129.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:25 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.129.2.2: +31 -11
lines
Diff to previous 1.129.2.2 (colored) to branchpoint 1.129 (colored)
sync with head
Revision 1.133 / (download) - annotate - [select for diffs], Fri Nov 19 06:44:43 2010 UTC (18 months ago) by dholland
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.132: +29 -9
lines
Diff to previous 1.132 (colored)
Introduce struct pathbuf. This is an abstraction to hold a pathname and the metadata required to interpret it. Callers of namei must now create a pathbuf and pass it to NDINIT (instead of a string and a uio_seg), then destroy the pathbuf after the namei session is complete. Update all namei call sites accordingly. Add a pathbuf(9) man page and update namei(9). The pathbuf interface also now appears in a couple of related additional places that were passing string/uio_seg pairs that were later fed into NDINIT. Update other call sites accordingly.
Revision 1.128.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:31 2010 UTC (19 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.128.2.2: +2 -2
lines
Diff to previous 1.128.2.2 (colored) to branchpoint 1.128 (colored) next main 1.129 (colored)
Sync with HEAD (-D20101022).
Revision 1.132 / (download) - annotate - [select for diffs], Thu Oct 21 11:14:39 2010 UTC (19 months ago) by yamt
Branch: MAIN
CVS Tags: uebayasi-xip-base4,
uebayasi-xip-base3
Changes since 1.131: +3 -3
lines
Diff to previous 1.131 (colored)
unp_connect: fix an assertion
Revision 1.131 / (download) - annotate - [select for diffs], Thu Oct 21 11:13:43 2010 UTC (19 months ago) by yamt
Branch: MAIN
Changes since 1.130: +3 -3
lines
Diff to previous 1.130 (colored)
unp_connect2: fix a comment.
Revision 1.128.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:33 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.128.2.1: +1 -1
lines
Diff to previous 1.128.2.1 (colored) to branchpoint 1.128 (colored)
Sync with HEAD.
Revision 1.113.2.6 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:44 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.113.2.5: +3 -3
lines
Diff to previous 1.113.2.5 (colored) to branchpoint 1.113 (colored) next main 1.114 (colored)
sync with head.
Revision 1.129.2.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:55 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.129.2.1: +3 -3
lines
Diff to previous 1.129.2.1 (colored) to branchpoint 1.129 (colored)
sync with head
Revision 1.130 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:11 2010 UTC (23 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base2
Changes since 1.129: +3 -3
lines
Diff to previous 1.129 (colored)
Clean up vnode lock operations pass 2: VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument. Welcome to 5.99.32. Discussed on tech-kern.
Revision 1.128.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:13 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.128: +3 -3
lines
Diff to previous 1.128 (colored)
Sync with HEAD.
Revision 1.119.4.2.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:19 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Changes since 1.119.4.2: +20 -2
lines
Diff to previous 1.119.4.2 (colored) next main 1.119.4.3 (colored)
sync to netbsd-5
Revision 1.129.2.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:09 2010 UTC (2 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.129: +7 -7
lines
Diff to previous 1.129 (colored)
Change struct uvm_object::vmobjlock to be dynamically allocated with mutex_obj_alloc(). It allows us to share the locks among UVM objects.
Revision 1.113.2.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:20 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.113.2.4: +4 -4
lines
Diff to previous 1.113.2.4 (colored) to branchpoint 1.113 (colored)
sync with head
Revision 1.129 / (download) - annotate - [select for diffs], Tue Feb 9 23:05:16 2010 UTC (2 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.128: +3 -3
lines
Diff to previous 1.128 (colored)
Fix typo in comment.
Revision 1.128 / (download) - annotate - [select for diffs], Fri Jan 8 11:35:10 2010 UTC (2 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.127: +3 -3
lines
Diff to previous 1.127 (colored)
The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live years ago when the kernel was modified to not alter ABI based on DIAGNOSTIC, and now just call the respective function interfaces (in lowercase). Plenty of mix'n match upper/lowercase has creeped into the tree since then. Nuke the macros and convert all callsites to lowercase. no functional change
Revision 1.119.4.3 / (download) - annotate - [select for diffs], Sun Nov 8 21:47:45 2009 UTC (2 years, 6 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Changes since 1.119.4.2: +20 -2
lines
Diff to previous 1.119.4.2 (colored) to branchpoint 1.119 (colored)
Pull up following revision(s) (requested by bouyer in ticket #932): sys/kern/uipc_usrreq.c: revision 1.127 In uipc_usrreq(PRU_ACCEPT), grab the unp_streamlock before unp_setpeerlocks(). This fixes a race where, for a short period of time, so->so_lock and so2->so_lock are not sync. This makes solocked2() and solocked() unreliable and cause DIAGNOSTIC kernel panics. This also fixes a possible panic in unp_setaddr() which expects the socket locked. Should fix kern/38968, fix proposed in http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005863.html
Revision 1.113.2.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:01 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.113.2.3: +20 -2
lines
Diff to previous 1.113.2.3 (colored) to branchpoint 1.113 (colored)
sync with head
Revision 1.127 / (download) - annotate - [select for diffs], Wed Aug 26 22:34:47 2009 UTC (2 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
matt-premerge-20091211,
jym-xensuspend-nbase
Changes since 1.126: +20 -2
lines
Diff to previous 1.126 (colored)
In uipc_usrreq(PRU_ACCEPT), grab the unp_streamlock before unp_setpeerlocks(). This fixes a race where, for a short period of time, so->so_lock and so2->so_lock are not sync. This makes solocked2() and solocked() unreliable and cause DIAGNOSTIC kernel panics. This also fixes a possible panic in unp_setaddr() which expects the socket locked. Should fix kern/38968, fix proposed in http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005863.html
Revision 1.120.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:35 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.120.2.1: +3 -3
lines
Diff to previous 1.120.2.1 (colored) to branchpoint 1.120 (colored) next main 1.121 (colored)
Sync with HEAD.
Revision 1.113.2.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:32 2009 UTC (2 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.113.2.2: +3 -3
lines
Diff to previous 1.113.2.2 (colored) to branchpoint 1.113 (colored)
sync with head
Revision 1.126 / (download) - annotate - [select for diffs], Sun May 24 21:41:26 2009 UTC (3 years ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base
Changes since 1.125: +3 -3
lines
Diff to previous 1.125 (colored)
More changes to improve kern_descrip.c. - Avoid atomics in more places. - Remove the per-descriptor mutex, and just use filedesc_t::fd_lock. It was only being used to synchronize close, and in any case we needed to take fd_lock to free the descriptor slot. - Optimize certain paths for the <NDFDFILE case. - Sprinkle more comments and assertions. - Cache more stuff in filedesc_t. - Fix numerous minor bugs spotted along the way. - Restructure how the open files array is maintained, for clarity and so that we can eliminate the membar_consumer() call in fd_getfile(). This is mostly syntactic sugar; the main functional change is that fd_nfiles now lives alongside the open file array. Some measurements with libmicro: - simple file syscalls are like close() are between 1 to 10% faster. - some nice improvements, e.g. poll(1000) which is ~50% faster.
Revision 1.120.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:58 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.120: +270 -204
lines
Diff to previous 1.120 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.113.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:49 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.113.2.1: +294 -238
lines
Diff to previous 1.113.2.1 (colored) to branchpoint 1.113 (colored)
sync with head.
Revision 1.125 / (download) - annotate - [select for diffs], Mon May 4 06:02:40 2009 UTC (3 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
jym-xensuspend-base
Changes since 1.124: +11 -7
lines
Diff to previous 1.124 (colored)
tweak some assertions on so_head to make them more meaningful.
Revision 1.119.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:01 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.119.2.1: +261 -199
lines
Diff to previous 1.119.2.1 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored)
Sync with HEAD.
Revision 1.80.2.2.2.4 / (download) - annotate - [select for diffs], Tue Apr 14 09:02:52 2009 UTC (3 years, 1 month ago) by jdc
Branch: netbsd-3-1
Changes since 1.80.2.2.2.3: +18 -18
lines
Diff to previous 1.80.2.2.2.3 (colored) to branchpoint 1.80.2.2 (colored) next main 1.80.2.3 (colored)
Apply patch (requested by mlelstv in ticket #2005): Fix a problem with a failure path (see PR kern/38391).
Revision 1.80.2.1.2.4 / (download) - annotate - [select for diffs], Tue Apr 14 09:02:40 2009 UTC (3 years, 1 month ago) by jdc
Branch: netbsd-3-0
Changes since 1.80.2.1.2.3: +18 -18
lines
Diff to previous 1.80.2.1.2.3 (colored) to branchpoint 1.80.2.1 (colored) next main 1.80.2.2 (colored)
Apply patch (requested by mlelstv in ticket #2005): Fix a problem with a failure path (see PR kern/38391).
Revision 1.80.2.6 / (download) - annotate - [select for diffs], Tue Apr 14 09:02:25 2009 UTC (3 years, 1 month ago) by jdc
Branch: netbsd-3
Changes since 1.80.2.5: +18 -18
lines
Diff to previous 1.80.2.5 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)
Apply patch (requested by mlelstv in ticket #2005): Fix a problem with a failure path (see PR kern/38391).
Revision 1.80.2.2.2.3 / (download) - annotate - [select for diffs], Tue Apr 14 08:50:51 2009 UTC (3 years, 1 month ago) by jdc
Branch: netbsd-3-1
Changes since 1.80.2.2.2.2: +3 -3
lines
Diff to previous 1.80.2.2.2.2 (colored) to branchpoint 1.80.2.2 (colored)
Fix build problem introduced in ticket #2004 (with patch from mlelstv@).
Revision 1.80.2.1.2.3 / (download) - annotate - [select for diffs], Tue Apr 14 08:50:41 2009 UTC (3 years, 1 month ago) by jdc
Branch: netbsd-3-0
Changes since 1.80.2.1.2.2: +3 -3
lines
Diff to previous 1.80.2.1.2.2 (colored) to branchpoint 1.80.2.1 (colored)
Fix build problem introduced in ticket #2004 (with patch from mlelstv@).
Revision 1.80.2.5 / (download) - annotate - [select for diffs], Tue Apr 14 08:50:29 2009 UTC (3 years, 1 month ago) by jdc
Branch: netbsd-3
Changes since 1.80.2.4: +3 -3
lines
Diff to previous 1.80.2.4 (colored) to branchpoint 1.80 (colored)
Fix build problem introduced in ticket #2004 (with patch from mlelstv@).
Revision 1.80.2.2.2.2 / (download) - annotate - [select for diffs], Sat Apr 11 06:24:23 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-3-1
Changes since 1.80.2.2.2.1: +36 -2
lines
Diff to previous 1.80.2.2.2.1 (colored) to branchpoint 1.80.2.2 (colored)
Apply patch (requested by mlelstv in ticket #2004): Avoid deep recursion and file descriptor exhaustion. 1. unp_detach: go not call unp_gc directly for descriptors that are unixdomain sockets themselves. Instead mark them for cleanup during garbage collection. 2. unp_gc: handle detach of descriptors that were marked earlier. 3. prohibit transfer of descriptors within SCM_RIGHTS messages if (num_files_in_transit > maxfiles / unp_rights_ratio)
Revision 1.80.2.1.2.2 / (download) - annotate - [select for diffs], Sat Apr 11 06:21:23 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-3-0
Changes since 1.80.2.1.2.1: +36 -2
lines
Diff to previous 1.80.2.1.2.1 (colored) to branchpoint 1.80.2.1 (colored)
Apply patch (requested by mlelstv in ticket #2004): Avoid deep recursion and file descriptor exhaustion. 1. unp_detach: go not call unp_gc directly for descriptors that are unixdomain sockets themselves. Instead mark them for cleanup during garbage collection. 2. unp_gc: handle detach of descriptors that were marked earlier. 3. prohibit transfer of descriptors within SCM_RIGHTS messages if (num_files_in_transit > maxfiles / unp_rights_ratio)
Revision 1.80.2.4 / (download) - annotate - [select for diffs], Sat Apr 11 06:18:20 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-3
Changes since 1.80.2.3: +36 -2
lines
Diff to previous 1.80.2.3 (colored) to branchpoint 1.80 (colored)
Apply patch (requested by mlelstv in ticket #2004): Avoid deep recursion and file descriptor exhaustion. 1. unp_detach: go not call unp_gc directly for descriptors that are unixdomain sockets themselves. Instead mark them for cleanup during garbage collection. 2. unp_gc: handle detach of descriptors that were marked earlier. 3. prohibit transfer of descriptors within SCM_RIGHTS messages if (num_files_in_transit > maxfiles / unp_rights_ratio)
Revision 1.94.2.1.4.1 / (download) - annotate - [select for diffs], Fri Apr 10 20:35:24 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-4-0
Changes since 1.94.2.1: +36 -2
lines
Diff to previous 1.94.2.1 (colored) next main 1.94.2.2 (colored)
Apply patch (requested by mlelstv in ticket #1303): Avoid deep recursion and file descriptor exhaustion. 1. unp_detach: go not call unp_gc directly for descriptors that are unixdomain sockets themselves. Instead mark them for cleanup during garbage collection. 2. unp_gc: handle detach of descriptors that were marked earlier. 3. prohibit transfer of descriptors within SCM_RIGHTS messages if (num_files_in_transit > maxfiles / unp_rights_ratio)
Revision 1.94.2.3 / (download) - annotate - [select for diffs], Fri Apr 10 20:32:04 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-4
Changes since 1.94.2.2: +36 -2
lines
Diff to previous 1.94.2.2 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)
Apply patch (requested by mlelstv in ticket #1303): Avoid deep recursion and file descriptor exhaustion. 1. unp_detach: go not call unp_gc directly for descriptors that are unixdomain sockets themselves. Instead mark them for cleanup during garbage collection. 2. unp_gc: handle detach of descriptors that were marked earlier. 3. prohibit transfer of descriptors within SCM_RIGHTS messages if (num_files_in_transit > maxfiles / unp_rights_ratio)
Revision 1.124 / (download) - annotate - [select for diffs], Thu Apr 9 00:57:15 2009 UTC (3 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Changes since 1.123: +3 -3
lines
Diff to previous 1.123 (colored)
0 -> NULL
Revision 1.123 / (download) - annotate - [select for diffs], Thu Apr 9 00:44:32 2009 UTC (3 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.122: +3 -3
lines
Diff to previous 1.122 (colored)
remove an unnecessary cast.
Revision 1.122 / (download) - annotate - [select for diffs], Thu Apr 9 00:37:32 2009 UTC (3 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.121: +6 -6
lines
Diff to previous 1.121 (colored)
0 -> NULL where appropriate
Revision 1.119.4.2 / (download) - annotate - [select for diffs], Wed Mar 18 05:33:23 2009 UTC (3 years, 2 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.119.4.1: +255 -193
lines
Diff to previous 1.119.4.1 (colored) to branchpoint 1.119 (colored)
Pull up following revision(s) (requested by mrg in ticket #577): sys/kern/kern_descrip.c: revision 1.188 sys/kern/uipc_usrreq.c: revision 1.121 sys/sys/fcntl.h: revision 1.35 sys/sys/file.h: revision 1.66 sys/sys/param.h: patch sys/sys/un.h: revision 1.45 completely rework the way that orphaned sockets that are being fdpassed via SCM_RIGHTS messages are dealt with: 1. unp_gc: make this a kthread. 2. unp_detach: go not call unp_gc directly. instead, wake up unp_gc kthread. 3. unp_scan: do not close files here. instead, put them on a global list for unp_gc to close, along with a per-file "deferred close count". if file is already enqueued for close, just increment deferred close count. this eliminates the recursive calls. 3. unp_gc: scan files on global deferred close list. close each file N times, as specified by deferred close count in file. continue processing list until it becomes empty (closing may cause additional files to be queued for close). 4. unp_gc: add additional bit to mark files we are scanning. set during initial scan of global file list that currently clears FMARK/FDEFER. during later scans, never examine / garbage collect descriptors that we have not marked during the earlier scan. do not proceed with this initial scan until all deferred closes have been processed. be careful with locking to ensure no races are introduced between deferred close and file scan. 5. unp_gc: use dummy file_t to mark position in list when scanning. allow us to drop filelist_lock. in turn allows us to eliminate kmem_alloc() and safely close files, etc. 6. prohibit transfer of descriptors within SCM_RIGHTS messages if (num_files_in_transit > maxfiles / unp_rights_ratio) 7. fd_allocfile: ensure recycled filse don't get scanned. this is 97% work done by andrew doran, with a couple of minor bug fixes and a lot of testing by yours truly.
Revision 1.121 / (download) - annotate - [select for diffs], Wed Mar 11 06:05:29 2009 UTC (3 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.120: +255 -193
lines
Diff to previous 1.120 (colored)
completely rework the way that orphaned sockets that are being fdpassed via SCM_RIGHTS messages are dealt with: 1. unp_gc: make this a kthread. 2. unp_detach: go not call unp_gc directly. instead, wake up unp_gc kthread. 3. unp_scan: do not close files here. instead, put them on a global list for unp_gc to close, along with a per-file "deferred close count". if file is already enqueued for close, just increment deferred close count. this eliminates the recursive calls. 3. unp_gc: scan files on global deferred close list. close each file N times, as specified by deferred close count in file. continue processing list until it becomes empty (closing may cause additional files to be queued for close). 4. unp_gc: add additional bit to mark files we are scanning. set during initial scan of global file list that currently clears FMARK/FDEFER. during later scans, never examine / garbage collect descriptors that we have not marked during the earlier scan. do not proceed with this initial scan until all deferred closes have been processed. be careful with locking to ensure no races are introduced between deferred close and file scan. 5. unp_gc: use dummy file_t to mark position in list when scanning. allow us to drop filelist_lock. in turn allows us to eliminate kmem_alloc() and safely close files, etc. 6. prohibit transfer of descriptors within SCM_RIGHTS messages if (num_files_in_transit > maxfiles / unp_rights_ratio) 7. fd_allocfile: ensure recycled filse don't get scanned. this is 97% work done by andrew doran, with a couple of minor bug fixes and a lot of testing by yours truly.
Revision 1.119.2.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:57 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.119: +3 -3
lines
Diff to previous 1.119 (colored)
Sync with HEAD.
Revision 1.119.4.1 / (download) - annotate - [select for diffs], Mon Feb 16 03:31:13 2009 UTC (3 years, 3 months ago) by snj
Branch: netbsd-5
Changes since 1.119: +3 -3
lines
Diff to previous 1.119 (colored)
Pull up following revision(s) (requested by pooka in ticket #433): sys/kern/uipc_usrreq.c: revision 1.120 Don't try to fd_putfile() descriptors we didn't manage to fd_getfile(). Fixes local DoS panic described in kern/40570.
Revision 1.120 / (download) - annotate - [select for diffs], Sun Feb 8 16:38:12 2009 UTC (3 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.119: +3 -3
lines
Diff to previous 1.119 (colored)
Don't try to fd_putfile() descriptors we didn't manage to fd_getfile(). Fixes local DoS panic described in kern/40570.
Revision 1.105.6.5 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:20 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.105.6.4: +1 -0
lines
Diff to previous 1.105.6.4 (colored) to branchpoint 1.105 (colored) next main 1.106 (colored)
Sync with HEAD.
Revision 1.117.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:29 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.117: +20 -31
lines
Diff to previous 1.117 (colored) next main 1.118 (colored)
Sync with HEAD.
Revision 1.119 / (download) - annotate - [select for diffs], Sat Oct 11 13:40:57 2008 UTC (3 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
mjf-devfs2-base,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
netbsd-5
Changes since 1.118: +3 -2
lines
Diff to previous 1.118 (colored)
Move uidinfo to its own module in kern_uidinfo.c and include in rump. No functional change to uidinfo.
Revision 1.105.6.4 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:54 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.105.6.3: +17 -29
lines
Diff to previous 1.105.6.3 (colored) to branchpoint 1.105 (colored)
Sync with HEAD.
Revision 1.114.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:31:44 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.114.2.1: +19 -31
lines
Diff to previous 1.114.2.1 (colored) to branchpoint 1.114 (colored) next main 1.115 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.118 / (download) - annotate - [select for diffs], Wed Aug 6 15:01:23 2008 UTC (3 years, 9 months ago) by plunky
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2
Changes since 1.117: +19 -31
lines
Diff to previous 1.117 (colored)
Convert socket options code to use a sockopt structure instead of laying everything into an mbuf. approved by core
Revision 1.105.6.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:14 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.105.6.2: +5 -4
lines
Diff to previous 1.105.6.2 (colored) to branchpoint 1.105 (colored)
Sync with HEAD.
Revision 1.114.4.2 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:39 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.114.4.1: +4 -3
lines
Diff to previous 1.114.4.1 (colored) to branchpoint 1.114 (colored) next main 1.115 (colored)
Sync with head.
Revision 1.114.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:52 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.114: +7 -6
lines
Diff to previous 1.114 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.117 / (download) - annotate - [select for diffs], Fri Jun 20 15:27:50 2008 UTC (3 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.116: +4 -3
lines
Diff to previous 1.116 (colored)
Also enforce that cm->cmsg_len >= CMSG_ALIGN(sizeof cmsghdr), from Michael van Elst
Revision 1.116 / (download) - annotate - [select for diffs], Fri Jun 20 15:18:38 2008 UTC (3 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.115: +3 -3
lines
Diff to previous 1.115 (colored)
Don't require cm->cmsg_len == control->m_len, just that the cm->cmsg_len <= control->m_len, like FreeBSD does. Idea from Taylor R Campbell.
Revision 1.114.4.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:35 2008 UTC (3 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.114: +5 -5
lines
Diff to previous 1.114 (colored)
Sync with head.
Revision 1.109.2.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:03 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.109.2.1: +5 -5
lines
Diff to previous 1.109.2.1 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored)
sync with head.
Revision 1.115 / (download) - annotate - [select for diffs], Tue Jun 10 11:49:11 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4
Changes since 1.114: +5 -5
lines
Diff to previous 1.114 (colored)
There can be existing waiters on a socket's condition variables when we change socket::so_lock, and they rely on the old lock to synchronize. Wake them up whenever we change so_lock so they can restart their waits.
Revision 1.94.8.2 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:41 2008 UTC (3 years, 11 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.94.8.1: +18 -18
lines
Diff to previous 1.94.8.1 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)
Sync with netbsd-4.
Revision 1.105.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:14 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.105.6.1: +401 -118
lines
Diff to previous 1.105.6.1 (colored) to branchpoint 1.105 (colored)
Sync with HEAD.
Revision 1.94.2.2 / (download) - annotate - [select for diffs], Sun May 25 19:04:43 2008 UTC (4 years ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base
Changes since 1.94.2.1: +16 -16
lines
Diff to previous 1.94.2.1 (colored) to branchpoint 1.94 (colored)
Pull up following revision(s) (requested by mlelstv in ticket #1151): sys/kern/uipc_usrreq.c: revision 1.110, 1.111 via patch If cm->cmsg_len is not valid for unp_internalize do not use it to work out where the data is in unp_scan. Fixes PR/38391
Revision 1.109.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:11 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.109: +403 -120
lines
Diff to previous 1.109 (colored)
sync with head.
Revision 1.113.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:28 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.113: +2 -9
lines
Diff to previous 1.113 (colored)
sync with head.
Revision 1.114 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:05 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
simonb-wapbl
Changes since 1.113: +2 -9
lines
Diff to previous 1.113 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.113 / (download) - annotate - [select for diffs], Sun Apr 27 11:29:12 2008 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.112: +3 -2
lines
Diff to previous 1.112 (colored)
Add a comment.
Revision 1.112 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:36 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.111: +388 -99
lines
Diff to previous 1.111 (colored)
Merge the socket locking patch: - Socket layer becomes MP safe. - Unix protocols become MP safe. - Allows protocol processing interrupts to safely block on locks. - Fixes a number of race conditions. With much feedback from matt@ and plunky@.
Revision 1.111 / (download) - annotate - [select for diffs], Sun Apr 20 07:47:18 2008 UTC (4 years, 1 month ago) by mlelstv
Branch: MAIN
Changes since 1.110: +17 -18
lines
Diff to previous 1.110 (colored)
When unp_internalize fails (due to the sanity check or an out-of-memory condition), it leaves the control message with file descriptors. Calling unp_dispose() will interpret the message as containing file pointers and crash the system. This change removes unp_dispose() from this failure path and avoids using goto to jump into switch statements... The previous workaround to ignore such messages in unp_scan() is removed.
Revision 1.110 / (download) - annotate - [select for diffs], Sat Apr 19 22:26:52 2008 UTC (4 years, 1 month ago) by mjf
Branch: MAIN
Changes since 1.109: +4 -3
lines
Diff to previous 1.109 (colored)
If cm->cmsg_len is not valid for unp_internalize do not use it to work out where the data is in unp_scan. Fixes PR/38391
Revision 1.105.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:05 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.105: +170 -152
lines
Diff to previous 1.105 (colored)
Sync with HEAD.
Revision 1.109 / (download) - annotate - [select for diffs], Fri Mar 28 12:14:22 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.108: +24 -3
lines
Diff to previous 1.108 (colored)
Prevent overlapping calls to bind() and/or connect() on a Unix socket.
Revision 1.108 / (download) - annotate - [select for diffs], Mon Mar 24 12:24:37 2008 UTC (4 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: ad-socklock-base1
Changes since 1.107: +9 -6
lines
Diff to previous 1.107 (colored)
merge yamt-lazymbuf branch.
Revision 1.83.2.10 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:02 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.9: +143 -150
lines
Diff to previous 1.83.2.9 (colored) next main 1.84 (colored)
sync with head.
Revision 1.99.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:01 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.99.2.2: +2 -3
lines
Diff to previous 1.99.2.2 (colored) to branchpoint 1.99 (colored) next main 1.100 (colored)
sync with HEAD
Revision 1.107 / (download) - annotate - [select for diffs], Fri Mar 21 23:38:40 2008 UTC (4 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14
Changes since 1.106: +8 -4
lines
Diff to previous 1.106 (colored)
unp_gc: unlock filelist_lock in a case of restart.
Revision 1.106 / (download) - annotate - [select for diffs], Fri Mar 21 21:55:00 2008 UTC (4 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.105: +137 -147
lines
Diff to previous 1.105 (colored)
Catch up with descriptor handling changes. See kern_descrip.c revision 1.173 for details.
Revision 1.101.4.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:48 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.101.4.2: +18 -19
lines
Diff to previous 1.101.4.2 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)
Sync with HEAD.
Revision 1.83.2.9 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:21 2008 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.8: +2 -3
lines
Diff to previous 1.83.2.8 (colored)
sync with head.
Revision 1.105 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:14 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base
Branch point for: mjf-devfs2
Changes since 1.104: +2 -3
lines
Diff to previous 1.104 (colored)
Remove VOP_LEASE. Discussed on tech-kern.
Revision 1.83.2.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:30 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.7: +21 -20
lines
Diff to previous 1.83.2.7 (colored)
sync with head
Revision 1.99.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:29 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.99.2.1: +23 -22
lines
Diff to previous 1.99.2.1 (colored) to branchpoint 1.99 (colored)
sync with HEAD
Revision 1.103.4.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:45 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.103: +18 -18
lines
Diff to previous 1.103 (colored) next main 1.104 (colored)
Sync with HEAD
Revision 1.104 / (download) - annotate - [select for diffs], Sat Jan 5 19:08:49 2008 UTC (4 years, 4 months ago) by dsl
Branch: MAIN
CVS Tags: matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Changes since 1.103: +18 -18
lines
Diff to previous 1.103 (colored)
Use FILE_LOCK() and FILE_UNLOCK()
Revision 1.101.4.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:17 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.101.4.1: +5 -4
lines
Diff to previous 1.101.4.1 (colored) to branchpoint 1.101 (colored)
Sync with HEAD.
Revision 1.102.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:57:16 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.102: +5 -4
lines
Diff to previous 1.102 (colored) next main 1.103 (colored)
Sync with head.
Revision 1.97.6.6 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:28 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.97.6.5: +5 -4
lines
Diff to previous 1.97.6.5 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)
Sync with HEAD.
Revision 1.103 / (download) - annotate - [select for diffs], Sat Dec 8 19:29:49 2007 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.102: +5 -4
lines
Diff to previous 1.102 (colored)
Remove cn_lwp from struct componentname. curlwp should be used from on. The NDINIT() macro no longer takes the lwp parameter and associates the credentials of the calling thread with the namei structure.
Revision 1.101.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:43 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.101: +4 -4
lines
Diff to previous 1.101 (colored)
Sync with HEAD.
Revision 1.83.2.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:33:19 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.6: +4 -4
lines
Diff to previous 1.83.2.6 (colored)
sync with head
Revision 1.97.6.5 / (download) - annotate - [select for diffs], Tue Nov 27 19:38:16 2007 UTC (4 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.97.6.4: +4 -4
lines
Diff to previous 1.97.6.4 (colored) to branchpoint 1.97 (colored)
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.102 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:05 2007 UTC (4 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base
Branch point for: vmlocking2
Changes since 1.101: +4 -4
lines
Diff to previous 1.101 (colored)
Remove the "struct lwp *" argument from all VFS and VOP interfaces. The general trend is to remove it from all kernel interfaces and this is a start. In case the calling lwp is desired, curlwp should be used. quick consensus on tech-kern
Revision 1.99.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:32:45 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.99: +54 -30
lines
Diff to previous 1.99 (colored)
sync with HEAD
Revision 1.95.2.6 / (download) - annotate - [select for diffs], Mon Nov 5 17:20:34 2007 UTC (4 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.95.2.5: +3 -3
lines
Diff to previous 1.95.2.5 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored)
Fix merge error.
Revision 1.83.2.6 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:39 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.5: +54 -30
lines
Diff to previous 1.83.2.5 (colored)
sync with head.
Revision 1.97.6.4 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:44 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.97.6.3: +53 -29
lines
Diff to previous 1.97.6.3 (colored) to branchpoint 1.97 (colored)
Sync with HEAD. Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
Revision 1.100.2.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:48 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.100: +53 -29
lines
Diff to previous 1.100 (colored) next main 1.101 (colored)
sync with head.
Revision 1.101 / (download) - annotate - [select for diffs], Mon Oct 8 15:12:08 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs
Changes since 1.100: +53 -29
lines
Diff to previous 1.100 (colored)
Merge file descriptor locking, cwdi locking and cross-call changes from the vmlocking branch.
Revision 1.97.6.3 / (download) - annotate - [select for diffs], Tue Oct 2 18:29:07 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.97.6.2: +3 -3
lines
Diff to previous 1.97.6.2 (colored) to branchpoint 1.97 (colored)
Sync with HEAD.
Revision 1.100 / (download) - annotate - [select for diffs], Wed Sep 19 06:23:53 2007 UTC (4 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-x86pmap-base2,
yamt-x86pmap-base
Branch point for: yamt-x86pmap
Changes since 1.99: +3 -3
lines
Diff to previous 1.99 (colored)
Make uipc_ctloutput() return ENOPROTOOPT instead of EINVAL when it is passed a handle socket-option level that it does not care about.
Revision 1.83.2.5 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:20 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.4: +44 -30
lines
Diff to previous 1.83.2.4 (colored)
sync with head.
Revision 1.94.8.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:05:03 2007 UTC (4 years, 8 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.94: +7 -3
lines
Diff to previous 1.94 (colored)
Sync w/ NetBSD-4-RC_1
Revision 1.80.2.1.2.1 / (download) - annotate - [select for diffs], Sun Aug 26 20:27:40 2007 UTC (4 years, 9 months ago) by bouyer
Branch: netbsd-3-0
Changes since 1.80.2.1: +5 -1
lines
Diff to previous 1.80.2.1 (colored)
Pull up following revision(s) (requested by martin in ticket #1820): sys/kern/uipc_usrreq.c: revision 1.98 PR kern/32842: do not leak file descriptors when sending a datagram with SCM_RIGHTS fails. Patch from Gary Thorpe, based on changes in FreeBSD and work from Christian Biere.
Revision 1.80.2.2.2.1 / (download) - annotate - [select for diffs], Sun Aug 26 20:27:33 2007 UTC (4 years, 9 months ago) by bouyer
Branch: netbsd-3-1
Changes since 1.80.2.2: +5 -1
lines
Diff to previous 1.80.2.2 (colored)
Pull up following revision(s) (requested by martin in ticket #1820): sys/kern/uipc_usrreq.c: revision 1.98 PR kern/32842: do not leak file descriptors when sending a datagram with SCM_RIGHTS fails. Patch from Gary Thorpe, based on changes in FreeBSD and work from Christian Biere.
Revision 1.80.2.3 / (download) - annotate - [select for diffs], Sun Aug 26 20:27:07 2007 UTC (4 years, 9 months ago) by bouyer
Branch: netbsd-3
Changes since 1.80.2.2: +5 -1
lines
Diff to previous 1.80.2.2 (colored) to branchpoint 1.80 (colored)
Pull up following revision(s) (requested by martin in ticket #1820): sys/kern/uipc_usrreq.c: revision 1.98 PR kern/32842: do not leak file descriptors when sending a datagram with SCM_RIGHTS fails. Patch from Gary Thorpe, based on changes in FreeBSD and work from Christian Biere.
Revision 1.94.2.1 / (download) - annotate - [select for diffs], Tue Aug 21 19:33:57 2007 UTC (4 years, 9 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-base-1,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
matt-nb4-arm-base,
matt-nb4-arm
Branch point for: netbsd-4-0
Changes since 1.94: +7 -3
lines
Diff to previous 1.94 (colored)
Pull up following revision(s) (requested by martin in ticket #810): sys/kern/uipc_usrreq.c: revision 1.98 PR kern/32842: do not leak file descriptors when sending a datagram with SCM_RIGHTS fails. Patch from Gary Thorpe, based on changes in FreeBSD and work from Christian Biere.
Revision 1.95.2.5 / (download) - annotate - [select for diffs], Mon Aug 20 21:27:42 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.95.2.4: +33 -9
lines
Diff to previous 1.95.2.4 (colored) to branchpoint 1.95 (colored)
Sync with HEAD.
Revision 1.97.6.2 / (download) - annotate - [select for diffs], Thu Aug 16 11:03:41 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.97.6.1: +28 -8
lines
Diff to previous 1.97.6.1 (colored) to branchpoint 1.97 (colored)
Sync with HEAD.
Revision 1.97.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:19 2007 UTC (4 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.97: +33 -9
lines
Diff to previous 1.97 (colored) next main 1.98 (colored)
Sync with HEAD.
Revision 1.99 / (download) - annotate - [select for diffs], Thu Aug 9 15:23:02 2007 UTC (4 years, 9 months ago) by he
Branch: MAIN
CVS Tags: nick-csl-alignment-base5
Branch point for: matt-armv6
Changes since 1.98: +28 -8
lines
Diff to previous 1.98 (colored)
Add a new socket option for unix domain sockets: LOCAL_PEEREID, to make it possible to get the pid, euid and egid of the process at the remote end at the time it did bind() or connect(). Add a new libc function, getpeereid() to easily get at the euid and egid. As a consequence, bump libc's minor number. Document the LOCAL_PEEREID socket option in unix(4). Based on contribution by Arne H. Juul, minor modifications by myself.
Revision 1.97.6.1 / (download) - annotate - [select for diffs], Sat Aug 4 12:33:16 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.97: +7 -3
lines
Diff to previous 1.97 (colored)
Sync with HEAD.
Revision 1.98.2.2 / (download) - annotate - [select for diffs], Fri Aug 3 20:49:46 2007 UTC (4 years, 9 months ago) by martin
Branch: matt-mips64
Changes since 1.98.2.1: +1355 -0
lines
Diff to previous 1.98.2.1 (colored) to branchpoint 1.98 (colored) next main 1.99 (colored)
PR kern/32842: do not leak file descriptors when sending a datagram with SCM_RIGHTS fails. Patch from Gary Thorpe, based on changes in FreeBSD and work from Christian Biere.
Revision 1.98.2.1, Fri Aug 3 20:49:45 2007 UTC (4 years, 9 months ago) by martin
Branch: matt-mips64
Changes since 1.98: +0 -1355
lines
FILE REMOVED
file uipc_usrreq.c was added on branch matt-mips64 on 2007-08-03 20:49:46 +0000
Revision 1.98 / (download) - annotate - [select for diffs], Fri Aug 3 20:49:45 2007 UTC (4 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: matt-mips64-base
Branch point for: matt-mips64
Changes since 1.97: +7 -3
lines
Diff to previous 1.97 (colored)
PR kern/32842: do not leak file descriptors when sending a datagram with SCM_RIGHTS fails. Patch from Gary Thorpe, based on changes in FreeBSD and work from Christian Biere.
Revision 1.95.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:21 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.95: +7 -17
lines
Diff to previous 1.95 (colored) next main 1.96 (colored)
Sync with head.
Revision 1.95.2.4 / (download) - annotate - [select for diffs], Fri Jun 8 14:17:28 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.95.2.3: +4 -4
lines
Diff to previous 1.95.2.3 (colored) to branchpoint 1.95 (colored)
Sync with head.
Revision 1.94.4.3 / (download) - annotate - [select for diffs], Mon May 7 10:55:49 2007 UTC (5 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.94.4.2: +4 -4
lines
Diff to previous 1.94.4.2 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)
sync with head.
Revision 1.97 / (download) - annotate - [select for diffs], Sun Apr 22 08:30:00 2007 UTC (5 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
nick-csl-alignment-base,
mjf-ufs-trans-base,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
jmcneill-pm
Changes since 1.96: +4 -4
lines
Diff to previous 1.96 (colored)
Change the way that emulations locate files within the emulation root to avoid having to allocate space in the 'stackgap' - which is very LWP unfriendly. The additional code for non-emulation namei() is trivial, the reduction for the emulations is massive. The vnode for a processes emulation root is saved in the cwdi structure during process exec. If the emulation root the TRYEMULROOT flag are set, namei() will do an initial search for absolute pathnames in the emulation root, if that fails it will retry from the normal root. ".." at the emulation root will always go to the real root, even in the middle of paths and when expanding symlinks. Absolute symlinks found using absolute paths in the emulation root will be relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links inside the emulation root don't need changing). If the root of the emulation would be returned (for an emulation lookup), then the real root is returned instead (matching the behaviour of emul_lookup, but being a cheap comparison here) so that programs that scan "../.." looking for the root dircetory don't loop forever. The target for symbolic links is no longer mangled (it used to get the CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended). CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding TRYEMULROOT to the flags to NDINIT(). A lot of the emulation system call stubs could now be deleted.
Revision 1.94.4.2 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:53 2007 UTC (5 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.94.4.1: +5 -15
lines
Diff to previous 1.94.4.1 (colored) to branchpoint 1.94 (colored)
sync with head.
Revision 1.95.2.3 / (download) - annotate - [select for diffs], Thu Apr 12 23:14:20 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.95.2.2: +40 -19
lines
Diff to previous 1.95.2.2 (colored) to branchpoint 1.95 (colored)
Put some locking around the file descriptor operations. Incomplete.
Revision 1.95.2.2 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:42 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.95.2.1: +5 -15
lines
Diff to previous 1.95.2.1 (colored) to branchpoint 1.95 (colored)
Sync with head.
Revision 1.96 / (download) - annotate - [select for diffs], Tue Apr 3 16:11:31 2007 UTC (5 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: thorpej-atomic-base,
thorpej-atomic
Changes since 1.95: +5 -15
lines
Diff to previous 1.95 (colored)
Remove calls to now obsolete vn_start_write() and vn_finished_write().
Revision 1.95.2.1 / (download) - annotate - [select for diffs], Wed Mar 21 20:11:54 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.95: +15 -12
lines
Diff to previous 1.95 (colored)
- Replace more simple_locks, and fix up in a few places. - Use condition variables. - LOCK_ASSERT -> KASSERT.
Revision 1.94.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:45 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.94: +8 -8
lines
Diff to previous 1.94 (colored)
Sync with HEAD.
Revision 1.95 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:11 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Changes since 1.94: +8 -8
lines
Diff to previous 1.94 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.83.2.4 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:07 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.3: +26 -23
lines
Diff to previous 1.83.2.3 (colored)
sync with head.
Revision 1.93.4.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:46 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.93: +6 -6
lines
Diff to previous 1.93 (colored) next main 1.94 (colored)
sync with head.
Revision 1.93.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:23 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.93: +6 -6
lines
Diff to previous 1.93 (colored) next main 1.94 (colored)
Sync with head.
Revision 1.94 / (download) - annotate - [select for diffs], Wed Nov 1 11:37:59 2006 UTC (5 years, 6 months ago) by cbiere
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp,
wrstuden-fixsa,
netbsd-4
Changes since 1.93: +6 -6
lines
Diff to previous 1.93 (colored)
Pointing one element past an array is fine, pointing before it isn't.
Revision 1.87.2.3 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:48 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.87.2.2: +6 -3
lines
Diff to previous 1.87.2.2 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)
sync with head.
Revision 1.86.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:17 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.86: +36 -23
lines
Diff to previous 1.86 (colored) next main 1.87 (colored)
sync with head
Revision 1.80.2.2 / (download) - annotate - [select for diffs], Fri Sep 8 10:38:10 2006 UTC (5 years, 8 months ago) by ghen
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-1-RELEASE
Branch point for: netbsd-3-1
Changes since 1.80.2.1: +1 -1
lines
Diff to previous 1.80.2.1 (colored) to branchpoint 1.80 (colored)
Pull up following revision(s) (requested by 1500 in ticket #martin): sys/kern/uipc_usrreq.c: revision 1.84 Honor the user's umask while creating local sockets. Several other systems do already this (such as FreeBSD, OpenBSD and Linux), so it will improve portability of some third-party programs. No objections in tech-kern@.
Revision 1.93 / (download) - annotate - [select for diffs], Sun Sep 3 21:15:29 2006 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-pdpolicy-base9,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.92: +6 -3
lines
Diff to previous 1.92 (colored)
use c99 initializers
Revision 1.87.2.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:47 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.87.2.1: +18 -18
lines
Diff to previous 1.87.2.1 (colored) to branchpoint 1.87 (colored)
sync with head
Revision 1.92 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:12 2006 UTC (5 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.91: +18 -18
lines
Diff to previous 1.91 (colored)
Use the LWP cached credentials where sane.
Revision 1.83.2.3 / (download) - annotate - [select for diffs], Wed Jun 21 15:16:42 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.2: +3 -3
lines
Diff to previous 1.83.2.2 (colored)
fix a merge botch.
Revision 1.83.2.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:39 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83.2.1: +47 -33
lines
Diff to previous 1.83.2.1 (colored)
sync with head.
Revision 1.86.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:10 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.86.6.1: +13 -12
lines
Diff to previous 1.86.6.1 (colored) next main 1.87 (colored)
Sync with head.
Revision 1.87.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:42 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.87: +22 -14
lines
Diff to previous 1.87 (colored) next main 1.88 (colored)
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.87.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:42 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.87: +22 -14
lines
Diff to previous 1.87 (colored)
sync with head.
Revision 1.91 / (download) - annotate - [select for diffs], Sun May 14 21:15:12 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
chap-midi
Changes since 1.90: +13 -12
lines
Diff to previous 1.90 (colored)
integrate kauth.
Revision 1.87.4.3 / (download) - annotate - [select for diffs], Sat May 6 23:31:31 2006 UTC (6 years ago) by christos
Branch: elad-kernelauth
Changes since 1.87.4.2: +3 -2
lines
Diff to previous 1.87.4.2 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)
- Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it. Approved by core.
Revision 1.86.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:00 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.86: +15 -6
lines
Diff to previous 1.86 (colored)
Sync with head.
Revision 1.87.4.2 / (download) - annotate - [select for diffs], Wed Apr 19 05:14:00 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.87.4.1: +11 -4
lines
Diff to previous 1.87.4.1 (colored) to branchpoint 1.87 (colored)
sync with head.
Revision 1.90 / (download) - annotate - [select for diffs], Fri Apr 14 23:15:21 2006 UTC (6 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.89: +9 -4
lines
Diff to previous 1.89 (colored)
Coverity CID 1089: Add more KASSERTs to prevent NULL deref.
Revision 1.89 / (download) - annotate - [select for diffs], Fri Apr 14 23:12:14 2006 UTC (6 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.88: +3 -2
lines
Diff to previous 1.88 (colored)
Coverity CID 1088: Add KASSERT to prevent NULL pointer deref.
Revision 1.88 / (download) - annotate - [select for diffs], Thu Apr 13 04:58:31 2006 UTC (6 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.87: +3 -2
lines
Diff to previous 1.87 (colored)
Add a KASSERT to document a condition for the PRU_ABORT case.
Revision 1.87.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 00:53:41 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.87: +12 -12
lines
Diff to previous 1.87 (colored)
Adapt to kernel authorization KPI.
Revision 1.86.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:46 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.86: +6 -4
lines
Diff to previous 1.86 (colored) next main 1.87 (colored)
sync with head.
Revision 1.87 / (download) - annotate - [select for diffs], Wed Mar 1 02:06:11 2006 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
peter-altq,
elad-kernelauth
Changes since 1.86: +6 -4
lines
Diff to previous 1.86 (colored)
PR/32856: Christian Biere: Don't panic if you send a control message with SCM_RIGHTS on an unconnected stream socket.
Revision 1.86 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Changes since 1.85: +24 -18
lines
Diff to previous 1.85 (colored)
merge ktrace-lwp.
Revision 1.62.2.7 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:12 2005 UTC (6 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.62.2.6: +3 -5
lines
Diff to previous 1.62.2.6 (colored) next main 1.63 (colored)
Sync with head.
Revision 1.85 / (download) - annotate - [select for diffs], Fri Nov 11 07:07:42 2005 UTC (6 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
ktrace-lwp-base
Changes since 1.84: +3 -5
lines
Diff to previous 1.84 (colored)
Call nanotime() directly, instead of doing the microtime()/TIMEVAL_TO_TIMESPEC() dance.
Revision 1.62.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:45 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.5: +9 -8
lines
Diff to previous 1.62.2.5 (colored)
Sync with HEAD. Here we go again...
Revision 1.84 / (download) - annotate - [select for diffs], Tue Aug 30 15:03:04 2005 UTC (6 years, 8 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Changes since 1.83: +3 -3
lines
Diff to previous 1.83 (colored)
Honor the user's umask while creating local sockets. Several other systems do already this (such as FreeBSD, OpenBSD and Linux), so it will improve portability of some third-party programs. No objections in tech-kern@.
Revision 1.74.2.1 / (download) - annotate - [select for diffs], Mon Jul 18 04:03:05 2005 UTC (6 years, 10 months ago) by riz
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE
Changes since 1.74: +5 -4
lines
Diff to previous 1.74 (colored) next main 1.75 (colored)
Pull up revision 1.83 (requested by yamt in ticket #2940): uipc_usrreq: plug mbuf leak.
Revision 1.74.4.1 / (download) - annotate - [select for diffs], Mon Jul 18 04:01:29 2005 UTC (6 years, 10 months ago) by riz
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1
Changes since 1.74: +5 -4
lines
Diff to previous 1.74 (colored) next main 1.75 (colored)
Pull up revision 1.83 (requested by yamt in ticket #2940): uipc_usrreq: plug mbuf leak.
Revision 1.80.2.1 / (download) - annotate - [select for diffs], Mon Jul 11 11:40:12 2005 UTC (6 years, 10 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE
Branch point for: netbsd-3-0
Changes since 1.80: +5 -4
lines
Diff to previous 1.80 (colored)
Pull up revision 1.83 (requested by yamt in ticket #573): uipc_usrreq: plug mbuf leak.
Revision 1.83.2.1 / (download) - annotate - [select for diffs], Thu Jul 7 11:53:25 2005 UTC (6 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.83: +11 -7
lines
Diff to previous 1.83 (colored)
adapt to mbuf.h changes.
Revision 1.83 / (download) - annotate - [select for diffs], Thu Jun 16 14:36:42 2005 UTC (6 years, 11 months ago) by yamt
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.82: +5 -4
lines
Diff to previous 1.82 (colored)
uipc_usrreq: plug mbuf leak.
Revision 1.82 / (download) - annotate - [select for diffs], Sun May 29 22:24:15 2005 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.81: +3 -3
lines
Diff to previous 1.81 (colored)
- add const. - remove unnecessary casts. - add __UNCONST casts and mark them with XXXUNCONST as necessary.
Revision 1.81 / (download) - annotate - [select for diffs], Sat May 7 17:42:09 2005 UTC (7 years ago) by christos
Branch: MAIN
Changes since 1.80: +4 -4
lines
Diff to previous 1.80 (colored)
PR/30154: YAMAMOTO Takashi: tcp_close locking botch chgsbsize() as mentioned in the PR can be called from an interrupt context via tcp_close(). Avoid calling uid_find() in chgsbsize(). - Instead of storing so_uid in struct socketvar, store *so_uidinfo - Add a simple lock to struct uidinfo.
Revision 1.79.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:24 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.79: +7 -7
lines
Diff to previous 1.79 (colored) next main 1.80 (colored)
sync with -current
Revision 1.79.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:12 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.79: +7 -7
lines
Diff to previous 1.79 (colored) next main 1.80 (colored)
sync with head. xen and whitespace. xen part is not finished.
Revision 1.62.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:52:03 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.4: +7 -7
lines
Diff to previous 1.62.2.4 (colored)
Sync with HEAD. Hi Perry!
Revision 1.80 / (download) - annotate - [select for diffs], Sat Feb 26 21:34:56 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
kent-audio2-base
Branch point for: netbsd-3
Changes since 1.79: +7 -7
lines
Diff to previous 1.79 (colored)
nuke trailing whitespace
Revision 1.62.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:17 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.3: +24 -18
lines
Diff to previous 1.62.2.3 (colored)
Fix the sync with head I botched.
Revision 1.62.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:04 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.2: +19 -24
lines
Diff to previous 1.62.2.2 (colored)
Sync with HEAD.
Revision 1.79 / (download) - annotate - [select for diffs], Fri Sep 3 18:14:09 2004 UTC (7 years, 8 months ago) by darrenr
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
matt-timespec,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.78: +3 -2
lines
Diff to previous 1.78 (colored)
add a per-socket counter for dropped UDP packets when the internal buffers are full.
Revision 1.62.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:58 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.1: +136 -106
lines
Diff to previous 1.62.2.1 (colored)
Sync with HEAD
Revision 1.78 / (download) - annotate - [select for diffs], Sat May 22 22:52:13 2004 UTC (8 years ago) by jonathan
Branch: MAIN
Changes since 1.77: +3 -4
lines
Diff to previous 1.77 (colored)
Eliminate several uses of `curproc' from the socket-layer code and from NFS. Add a new explicit `struct proc *p' argument to socreate(), sosend(). Use that argument instead of curproc. Follow-on changes to pass that argument to socreate(), sosend(), and (*so->so_send)() calls. These changes reviewed and independently recoded by Matt Thomas. Changes to soreceive() and (*dom->dom_exernalize() from Matt Thomas: pass soreceive()'s struct uio* uio->uio_procp to unp_externalize(). Eliminate curproc from unp_externalize. Also, now soreceive() uses its uio->uio_procp value, pass that same value downward to ((pr->pru_usrreq)() calls for consistency, instead of (struct proc * )0. Similar changes in sys/nfs to eliminate (most) uses of curproc, either via the req-> r_procp field of a struct nfsreq *req argument, or by passing down new explicit struct proc * arguments. Reviewed by: Matt Thomas, posted to tech-kern. NB: The (*pr->pru_usrreq)() change should be tested on more (all!) protocols.
Revision 1.77 / (download) - annotate - [select for diffs], Sun Apr 18 22:20:32 2004 UTC (8 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.76: +7 -7
lines
Diff to previous 1.76 (colored)
Constify sun_noname.
Revision 1.76 / (download) - annotate - [select for diffs], Sun Apr 18 21:48:15 2004 UTC (8 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.75: +28 -68
lines
Diff to previous 1.75 (colored)
ANSI'fy.
Revision 1.75 / (download) - annotate - [select for diffs], Sat Apr 17 15:15:29 2004 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.74: +10 -4
lines
Diff to previous 1.74 (colored)
PR/9347: Eric E. Fair: socket buffer pool exhaustion leads to system deadlock and unkillable processes. 1. Introduce new SBSIZE resource limit from FreeBSD to limit socket buffer size resource. 2. make sokvareserve interruptible, so processes ltsleeping on it can be killed.
Revision 1.74 / (download) - annotate - [select for diffs], Tue Mar 23 13:22:05 2004 UTC (8 years, 2 months ago) by junyoung
Branch: MAIN
CVS Tags: netbsd-2-base,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE
Branch point for: netbsd-2-0,
netbsd-2
Changes since 1.73: +4 -4
lines
Diff to previous 1.73 (colored)
Nuke __P().
Revision 1.73 / (download) - annotate - [select for diffs], Mon Dec 29 22:08:02 2003 UTC (8 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.72: +31 -23
lines
Diff to previous 1.72 (colored)
Avoid using m_clget() on a mbuf already in use, especially when we need the data in the mbuf later and m_clget() changes some fields overlaid to regular mbuf data. Instead, rearange code a bit, create data into a new allocated buffer and and use MEXTADD to attach it to the mbuf, if the mbuf internal space is not sufficient. This fixes a crash on sparc64 (and probably all other archs where sizeof(int) != sizeof(struct file *)) when running regress/sys/kern/unfdpass. Idea for solution from Matt Thomas, with additional input from YAMAMOTO Takashi.
Revision 1.72 / (download) - annotate - [select for diffs], Sat Nov 29 10:02:42 2003 UTC (8 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.71: +21 -4
lines
Diff to previous 1.71 (colored)
Restore a change that made AF_LOCAL sockets block on connect(2) until accepted. However, this time this behavor is not the default. Instead it must enabled by using the LOCAL_CONNWAIT socket option on either the connecting or accepting socket.
Revision 1.71 / (download) - annotate - [select for diffs], Sat Nov 29 06:08:29 2003 UTC (8 years, 5 months ago) by perry
Branch: MAIN
Changes since 1.70: +6 -18
lines
Diff to previous 1.70 (colored)
Revert a change that altered the semantics of AF_LOCAL sockets. Sadly this made us API incompatible with other Unixes.
Revision 1.70 / (download) - annotate - [select for diffs], Wed Oct 15 11:29:01 2003 UTC (8 years, 7 months ago) by hannken
Branch: MAIN
Changes since 1.69: +15 -5
lines
Diff to previous 1.69 (colored)
Add the gating of system calls that cause modifications to the underlying file system. The function vfs_write_suspend stops all new write operations to a file system, allows any file system modifying system calls already in progress to complete, then sync's the file system to disk and returns. The function vfs_write_resume allows the suspended write operations to complete. From FreeBSD with slight modifications. Approved by: Frank van der Linden <fvdl@netbsd.org>
Revision 1.69 / (download) - annotate - [select for diffs], Wed Sep 3 22:20:34 2003 UTC (8 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.68: +3 -3
lines
Diff to previous 1.68 (colored)
Fix typo.
Revision 1.68 / (download) - annotate - [select for diffs], Wed Sep 3 21:30:12 2003 UTC (8 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.67: +18 -6
lines
Diff to previous 1.67 (colored)
Change the behavor of AF_LOCAL connect() to sleep until the server has accepted the connection. This can prevent a client from overwhelming a server.
Revision 1.67 / (download) - annotate - [select for diffs], Thu Aug 7 16:32:00 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.66: +32 -3
lines
Diff to previous 1.66 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.66 / (download) - annotate - [select for diffs], Thu Jul 24 07:30:48 2003 UTC (8 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.65: +3 -10
lines
Diff to previous 1.65 (colored)
back rev 1.63 (the linux hack) off - no compat specific code in generic code, please we need to massage the passed linux cmsg anyway, linux uses different alignment for CMSG_DATA on at least some architectures
Revision 1.65 / (download) - annotate - [select for diffs], Wed Jul 23 22:17:54 2003 UTC (8 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.64: +3 -5
lines
Diff to previous 1.64 (colored)
backout previous, there was a comment on LINUX_SOL_SOCKET=1
Revision 1.64 / (download) - annotate - [select for diffs], Wed Jul 23 21:42:31 2003 UTC (8 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.63: +5 -3
lines
Diff to previous 1.63 (colored)
#define LINUX_SOL_SOCKET 1, so that we can answer "what the hell is this 1?" at ease.
Revision 1.63 / (download) - annotate - [select for diffs], Wed Jul 23 19:24:48 2003 UTC (8 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.62: +10 -3
lines
Diff to previous 1.62 (colored)
From Todd Vierling: Accept level == 1 for linux compat.
Revision 1.62.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:45 2003 UTC (8 years, 10 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.62: +24 -19
lines
Diff to previous 1.62 (colored)
Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
Revision 1.62 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:32 2003 UTC (8 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.61: +17 -22
lines
Diff to previous 1.61 (colored)
Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
Revision 1.61 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:58 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.60: +24 -19
lines
Diff to previous 1.60 (colored)
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed. Bump the kernel rev up to 1.6V
Revision 1.60 / (download) - annotate - [select for diffs], Thu Apr 10 18:55:11 2003 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.59: +3 -3
lines
Diff to previous 1.59 (colored)
RP/21088: Jesse Off: Return ENOBUFS instead of EINVAL when sbappend fails.
Revision 1.59 / (download) - annotate - [select for diffs], Wed Feb 26 06:31:11 2003 UTC (9 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.58: +4 -4
lines
Diff to previous 1.58 (colored)
Add MBUFTRACE kernel option. Do a little mbuf rework while here. Change all uses of MGET*(*, M_WAIT, *) to m_get*(M_WAIT, *). These are not performance critical and making them call m_get saves considerable space. Add m_clget analogue of MCLGET and make corresponding change for M_WAIT uses. Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE. Begin to change netstat to use sysctl.
Revision 1.58 / (download) - annotate - [select for diffs], Tue Feb 25 09:56:15 2003 UTC (9 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.57: +4 -3
lines
Diff to previous 1.57 (colored)
Fix a simple_lock() mismatch in unp_internalize(). We may need to merge the passes over the files contained in the message as noted by enami tsugutomo on tech-smp.
Revision 1.57 / (download) - annotate - [select for diffs], Sun Feb 23 14:37:34 2003 UTC (9 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.56: +18 -9
lines
Diff to previous 1.56 (colored)
Make updating a file's reference and use count MP-safe.
Revision 1.56.2.1 / (download) - annotate - [select for diffs], Wed Dec 18 01:06:16 2002 UTC (9 years, 5 months ago) by gmcgarry
Branch: gmcgarry_ucred
Changes since 1.56: +4 -4
lines
Diff to previous 1.56 (colored) next main 1.57 (colored)
Merge pcred and ucred, and poolify. TBD: check backward compatibility and factor-out some higher-level functionality.
Revision 1.48.2.3 / (download) - annotate - [select for diffs], Sun Dec 15 16:03:10 2002 UTC (9 years, 5 months ago) by he
Branch: netbsd-1-5
Changes since 1.48.2.2: +3 -9
lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)
Revert previous pullup (requested by itojun): Apparently, there is no need to check return from MEXTMALLOC().
Revision 1.48.2.2 / (download) - annotate - [select for diffs], Sun Dec 15 16:00:20 2002 UTC (9 years, 5 months ago) by he
Branch: netbsd-1-5
Changes since 1.48.2.1: +9 -3
lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored)
Pull up revision 1.55 (requested by itojun): MEXTMALLOC() can fail even if M_WAITOK, if arg is too big for malloc().
Revision 1.56 / (download) - annotate - [select for diffs], Mon Nov 25 08:32:00 2002 UTC (9 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Branch point for: gmcgarry_ucred
Changes since 1.55: +4 -10
lines
Diff to previous 1.55 (colored)
no need for error check after MEXTMALLOC - jdolecek
Revision 1.55 / (download) - annotate - [select for diffs], Mon Nov 25 06:32:38 2002 UTC (9 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.54: +10 -4
lines
Diff to previous 1.54 (colored)
MEXTMALLOC() can fail even if M_WAITOK, if arg is too big for malloc().
Revision 1.51.2.2 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:20 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.51.2.1: +8 -12
lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)
sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
Revision 1.48.4.7 / (download) - annotate - [select for diffs], Tue Sep 17 21:22:26 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.48.4.6: +8 -12
lines
Diff to previous 1.48.4.6 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)
Catch up to -current.
Revision 1.54 / (download) - annotate - [select for diffs], Wed Sep 4 01:32:45 2002 UTC (9 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Changes since 1.53: +8 -12
lines
Diff to previous 1.53 (colored)
Use the queue macros from <sys/queue.h> instead of referring to the queue members directly. Use *_FOREACH whenever possible.
Revision 1.48.4.6 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:23 2002 UTC (9 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.48.4.5: +2 -3
lines
Diff to previous 1.48.4.5 (colored) to branchpoint 1.48 (colored)
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.48.4.5 / (download) - annotate - [select for diffs], Mon Jun 24 22:11:04 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.48.4.4: +3 -3
lines
Diff to previous 1.48.4.4 (colored) to branchpoint 1.48 (colored)
Curproc->curlwp renaming. Change uses of "curproc->l_proc" back to "curproc", which is more like the original use. Bare uses of "curproc" are now "curlwp". "curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL) so that it is always safe to reference curproc (*de*referencing curproc is another story, but that's always been true).
Revision 1.51.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:00:16 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.51: +5 -2
lines
Diff to previous 1.51 (colored)
Sync kqueue branch with -current.
Revision 1.48.4.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:47 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.48.4.3: +4 -1
lines
Diff to previous 1.48.4.3 (colored) to branchpoint 1.48 (colored)
Catch up to -current.
Revision 1.52.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:00 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.52: +4 -1
lines
Diff to previous 1.52 (colored) next main 1.53 (colored)
Sync the thorpej-mips-cache branch with -current.
Revision 1.53 / (download) - annotate - [select for diffs], Mon Nov 12 15:25:34 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base,
newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
ifpoll-base,
ifpoll,
gehenna-devsw-base,
gehenna-devsw,
eeh-devprop-base,
eeh-devprop
Changes since 1.52: +4 -1
lines
Diff to previous 1.52 (colored)
add RCSIDs
Revision 1.48.4.3 / (download) - annotate - [select for diffs], Mon Oct 22 20:41:51 2001 UTC (10 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.48.4.2: +2 -2
lines
Diff to previous 1.48.4.2 (colored) to branchpoint 1.48 (colored)
Catch up to -current.
Revision 1.52 / (download) - annotate - [select for diffs], Thu Oct 18 20:17:24 2001 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej-mips-cache
Changes since 1.51: +2 -2
lines
Diff to previous 1.51 (colored)
Deprecate the "m_act" alias of "m_nextpkt" (m_act is a historical name), and just use m_nextpkt everywhere.
Revision 1.48.4.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:07:09 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.48.4.1: +54 -23
lines
Diff to previous 1.48.4.1 (colored) to branchpoint 1.48 (colored)
Catch up to -current.
Revision 1.51 / (download) - annotate - [select for diffs], Thu Jun 14 20:32:47 2001 UTC (10 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: kqueue
Changes since 1.50: +2 -4
lines
Diff to previous 1.50 (colored)
Fix a partial construction problem that can cause race conditions between creation of a file descriptor and close(2) when using kernel assisted threads. What we do is stick descriptors in the table, but mark them as "larval". This causes essentially everything to treat it as a non-existent descriptor, except for fdalloc(), which sees a filled slot so that it won't (incorrectly) allocate it again. When a descriptor is fully constructed, the code that has constructed it marks it as "mature" (which actually clears the "larval" flag), and things continue to work as normal. While here, gather all the code that gets a descriptor from the table into a fd_getfile() function, and call it, rather than having the same (sometimes incorrect) code copied all over the place.
Revision 1.48.2.1 / (download) - annotate - [select for diffs], Sun Jun 10 18:23:03 2001 UTC (10 years, 11 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Changes since 1.48: +9 -4
lines
Diff to previous 1.48 (colored)
Pull up revision 1.49 (requested by thorpej): Change fdalloc() to return ERESTART if reallocation of the descriptor array was needed, and change uses to handle that condition. Make finishdup() close the descriptor in the new slot if it exists, and change sys_dup2() accordingly. Closes a race condition when using kernel-assisted user threads.
Revision 1.50 / (download) - annotate - [select for diffs], Thu Jun 7 01:29:16 2001 UTC (10 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.49: +52 -24
lines
Diff to previous 1.49 (colored)
Rework fdalloc() even further: split fdalloc() into fdalloc() and fdexpand(). The former will return ENOSPC if there is not space in the current filedesc table. The latter performs the expansion of the filedesc table. This means that fdalloc() won't ever block, and it gives callers an opportunity to clean up before the potentially-blocking fdexpand() call. Update all fdalloc() callers to deal with the need-to-fdexpand() case. Rewrite unp_externalize() to use fdalloc() and fdexpand() in a safe way, using an algorithm suggested by Bill Sommerfeld: - Use a temporary array of integers to hold the new filedesc table indexes. This allows us to repeat the loop if necessary. - Loop through the array of file *'s, assigning them to filedesc table slots. If fdalloc() indicates expansion is necessary, undo the assignments we've done so far, expand, and retry the whole process. - Once all file *'s have been assigned to slots, update the f_msgcount and unp_rights counters. - Right before we return, copy the temporary integer array to the message buffer, and trim the length as before. Note that once locking is added to the filedesc array, this entire operation will be `atomic', in that the lock will be held while file *'s are assigned to embryonic table slots, thus preventing anything else from using them.
Revision 1.49 / (download) - annotate - [select for diffs], Wed Jun 6 17:00:00 2001 UTC (10 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.48: +9 -4
lines
Diff to previous 1.48 (colored)
Change fdalloc() to return ERESTART if we had to reallocate the descriptor array, which may have blocked. Change callers of fdalloc() to restart whatever they\'re doing if this condition happens. (XXX unp_externalize() needs some work, but that will be tackled later.) Change finishdup() to close the descriptor in the `new\' slot if one exists, and change sys_dup2() accordingly. Closes a race condition when using kernel-assisted user threads. While here, garbage-collect UF_MAPPED -- it is not used anywhere.
Revision 1.48.4.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:47 2001 UTC (11 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.48: +3 -2
lines
Diff to previous 1.48 (colored)
Initial commit of scheduler activations and lightweight process support.
Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:15 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45: +63 -69
lines
Diff to previous 1.45 (colored) next main 1.46 (colored)
Update thorpej_scsipi to -current as of a month ago
Revision 1.46.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:09:20 2000 UTC (11 years, 11 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.46: +34 -40
lines
Diff to previous 1.46 (colored) next main 1.47 (colored)
Sync w/ netbsd-1-5-base.
Revision 1.48 / (download) - annotate - [select for diffs], Mon Jun 5 16:29:45 2000 UTC (11 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5,
nathanw_sa
Changes since 1.47: +7 -6
lines
Diff to previous 1.47 (colored)
Oops, missed a couple of places where CMSG_*() should be used. No functional change in this case, but the code is now correct.
Revision 1.47 / (download) - annotate - [select for diffs], Mon Jun 5 06:06:07 2000 UTC (11 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.46: +28 -35
lines
Diff to previous 1.46 (colored)
- Fix file descriptor passing AGAIN. This has apparently been broken on LP64 systems (and probably the SPARC) since the __cmsg_alignbytes() changes went in. - Change file descriptor passing to use CMSG_DATA(), not (cm + 1). This pretty much has to be done in order to make it work properly on LP64, and considering that it's been broken this long... - Use CMSG_SPACE() to determine the mbuf length needed for a given control message, and CMSG_LEN() to stash in the cmsg_len member.
Revision 1.46 / (download) - annotate - [select for diffs], Thu Mar 30 09:27:14 2000 UTC (12 years, 1 month ago) by augustss
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.45: +31 -31
lines
Diff to previous 1.45 (colored)
Get rid of register declarations.
Revision 1.39.2.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:24:06 1999 UTC (12 years, 11 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.39.2.1: +15 -6
lines
Diff to previous 1.39.2.1 (colored) next main 1.40 (colored)
Sync w/ -current.
Revision 1.45 / (download) - annotate - [select for diffs], Thu Jun 17 23:17:45 1999 UTC (12 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase,
chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.44: +4 -3
lines
Diff to previous 1.44 (colored)
Um, hi, let's initialize pointers before we use them.
Revision 1.39.2.1 / (download) - annotate - [select for diffs], Wed May 5 20:59:12 1999 UTC (13 years ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Changes since 1.39: +2 -2
lines
Diff to previous 1.39 (colored) next main 1.40 (colored)
pullup 1.42->1.43 (thorpej)
Revision 1.44 / (download) - annotate - [select for diffs], Wed May 5 20:01:10 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.43: +11 -3
lines
Diff to previous 1.43 (colored)
Add "use counting" to file entries. When closing a file, and it's reference count is 0, wait for use count to drain before finishing the close. This is necessary in order for multiple processes to safely share file descriptor tables.
Revision 1.43 / (download) - annotate - [select for diffs], Wed May 5 19:05:43 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.42: +2 -2
lines
Diff to previous 1.42 (colored)
Fix alignment problem in the garbage-collection code path.
Revision 1.42 / (download) - annotate - [select for diffs], Fri Apr 30 18:43:00 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.41: +3 -3
lines
Diff to previous 1.41 (colored)
Break cdir/rdir/cmask info out of struct filedesc, and put it in a new substructure, `cwdinfo'. Implement optional sharing of this substructure. This is required for clone(2).
Revision 1.41 / (download) - annotate - [select for diffs], Wed Apr 21 02:37:07 1999 UTC (13 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.40: +0 -18
lines
Diff to previous 1.40 (colored)
revert previous. oops.
Revision 1.40 / (download) - annotate - [select for diffs], Wed Apr 21 02:31:50 1999 UTC (13 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.39: +19 -1
lines
Diff to previous 1.39 (colored)
properly test the msgsz as "msgsz - len". from PR#7386
Revision 1.39 / (download) - annotate - [select for diffs], Mon Mar 22 17:54:39 1999 UTC (13 years, 2 months ago) by sommerfe
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.38: +152 -30
lines
Diff to previous 1.38 (colored)
Disallow descriptor-passing of descriptors which are open on directories which aren't under the recipient's root. Clean up of many error conditions involving descriptor passing, to eliminate infinite loops, panics, premature garbage collection of sockets, and descriptor leaks: - Avoid letting unp_gc() see descriptors with a refcount of zero by removing them from the socket's queue before releasing them. - Avoid socket leak in PRU_ABORT (this will also gc descriptors queued on a not-yet accepted socket when the accepting socket goes away). - Put in block comment explaining how unp_gc() should work. - Correctly manage unp_defer count so we don't get stuck in an infinite loop with nothing to do. - Don't tie MARK and DEFER bits so closely together. - Mark descriptors queued on not-yet-accepted sockets as well. - Don't call sorflush on non-socket, it doesn't work very well. - Deal with discard of NULL file pointer. - Hopefully cause GC to converge faster by only deferring sockets in unp_mark().
Revision 1.38 / (download) - annotate - [select for diffs], Mon Dec 21 23:12:19 1998 UTC (13 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +13 -1
lines
Diff to previous 1.37 (colored)
In unp_internalize(), add a comment explaining why we must ALIGN() the data after the cmsghdr when accessing internalized SCM_RIGHTS messages (i.e. array of struct file *s). The historic interface does not align the externalized SCM_RIGHTS messages (i.e. array of ints).
Revision 1.37 / (download) - annotate - [select for diffs], Mon Dec 21 23:03:02 1998 UTC (13 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +2 -2
lines
Diff to previous 1.36 (colored)
Fix a fencepost error in unp_scan() which caused a bad pointer deref on the SPARC platform only (ILP32 but ALIGNBYTES of 7), due to a missing ALIGN().
Revision 1.34.2.1 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:58 1998 UTC (13 years, 9 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.34: +6 -6
lines
Diff to previous 1.34 (colored) next main 1.35 (colored)
Revert cdevsw mmap routines to return int.
Revision 1.36 / (download) - annotate - [select for diffs], Tue Aug 4 04:03:18 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base,
chs-ubc
Changes since 1.35: +6 -6
lines
Diff to previous 1.35 (colored)
Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one. bcopy(x, y, z) -> memcpy(y, x, z) ovbcopy(x, y, z) -> memmove(y, x, z) bcmp(x, y, z) -> memcmp(x, y, z) bzero(x, y) -> memset(x, 0, y)
Revision 1.35 / (download) - annotate - [select for diffs], Fri Jul 31 22:50:53 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.34: +6 -6
lines
Diff to previous 1.34 (colored)
fix sizeofs so they comply with the KNF style guide. yes, it is pedantic.
Revision 1.34 / (download) - annotate - [select for diffs], Sat Jul 18 05:04:38 1998 UTC (13 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.33: +2 -2
lines
Diff to previous 1.33 (colored)
use AF_LOCAL instead of AF_UNIX
Revision 1.33 / (download) - annotate - [select for diffs], Thu Jul 16 00:46:50 1998 UTC (13 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +3 -16
lines
Diff to previous 1.32 (colored)
Back out previous, I botched something.
Revision 1.32 / (download) - annotate - [select for diffs], Fri Jul 10 22:15:47 1998 UTC (13 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +17 -4
lines
Diff to previous 1.31 (colored)
For SOCK_STREAM, provide the socket credentials to the accepter as soon as the client connects.
Revision 1.31 / (download) - annotate - [select for diffs], Sun Mar 1 02:22:34 1998 UTC (14 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.30: +3 -3
lines
Diff to previous 1.30 (colored)
Merge with Lite2 + local changes
Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:03 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714,
CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +28 -12
lines
Diff to previous 1.1.1.2 (colored)
Import 4.4BSD-Lite2
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:52 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714,
CSRG
CVS Tags: lite-1,
date-03-may-96
Changes since 1.1.1.1: +103 -47
lines
Diff to previous 1.1.1.1 (colored)
Import 4.4BSD-Lite for reference
Revision 1.28.2.1 / (download) - annotate - [select for diffs], Thu Jan 29 09:49:40 1998 UTC (14 years, 3 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001
Changes since 1.28: +2 -2
lines
Diff to previous 1.28 (colored) next main 1.29 (colored)
Apply patch supplied by thorpej (based on 1.28-1.29)
Revision 1.30 / (download) - annotate - [select for diffs], Wed Jan 7 22:57:09 1998 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +188 -3
lines
Diff to previous 1.29 (colored)
Implement passing credentials as ancillary data on Unix domain sockets, enabled with the LOCAL_CREDS socket option on the listener. Semantics are similar to BSD/OS's: - Creds are available with first data on SOCK_STREAM, and with every datagram on SOCK_DGRAM. - It is not possible to forge credentials. Different in that: - Different credential data structure (ours does not rely on the format of internal kernel data structures, and does not pass the login name). - We can pass creds and file descriptors at the same time (this does not work in BSD/OS). Luke Mewburn <lukem@netbsd.org> gets credit for inspiring me to implement this. :-)
Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 7 04:03:38 1998 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +2 -2
lines
Diff to previous 1.28 (colored)
Fix passing of multiple file descriptors (was broken when code was made 64-bit safe).
Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 17 17:35:08 1997 UTC (14 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.27: +2 -2
lines
Diff to previous 1.27 (colored)
PR/4280: Chris Jones: Sending more than one fd over AF_UNIX sockets causes panic. Bug in the fd -> struct file * conversion...
Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 26 06:06:40 1997 UTC (14 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base,
thorpej-signal,
marc-pcmcia-bp,
marc-pcmcia-base,
marc-pcmcia,
bouyer-scsipi
Changes since 1.26: +47 -23
lines
Diff to previous 1.26 (colored)
Several small changes to eliminate kludginess in dealing with unix domain socket names: - In unp_setsockaddr() and unp_setpeeraddr(), if the socket name can't fit into a single mbuf, allocate enough external storage space to hold it. - In unp_bind() and unp_connect(), perform a similar operation, but allocate one extra byte, and ensure that the pathname is nul-terminated. Many thanks to enami tsugutomo <enami@cv.sony.co.jp> for the sanity checking.
Revision 1.26 / (download) - annotate - [select for diffs], Tue Jun 24 19:12:55 1997 UTC (14 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +15 -8
lines
Diff to previous 1.25 (colored)
Eliminate use of dtom() in the handing of UNIX domain sockets. Add an "unp_addrlen" member to the unpcb, and use it when copying the socket name. This eliminates that last uses of dtom() in the system.
Revision 1.25 / (download) - annotate - [select for diffs], Thu May 15 17:01:04 1997 UTC (15 years ago) by kleink
Branch: MAIN
Changes since 1.24: +7 -1
lines
Diff to previous 1.24 (colored)
When fstat(2)ing a file descriptor of a local communications domain socket, fill the socket's creation time into the stat structure's st_[acm]time fields: POSIX requires this behavior for pipe(2). N.B.: updating the st_[am]time fields when reading/writing the pipe is neither required nor implemented, though.
Revision 1.24 / (download) - annotate - [select for diffs], Thu Apr 10 01:51:21 1997 UTC (15 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.23: +73 -21
lines
Diff to previous 1.23 (colored)
Internalize and externalize file descriptors being passed via local domain socket control messages correctly, without assuming that sizeof(int) == sizeof(pointer). Fixes PR#3183.
Revision 1.18.4.1 / (download) - annotate - [select for diffs], Wed Dec 11 03:30:54 1996 UTC (15 years, 5 months ago) by mycroft
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.18: +101 -80
lines
Diff to previous 1.18 (colored) next main 1.19 (colored)
From trunk: Eliminate SS_PRIV; instead, pass down a proc pointer to the usrreq methods that need it. Fix numerous memory leaks and bogus return values.
Revision 1.23 / (download) - annotate - [select for diffs], Thu May 23 17:07:03 1996 UTC (16 years ago) by mycroft
Branch: MAIN
CVS Tags: thorpej-setroot,
mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Changes since 1.22: +2 -1
lines
Diff to previous 1.22 (colored)
Oops. Add missing label.
Revision 1.22 / (download) - annotate - [select for diffs], Thu May 23 16:49:08 1996 UTC (16 years ago) by mycroft
Branch: MAIN
Changes since 1.21: +6 -7
lines
Diff to previous 1.21 (colored)
We can only get a control mbuf for PRU_SEND or PRU_SENDOOB. Add diagnostic code to panic in this case.
Revision 1.21 / (download) - annotate - [select for diffs], Thu May 23 16:41:49 1996 UTC (16 years ago) by mycroft
Branch: MAIN
Changes since 1.20: +8 -12
lines
Diff to previous 1.20 (colored)
Make sure the control and data mbufs are freed in all cases.
Revision 1.20 / (download) - annotate - [select for diffs], Thu May 23 16:03:45 1996 UTC (16 years ago) by mycroft
Branch: MAIN
Changes since 1.19: +90 -65
lines
Diff to previous 1.19 (colored)
Separate some code into separate functions. Make unp_addr be a pointer to the sockaddr, not to the mbuf, as with raw sockets. Other minor cleanup.
Revision 1.19 / (download) - annotate - [select for diffs], Wed May 22 13:55:05 1996 UTC (16 years ago) by mycroft
Branch: MAIN
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and PRU_CONTROL. The usrreq interface really needs to be split up, but this will have to wait. Remove SS_PRIV completely.
Revision 1.18 / (download) - annotate - [select for diffs], Fri Feb 9 19:00:50 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.17: +1 -2
lines
Diff to previous 1.17 (colored)
More proto fixes
Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 4 20:32:15 1996 UTC (16 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.16: +2 -2
lines
Diff to previous 1.16 (colored)
unp_detach() return type botch.
Revision 1.16 / (download) - annotate - [select for diffs], Sun Feb 4 02:18:00 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.15: +7 -5
lines
Diff to previous 1.15 (colored)
First pass at prototyping
Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 17 02:57:20 1995 UTC (16 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.14: +3 -3
lines
Diff to previous 1.14 (colored)
so_pcb should be a void *.
Revision 1.14 / (download) - annotate - [select for diffs], Wed Aug 16 00:29:50 1995 UTC (16 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +11 -11
lines
Diff to previous 1.13 (colored)
Allocate PCBs with malloc(), more mgetclr(). Be more careful to free the PCB after it's done with.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 5 21:26:40 1995 UTC (17 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
Add missing argument to closef().
Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 13 22:11:25 1994 UTC (17 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +2 -2
lines
Diff to previous 1.11 (colored)
LEASE_CHECK -> VOP_LEASE
Revision 1.11 / (download) - annotate - [select for diffs], Tue Aug 30 03:06:10 1994 UTC (17 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +6 -5
lines
Diff to previous 1.10 (colored)
Convert process, file, and namei lists and hash tables to use queue.h.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 29 06:33:43 1994 UTC (17 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Changes since 1.9: +3 -2
lines
Diff to previous 1.9 (colored)
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 8 11:28:47 1994 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +16 -22
lines
Diff to previous 1.8 (colored)
Update to 4.4-Lite fs code.
Revision 1.8 / (download) - annotate - [select for diffs], Wed May 4 09:50:11 1994 UTC (18 years ago) by mycroft
Branch: MAIN
Changes since 1.7: +76 -21
lines
Diff to previous 1.7 (colored)
Fix panic when closing a file descriptor on which access rights have been sent but not received.
Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 18 04:22:34 1993 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +15 -15
lines
Diff to previous 1.6 (colored)
Canonicalize all #includes.
Revision 1.5.4.3 / (download) - annotate - [select for diffs], Sun Nov 14 21:21:39 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.5.4.2: +15 -15
lines
Diff to previous 1.5.4.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)
Canonicalize all #includes.
Revision 1.5.4.2 / (download) - annotate - [select for diffs], Wed Nov 10 20:05:36 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.5.4.1: +2 -2
lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored)
AF_UNIX --> AF_LOCAL
Revision 1.5.4.1 / (download) - annotate - [select for diffs], Tue Sep 14 18:24:28 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.5: +2 -2
lines
Diff to previous 1.5 (colored)
init_main.c: clock changes from 4.4; initclocks() is called after vfsinit(). No startrtclock() or enablertclock(). Some pseudo-device cruft, but this needs to be updated. kern_clock.c: from 4.4: gatherstats() --> statclock(). statclock(), hardclock(), and softclock() take a `struct clockframe *'. New initclocks(), harclock(), statclock(), startprofclock(), and stopprofclock(). kern_synch.c: from 4.4: machine-independent swtch(), which is now where process time is integrated. Calls cpu_swtch() with the current process as an arg. subr_autoconf.c: Fix typo. subr_prf.c: msgbufp and msgbufmapped are define in machdep.c tty.c: Make TIOCHPCL #ifdef COMPAT_43. Incorporate changes from main branch.
Revision 1.6 / (download) - annotate - [select for diffs], Tue Sep 14 03:35:08 1993 UTC (18 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: magnum-base
Changes since 1.5: +2 -2
lines
Diff to previous 1.5 (colored)
Fix from Noriyuki Soda <soda@sra.co.jp>:
recvmsg(2) always returns -1 with errno==EMSGSIZE, when trying
to pass file descriptors through UNIX domain socket.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 27 06:02:02 1993 UTC (18 years, 11 months ago) by andrew
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9
Branch point for: magnum
Changes since 1.4: +25 -5
lines
Diff to previous 1.4 (colored)
ANSIfications - removed all implicit function return types and argument definitions. Ensured that all files include "systm.h" to gain access to general prototypes. Casts where necessary.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Jun 12 14:01:23 1993 UTC (18 years, 11 months ago) by andrew
Branch: MAIN
Changes since 1.3: +3 -2
lines
Diff to previous 1.3 (colored)
Yuval Yarom's 'panic:closef: count < 0' fix to unp_discard().
Revision 1.3 / (download) - annotate - [select for diffs], Sat May 22 11:41:56 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.2: +1 -2
lines
Diff to previous 1.2 (colored)
add include of select.h if necessary for protos, or delete if extraneous
Revision 1.2 / (download) - annotate - [select for diffs], Tue May 18 18:19:42 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.1: +3 -1
lines
Diff to previous 1.1 (colored)
make kernel select interface be one-stop shopping & clean it all up.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714,
CSRG
CVS Tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-8,
WFJ-386bsd-01
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
initial import of 386bsd-0.1 sources
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
Initial revision