CVS commit: src/sys/kern

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 19:26:34 UTC 2022 Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Refuse to consider negative unit numbers in cfdata. Reported-by: syzbot+a63ae6c58df86f40b...@syzkaller.appspotmail.com To

CVS commit: src/sys/kern

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 17:45:53 UTC 2022 Modified Files: src/sys/kern: kern_ktrace.c Log Message: ktrace(9): Avoid stomping over colliding KTROP_SET. Reported-by: syzbot+1e2a24aaa5725cab1...@syzkaller.appspotmail.com Reported-by:

CVS commit: src/sys/kern

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 17:45:53 UTC 2022 Modified Files: src/sys/kern: kern_ktrace.c Log Message: ktrace(9): Avoid stomping over colliding KTROP_SET. Reported-by: syzbot+1e2a24aaa5725cab1...@syzkaller.appspotmail.com Reported-by:

CVS commit: src/sys/kern

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 16:54:17 UTC 2022 Modified Files: src/sys/kern: subr_kmem.c Log Message: kmem(9): Make kmem_alloc and kmem_free agree about rejecting zero. Let's do both as KASSERT, unless there's a good reason to make them both

CVS commit: src/sys/kern

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 16:54:17 UTC 2022 Modified Files: src/sys/kern: subr_kmem.c Log Message: kmem(9): Make kmem_alloc and kmem_free agree about rejecting zero. Let's do both as KASSERT, unless there's a good reason to make them both

CVS commit: src/sys/kern

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 16:46:57 UTC 2022 Modified Files: src/sys/kern: kern_time.c Log Message: kern: Clamp time_adjtime to avoid overflow. Reported-by: syzbot+7edce1a31dfd2a5ea...@syzkaller.appspotmail.com To generate a diff of this

CVS commit: src/sys/kern

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 16:46:57 UTC 2022 Modified Files: src/sys/kern: kern_time.c Log Message: kern: Clamp time_adjtime to avoid overflow. Reported-by: syzbot+7edce1a31dfd2a5ea...@syzkaller.appspotmail.com To generate a diff of this

CVS commit: src/sys/kern

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 16:06:15 UTC 2022 Modified Files: src/sys/kern: uipc_socket.c Log Message: kern: m_copym(M_DONTWAIT) can fail; handle that case gracefully. Not sure if this should truncate the result or just fail with nonzero

CVS commit: src/sys/kern

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 16:06:15 UTC 2022 Modified Files: src/sys/kern: uipc_socket.c Log Message: kern: m_copym(M_DONTWAIT) can fail; handle that case gracefully. Not sure if this should truncate the result or just fail with nonzero

CVS commit: src/sys/kern

2022-03-10 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Mar 10 12:21:35 UTC 2022 Modified Files: src/sys/kern: kern_proc.c Log Message: kern: Use atomic_store_release/atomic_load_consume for pid_table. This is read without the lock, so ordering is required. To generate a

CVS commit: src/sys/kern

2022-03-10 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Mar 10 12:21:35 UTC 2022 Modified Files: src/sys/kern: kern_proc.c Log Message: kern: Use atomic_store_release/atomic_load_consume for pid_table. This is read without the lock, so ordering is required. To generate a

CVS commit: src/sys/kern

2022-03-10 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Mar 10 12:21:25 UTC 2022 Modified Files: src/sys/kern: kern_lwp.c kern_synch.c Log Message: kern: Fix synchronization of clearing LP_RUNNING and lwp_free. 1. membar_sync is not necessary here -- only a store-release is

CVS commit: src/sys/kern

2022-03-10 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Mar 10 12:21:25 UTC 2022 Modified Files: src/sys/kern: kern_lwp.c kern_synch.c Log Message: kern: Fix synchronization of clearing LP_RUNNING and lwp_free. 1. membar_sync is not necessary here -- only a store-release is

CVS commit: src/sys/kern

2022-03-09 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Mar 9 08:43:28 UTC 2022 Modified Files: src/sys/kern: vfs_vnode.c Log Message: vrelel(): after all locks are in place check for new reference again. Should fix assertion "vp->v_iflag & VI_TEXT" under load. To generate a

CVS commit: src/sys/kern

2022-03-09 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Mar 9 08:43:28 UTC 2022 Modified Files: src/sys/kern: vfs_vnode.c Log Message: vrelel(): after all locks are in place check for new reference again. Should fix assertion "vp->v_iflag & VI_TEXT" under load. To generate a

CVS commit: src/sys/kern

2022-02-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Feb 28 08:44:04 UTC 2022 Modified Files: src/sys/kern: vfs_vnode.c Log Message: vrelel(): no VOP_UNLOCK() with v_interlock or vmobjlock held. To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134

CVS commit: src/sys/kern

2022-02-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Feb 28 08:44:04 UTC 2022 Modified Files: src/sys/kern: vfs_vnode.c Log Message: vrelel(): no VOP_UNLOCK() with v_interlock or vmobjlock held. To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134

CVS commit: src/sys/kern

2022-02-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Feb 27 14:24:11 UTC 2022 Modified Files: src/sys/kern: subr_vmem.c Log Message: vmem(9): Assert addresses are quantum-aligned. To generate a diff of this commit: cvs rdiff -u -r1.106 -r1.107 src/sys/kern/subr_vmem.c

CVS commit: src/sys/kern

2022-02-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Feb 27 14:24:11 UTC 2022 Modified Files: src/sys/kern: subr_vmem.c Log Message: vmem(9): Assert addresses are quantum-aligned. To generate a diff of this commit: cvs rdiff -u -r1.106 -r1.107 src/sys/kern/subr_vmem.c

CVS commit: src/sys/kern

2022-02-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Feb 27 14:16:43 UTC 2022 Modified Files: src/sys/kern: subr_pool.c Log Message: pool(9): Membar audit. - Use atomic_store_release and atomic_load_consume for associating a freshly constructed pool_cache with its

CVS commit: src/sys/kern

2022-02-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Feb 27 14:16:43 UTC 2022 Modified Files: src/sys/kern: subr_pool.c Log Message: pool(9): Membar audit. - Use atomic_store_release and atomic_load_consume for associating a freshly constructed pool_cache with its

CVS commit: src/sys/kern

2022-02-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Feb 17 16:28:29 UTC 2022 Modified Files: src/sys/kern: sys_eventfd.c sys_timerfd.c Log Message: Implement eventfd_ioctl() and handle FIONBIO so that fcntl(O_NONBLOCK) works. While here, also implement FIONREAD and

CVS commit: src/sys/kern

2022-02-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Feb 17 16:28:29 UTC 2022 Modified Files: src/sys/kern: sys_eventfd.c sys_timerfd.c Log Message: Implement eventfd_ioctl() and handle FIONBIO so that fcntl(O_NONBLOCK) works. While here, also implement FIONREAD and

CVS commit: src/sys/kern

2022-02-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Feb 17 14:39:51 UTC 2022 Modified Files: src/sys/kern: vfs_vnode.c Log Message: Do the space accounting before VOP_INACTIVE() so we may unlock the vnode after VOP_INCATIVE(). This was the last call from vrelel() to

CVS commit: src/sys/kern

2022-02-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Feb 17 14:39:51 UTC 2022 Modified Files: src/sys/kern: vfs_vnode.c Log Message: Do the space accounting before VOP_INACTIVE() so we may unlock the vnode after VOP_INCATIVE(). This was the last call from vrelel() to

CVS commit: src/sys/kern

2022-02-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Feb 17 14:38:06 UTC 2022 Modified Files: src/sys/kern: vfs_vnode.c Log Message: If the vnode to vrelel() is already reclaimed there is no need to lock or defer it. Jump straight to decrement usecount and requeue. To

CVS commit: src/sys/kern

2022-02-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Feb 17 14:38:06 UTC 2022 Modified Files: src/sys/kern: vfs_vnode.c Log Message: If the vnode to vrelel() is already reclaimed there is no need to lock or defer it. Jump straight to decrement usecount and requeue. To

CVS commit: src/sys/kern

2022-02-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Feb 13 19:20:33 UTC 2022 Modified Files: src/sys/kern: subr_thmap.c Log Message: thmap(9): Omit needless fences and use membar_exit for release fence. It is the caller's responsibility to arrange that thmap_create, and,

CVS commit: src/sys/kern

2022-02-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Feb 13 19:20:33 UTC 2022 Modified Files: src/sys/kern: subr_thmap.c Log Message: thmap(9): Omit needless fences and use membar_exit for release fence. It is the caller's responsibility to arrange that thmap_create, and,

CVS commit: src/sys/kern

2022-02-12 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Feb 12 16:31:06 UTC 2022 Modified Files: src/sys/kern: subr_psref.c Log Message: more __diagused to appease clang To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/kern/subr_psref.c Please note that

CVS commit: src/sys/kern

2022-02-12 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Feb 12 16:31:06 UTC 2022 Modified Files: src/sys/kern: subr_psref.c Log Message: more __diagused to appease clang To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/kern/subr_psref.c Please note that

Re: CVS commit: src/sys/kern

2022-02-11 Thread Taylor R Campbell
> Date: Fri, 11 Feb 2022 16:50:16 -0800 > From: Jason Thorpe > > > On Feb 11, 2022, at 9:53 AM, Taylor R Campbell wrote: > > > > That is, this was presumably meant to ensure (A) happens-before (B). > > This relation is already guaranteed by ipi(9), so there is no need > > for any explicit

Re: CVS commit: src/sys/kern

2022-02-11 Thread Jason Thorpe
> On Feb 11, 2022, at 9:53 AM, Taylor R Campbell wrote: > > That is, this was presumably meant to ensure (A) happens-before (B). > This relation is already guaranteed by ipi(9), so there is no need > for any explicit memory barrier. Is this documented in ipi(9)? -- thorpej

CVS commit: src/sys/kern

2022-02-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Feb 11 17:53:28 UTC 2022 Modified Files: src/sys/kern: subr_copy.c Log Message: ucas(9): Membar audit. - Omit needless membar_enter before ipi_trigger_broadcast. This was presumably intended to imply a happens-before

CVS commit: src/sys/kern

2022-02-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Feb 11 17:53:28 UTC 2022 Modified Files: src/sys/kern: subr_copy.c Log Message: ucas(9): Membar audit. - Omit needless membar_enter before ipi_trigger_broadcast. This was presumably intended to imply a happens-before

CVS commit: src/sys/kern

2022-02-10 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Feb 10 10:59:12 UTC 2022 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Remove the assertion "searchdir != foundobj" from lookup_crossmount(). It will trigger whenever we lookup "." on a directory that becomes

CVS commit: src/sys/kern

2022-02-10 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Feb 10 10:59:12 UTC 2022 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Remove the assertion "searchdir != foundobj" from lookup_crossmount(). It will trigger whenever we lookup "." on a directory that becomes

CVS commit: src/sys/kern

2022-02-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Feb 8 12:59:17 UTC 2022 Modified Files: src/sys/kern: subr_pcu.c subr_psref.c subr_thmap.c Log Message: kern: Mark some functions __diagused to pacify clang. These functions are called only in KASSERT. This shouldn't be

CVS commit: src/sys/kern

2022-02-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Feb 8 12:59:17 UTC 2022 Modified Files: src/sys/kern: subr_pcu.c subr_psref.c subr_thmap.c Log Message: kern: Mark some functions __diagused to pacify clang. These functions are called only in KASSERT. This shouldn't be

CVS commit: src/sys/kern

2022-02-08 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 8 08:57:11 UTC 2022 Modified Files: src/sys/kern: vfs_vnode.c Log Message: Operation vfs_suspend() returns ENOENT if the mount is gone (IMNT_GONE). Adjust the KASSERT() appropriately. To generate a diff of this

CVS commit: src/sys/kern

2022-02-08 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 8 08:57:11 UTC 2022 Modified Files: src/sys/kern: vfs_vnode.c Log Message: Operation vfs_suspend() returns ENOENT if the mount is gone (IMNT_GONE). Adjust the KASSERT() appropriately. To generate a diff of this

CVS commit: src/sys/kern

2022-02-06 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Feb 6 19:29:52 UTC 2022 Modified Files: src/sys/kern: subr_autoconf.c Log Message: move attribute before function declarator To generate a diff of this commit: cvs rdiff -u -r1.294 -r1.295 src/sys/kern/subr_autoconf.c Please

CVS commit: src/sys/kern

2022-02-06 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Feb 6 19:29:52 UTC 2022 Modified Files: src/sys/kern: subr_autoconf.c Log Message: move attribute before function declarator To generate a diff of this commit: cvs rdiff -u -r1.294 -r1.295 src/sys/kern/subr_autoconf.c Please

CVS commit: src/sys/kern

2022-02-06 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 6 11:56:01 UTC 2022 Modified Files: src/sys/kern: subr_autoconf.c Log Message: Revert previous, mark cfdriver_iattr_count as __diagused instead. To generate a diff of this commit: cvs rdiff -u -r1.293 -r1.294

CVS commit: src/sys/kern

2022-02-06 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 6 11:56:01 UTC 2022 Modified Files: src/sys/kern: subr_autoconf.c Log Message: Revert previous, mark cfdriver_iattr_count as __diagused instead. To generate a diff of this commit: cvs rdiff -u -r1.293 -r1.294

Re: CVS commit: src/sys/kern

2022-02-05 Thread Taylor R Campbell
> Date: Sat, 5 Feb 2022 22:47:30 +0100 > From: Tobias Nygren > > On Sat, 5 Feb 2022 15:17:40 + > Martin Husemann wrote: > > > Modified Files: > > src/sys/kern: subr_autoconf.c > > > > Log Message: > > cfdriver_iattr_count() is only used in a KASSERT, so #ifdef DIAGNOSTIC it. > > This

CVS commit: src/sys/kern

2022-02-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Feb 5 23:10:20 UTC 2022 Modified Files: src/sys/kern: kern_exec.c Log Message: Prevent escallation of privilege due to poor handling of argc == 0 in set*id binaries by refusing to execute them. To generate a diff of this

CVS commit: src/sys/kern

2022-02-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Feb 5 23:10:20 UTC 2022 Modified Files: src/sys/kern: kern_exec.c Log Message: Prevent escallation of privilege due to poor handling of argc == 0 in set*id binaries by refusing to execute them. To generate a diff of this

Re: CVS commit: src/sys/kern

2022-02-05 Thread Tobias Nygren
On Sat, 5 Feb 2022 15:17:40 + Martin Husemann wrote: > Modified Files: > src/sys/kern: subr_autoconf.c > > Log Message: > cfdriver_iattr_count() is only used in a KASSERT, so #ifdef DIAGNOSTIC it. This doesn't seem to work as intended. In a kernel with "no options DIAGNOSTIC" I now

CVS commit: src/sys/kern

2022-02-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 5 15:29:50 UTC 2022 Modified Files: src/sys/kern: kern_ntptime.c Log Message: kernel: Avoid arithmetic overflow in ntp_adjtime. Reported-by: syzbot+f4343a1c91ddfe8bb...@syzkaller.appspotmail.com To generate a diff

CVS commit: src/sys/kern

2022-02-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 5 15:29:50 UTC 2022 Modified Files: src/sys/kern: kern_ntptime.c Log Message: kernel: Avoid arithmetic overflow in ntp_adjtime. Reported-by: syzbot+f4343a1c91ddfe8bb...@syzkaller.appspotmail.com To generate a diff

CVS commit: src/sys/kern

2022-02-05 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Feb 5 15:17:40 UTC 2022 Modified Files: src/sys/kern: subr_autoconf.c Log Message: cfdriver_iattr_count() is only used in a KASSERT, so #ifdef DIAGNOSTIC it. To generate a diff of this commit: cvs rdiff -u -r1.292 -r1.293

CVS commit: src/sys/kern

2022-02-05 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Feb 5 15:17:40 UTC 2022 Modified Files: src/sys/kern: subr_autoconf.c Log Message: cfdriver_iattr_count() is only used in a KASSERT, so #ifdef DIAGNOSTIC it. To generate a diff of this commit: cvs rdiff -u -r1.292 -r1.293

CVS commit: src/sys/kern

2022-02-04 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Feb 4 15:33:57 UTC 2022 Modified Files: src/sys/kern: vfs_mount.c Log Message: Stop clearing "v_mountedhere" in mount_domount() error path. We did not set it and may clear the value from another mount. To generate a diff

CVS commit: src/sys/kern

2022-02-04 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Feb 4 15:33:57 UTC 2022 Modified Files: src/sys/kern: vfs_mount.c Log Message: Stop clearing "v_mountedhere" in mount_domount() error path. We did not set it and may clear the value from another mount. To generate a diff

CVS commit: src/sys/kern

2022-01-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jan 29 20:35:11 UTC 2022 Modified Files: src/sys/kern: subr_autoconf.c Log Message: pmf(9): Conditionalize pmflock_debug output on PMFLOCK_DEBUG. This is really only helpful for debugging the software logic to handle the

CVS commit: src/sys/kern

2022-01-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jan 29 20:35:11 UTC 2022 Modified Files: src/sys/kern: subr_autoconf.c Log Message: pmf(9): Conditionalize pmflock_debug output on PMFLOCK_DEBUG. This is really only helpful for debugging the software logic to handle the

CVS commit: src/sys/kern

2022-01-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 1 15:10:53 UTC 2022 Modified Files: src/sys/kern: subr_pcu.c Log Message: Always declare function used in KASSERT To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/kern/subr_pcu.c Please note

CVS commit: src/sys/kern

2022-01-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 1 15:10:53 UTC 2022 Modified Files: src/sys/kern: subr_pcu.c Log Message: Always declare function used in KASSERT To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/kern/subr_pcu.c Please note

CVS commit: src/sys/kern

2022-01-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Jan 1 12:00:02 UTC 2022 Modified Files: src/sys/kern: kern_sleepq.c Log Message: s/happends/happens/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/kern/kern_sleepq.c Please note that

CVS commit: src/sys/kern

2022-01-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Jan 1 12:00:02 UTC 2022 Modified Files: src/sys/kern: kern_sleepq.c Log Message: s/happends/happens/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/kern/kern_sleepq.c Please note that

CVS commit: src/sys/kern

2022-01-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Jan 1 10:54:21 UTC 2022 Modified Files: src/sys/kern: kern_event.c Log Message: s/aquire/acquire/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/sys/kern/kern_event.c Please note that

CVS commit: src/sys/kern

2022-01-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Jan 1 10:54:21 UTC 2022 Modified Files: src/sys/kern: kern_event.c Log Message: s/aquire/acquire/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/sys/kern/kern_event.c Please note that

CVS commit: src/sys/kern

2021-12-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 28 13:28:24 UTC 2021 Modified Files: src/sys/kern: kern_uidinfo.c Log Message: kern: Show relevant variables for uidinfo counts in kasserts. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/sys/kern

2021-12-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 28 13:28:24 UTC 2021 Modified Files: src/sys/kern: kern_uidinfo.c Log Message: kern: Show relevant variables for uidinfo counts in kasserts. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/sys/kern

2021-12-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Dec 24 00:13:53 UTC 2021 Modified Files: src/sys/kern: subr_pool.c Log Message: pool(9): Fix default PR_NOALIGN for large pool caches. Was broken in recent change to separate some pool cache flags from pool flags. Fixes

CVS commit: src/sys/kern

2021-12-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Dec 24 00:13:53 UTC 2021 Modified Files: src/sys/kern: subr_pool.c Log Message: pool(9): Fix default PR_NOALIGN for large pool caches. Was broken in recent change to separate some pool cache flags from pool flags. Fixes

CVS commit: src/sys/kern

2021-12-21 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Dec 21 19:00:38 UTC 2021 Modified Files: src/sys/kern: kern_lwp.c Log Message: Rather than calling xc_barrier() in lwp_dtor(), set a pre-destruct hook on the lwp_cache and invoke the barrier there. To generate a diff of

CVS commit: src/sys/kern

2021-12-21 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Dec 21 19:00:38 UTC 2021 Modified Files: src/sys/kern: kern_lwp.c Log Message: Rather than calling xc_barrier() in lwp_dtor(), set a pre-destruct hook on the lwp_cache and invoke the barrier there. To generate a diff of

CVS commit: src/sys/kern

2021-12-03 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Fri Dec 3 08:33:30 UTC 2021 Modified Files: src/sys/kern: kern_hook.c Log Message: Only one space after comma To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/kern/kern_hook.c Please note that diffs are not

CVS commit: src/sys/kern

2021-12-03 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Fri Dec 3 08:33:30 UTC 2021 Modified Files: src/sys/kern: kern_hook.c Log Message: Only one space after comma To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/kern/kern_hook.c Please note that diffs are not

CVS commit: src/sys/kern

2021-11-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Nov 27 14:11:14 UTC 2021 Modified Files: src/sys/kern: kern_crashme.c Log Message: kern: Add debug.crashme.null_jump. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/kern/kern_crashme.c Please note

CVS commit: src/sys/kern

2021-11-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Nov 27 14:11:14 UTC 2021 Modified Files: src/sys/kern: kern_crashme.c Log Message: kern: Add debug.crashme.null_jump. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/kern/kern_crashme.c Please note

CVS commit: src/sys/kern

2021-11-25 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Nov 25 10:31:50 UTC 2021 Modified Files: src/sys/kern: kern_exec.c Log Message: Reverte my previous changes kern_exec.c r1.512. It panics. This changes was insufficient because es_emul is referenced by multiple execsw. To

CVS commit: src/sys/kern

2021-11-25 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Nov 25 10:31:50 UTC 2021 Modified Files: src/sys/kern: kern_exec.c Log Message: Reverte my previous changes kern_exec.c r1.512. It panics. This changes was insufficient because es_emul is referenced by multiple execsw. To

CVS commit: src/sys/kern

2021-11-24 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Nov 25 02:37:38 UTC 2021 Modified Files: src/sys/kern: kern_exec.c Log Message: Fix anonymous memory object leak for sigcode. - Repeating "modload compat_linux && /emul/linux/bin/ls && modunload compat_linux" will reproduce

CVS commit: src/sys/kern

2021-11-24 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Nov 25 02:37:38 UTC 2021 Modified Files: src/sys/kern: kern_exec.c Log Message: Fix anonymous memory object leak for sigcode. - Repeating "modload compat_linux && /emul/linux/bin/ls && modunload compat_linux" will reproduce

CVS commit: src/sys/kern

2021-11-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Nov 24 16:35:33 UTC 2021 Modified Files: src/sys/kern: sys_eventfd.c sys_timerfd.c Log Message: Fix "restart" semantics -- restart is terminal, so don't clear the condition when previous waiters have drained. ("restart" is

CVS commit: src/sys/kern

2021-11-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Nov 24 16:35:33 UTC 2021 Modified Files: src/sys/kern: sys_eventfd.c sys_timerfd.c Log Message: Fix "restart" semantics -- restart is terminal, so don't clear the condition when previous waiters have drained. ("restart" is

CVS commit: src/sys/kern

2021-11-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Nov 13 14:52:08 UTC 2021 Modified Files: src/sys/kern: vfs_lookup.c Log Message: If lookup_fastforward() loses an intermediate searchdir, has to roll back and retry it must use the initial searchdir from *searchdir_ret for

CVS commit: src/sys/kern

2021-11-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Nov 13 14:52:08 UTC 2021 Modified Files: src/sys/kern: vfs_lookup.c Log Message: If lookup_fastforward() loses an intermediate searchdir, has to roll back and retry it must use the initial searchdir from *searchdir_ret for

CVS commit: src/sys/kern

2021-11-06 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Nov 7 01:51:56 UTC 2021 Modified Files: src/sys/kern: sys_sig.c Log Message: Add a comment describing why we give carte blanche to processes marked as PK_32. NFC. To generate a diff of this commit: cvs rdiff -u -r1.54

CVS commit: src/sys/kern

2021-11-06 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Nov 7 01:51:56 UTC 2021 Modified Files: src/sys/kern: sys_sig.c Log Message: Add a comment describing why we give carte blanche to processes marked as PK_32. NFC. To generate a diff of this commit: cvs rdiff -u -r1.54

CVS commit: src/sys/kern

2021-11-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 1 08:35:17 UTC 2021 Modified Files: src/sys/kern: sys_futex.c Log Message: fix a typo in compare_futex_key(). To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/kern/sys_futex.c Please note that diffs

CVS commit: src/sys/kern

2021-11-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 1 08:35:17 UTC 2021 Modified Files: src/sys/kern: sys_futex.c Log Message: fix a typo in compare_futex_key(). To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/kern/sys_futex.c Please note that diffs

CVS commit: src/sys/kern

2021-10-31 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 31 16:26:26 UTC 2021 Modified Files: src/sys/kern: kern_lock.c Log Message: Revert the 2015 change I made that allowed sleeping in the idle lwp if it wasn't running yet, e.g. in cpu_hatch --- sys/kern/kern_lock.c | 3 +--

CVS commit: src/sys/kern

2021-10-31 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 31 16:26:26 UTC 2021 Modified Files: src/sys/kern: kern_lock.c Log Message: Revert the 2015 change I made that allowed sleeping in the idle lwp if it wasn't running yet, e.g. in cpu_hatch --- sys/kern/kern_lock.c | 3 +--

CVS commit: src/sys/kern

2021-10-21 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Thu Oct 21 11:01:03 UTC 2021 Modified Files: src/sys/kern: makesyscalls.sh Log Message: s/optiona]/optional]/ To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/sys/kern/makesyscalls.sh Please note that diffs

CVS commit: src/sys/kern

2021-10-21 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Thu Oct 21 11:01:03 UTC 2021 Modified Files: src/sys/kern: makesyscalls.sh Log Message: s/optiona]/optional]/ To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/sys/kern/makesyscalls.sh Please note that diffs

CVS commit: src/sys/kern

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Oct 21 01:11:21 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: Re-factor the code that computes the EVFILT_TIMER value into its own function. NFC. To generate a diff of this commit: cvs rdiff -u -r1.133

CVS commit: src/sys/kern

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Oct 21 01:11:21 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: Re-factor the code that computes the EVFILT_TIMER value into its own function. NFC. To generate a diff of this commit: cvs rdiff -u -r1.133

CVS commit: src/sys/kern

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Oct 21 00:54:15 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: - Don't use a separate kqueue_timer_lock; just protect those knotes with the kq->kq_lock. - Re-factor the guts of knote_activate() into

CVS commit: src/sys/kern

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Oct 21 00:54:15 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: - Don't use a separate kqueue_timer_lock; just protect those knotes with the kq->kq_lock. - Re-factor the guts of knote_activate() into

CVS commit: src/sys/kern

2021-10-16 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sat Oct 16 07:12:01 UTC 2021 Modified Files: src/sys/kern: vfs_subr.c Log Message: Spinkle some KNF spaces after commas. To generate a diff of this commit: cvs rdiff -u -r1.490 -r1.491 src/sys/kern/vfs_subr.c Please note that

CVS commit: src/sys/kern

2021-10-16 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sat Oct 16 07:12:01 UTC 2021 Modified Files: src/sys/kern: vfs_subr.c Log Message: Spinkle some KNF spaces after commas. To generate a diff of this commit: cvs rdiff -u -r1.490 -r1.491 src/sys/kern/vfs_subr.c Please note that

CVS commit: src/sys/kern

2021-10-11 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 11 10:59:09 UTC 2021 Modified Files: src/sys/kern: subr_autoconf.c Log Message: Squash "holding up boot" messages into a single line, and only print the device list if no progress has been made in 1 second. To

CVS commit: src/sys/kern

2021-10-11 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 11 10:59:09 UTC 2021 Modified Files: src/sys/kern: subr_autoconf.c Log Message: Squash "holding up boot" messages into a single line, and only print the device list if no progress has been made in 1 second. To

CVS commit: src/sys/kern

2021-10-10 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Oct 10 19:11:56 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: Check _KERNEL_OPT before including opt_ddb.h. To generate a diff of this commit: cvs rdiff -u -r1.129 -r1.130 src/sys/kern/kern_event.c

CVS commit: src/sys/kern

2021-10-10 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Oct 10 19:11:56 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: Check _KERNEL_OPT before including opt_ddb.h. To generate a diff of this commit: cvs rdiff -u -r1.129 -r1.130 src/sys/kern/kern_event.c

CVS commit: src/sys/kern

2021-10-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Oct 6 05:24:54 UTC 2021 Modified Files: src/sys/kern: uipc_mbuf.c Log Message: Fix a bug that NMBCLUSTERS(kern.mbuf.nmbclusters) can't be changed by sysctl. To generate a diff of this commit: cvs rdiff -u -r1.243 -r1.244

<    4   5   6   7   8   9   10   11   12   13   >