freebsd-src/sys/kern
Kyle Evans ccb973da1f
Some checks are pending
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-14, /usr/lib/llvm-14/bin, ubuntu-22.04, bmake libarchive-dev clang-14 lld-14, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-14, /usr/lib/llvm-14/bin, ubuntu-22.04, bmake libarchive-dev clang-14 lld-14, arm64, aarch64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /opt/homebrew/opt/llvm@18/bin, macos-latest, bmake libarchive llvm@18, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /opt/homebrew/opt/llvm@18/bin, macos-latest, bmake libarchive llvm@18, arm64, aarch64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /usr/lib/llvm-18/bin, ubuntu-24.04, bmake libarchive-dev clang-18 lld-18, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /usr/lib/llvm-18/bin, ubuntu-24.04, bmake libarchive-dev clang-18 lld-18, arm64, aarch64) (push) Waiting to run
kern: restore signal mask before ast() for pselect/ppoll
It's possible to take a signal after pselect/ppoll have set their return
value, but before we actually return to userland.  This results in
taking a signal without reflecting it in the return value, which weakens
the guarantees provided by these functions.

Switch both to restore the signal mask before we would deliver signals
on return to userland.  If a signal was received after the wait was
over, then we'll just have the signal queued up for the next time it
comes unblocked.  The modified signal mask is retained if we were
interrupted so that ast() actually handles the signal, at which point
the signal mask is restored.

des@ has a test case demonstrating the issue in D47738 which will
follow.

Note for MFC: TDA_PSELECT is a KBI break, we should just inline
ast_sigsuspend() in pselect/ppoll for stable branches.  It's not exactly
the same, but it will be close enough.

Reported by:	des
Reviewed by:	des (earlier version), kib
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D47741
2024-11-25 22:04:48 -06:00
..
bus_if.m new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE 2024-03-13 15:05:54 -07:00
clock_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
cpufreq_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
device_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
firmw.S arm64: Support BTI checking in most of the kernel 2024-06-05 09:23:40 +00:00
genassym.sh Cleanup commit. Use PROGRAM instead of PROGGRAM. 2024-11-03 17:55:56 -07:00
genoffset.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
genoffset.sh genoffset.sh: fix build break on MacOS 2023-11-16 17:54:28 +00:00
imgact_aout.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
imgact_binmisc.c man filesystems: fix more xrefs after move to s4 2024-06-27 18:32:05 -06:00
imgact_elf32.c sys/kern: Remove a few sys/cdefs.h around some elf things 2024-02-20 20:40:19 -07:00
imgact_elf64.c sys/kern: Remove a few sys/cdefs.h around some elf things 2024-02-20 20:40:19 -07:00
imgact_elf.c arm: Assume __ARM_ARCH == 7 2024-09-11 10:40:13 +00:00
imgact_shell.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
init_main.c kernel: Make some compile time constant variables const 2024-08-30 18:26:30 +08:00
init_sysent.c sysent: regen with refactored code 2024-10-30 21:04:31 +00:00
kern_acct.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_alq.c alq, siftr: add panic/debugger checks to shutdown hooks 2023-11-23 12:07:42 -04:00
kern_boottrace.c boottrace: Stop checking for failures from realloc(M_WAITOK) 2024-09-03 18:25:17 +08:00
kern_clock.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
kern_clocksource.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
kern_condvar.c sleepqueue: Remove kernel stack swapping support, part 10 2024-07-29 01:43:59 +00:00
kern_conf.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_cons.c vt/sc: retire logic to select vt(4) by default for UEFI boot 2024-05-25 11:00:35 -04:00
kern_context.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_cpu.c cpufreq: Use a real device_probe routine 2024-10-21 10:24:15 -04:00
kern_cpuset.c ktrace: Record cpuset violations with KTR_CAPFAIL 2024-04-07 18:52:51 -05:00
kern_ctf.c kern_ctf.c: Don't print out warning messages unconditionally 2024-03-29 20:32:18 +01:00
kern_descrip.c Add proc_nfiles(9) 2024-09-27 18:01:56 +03:00
kern_devctl.c devctl: Disable the boottime optimization of suppressing NOMATCH 2024-05-18 07:07:16 -06:00
kern_dtrace.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
kern_dump.c kerneldump: fix incorrect SETSIZE to BIT_COPY_STORE_REL when livedump 2024-11-23 16:35:07 +00:00
kern_environment.c Reduce reliance on sys/sysproto.h pollution 2024-04-15 21:35:40 +01:00
kern_et.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_event.c kcmp(2): implement for generic file types 2024-01-24 07:11:26 +02:00
kern_exec.c ktrace: log execve(2) arguments and environment 2024-11-11 13:19:35 -08:00
kern_exit.c capsicum: allow subset of wait4(2) functionality 2024-08-27 17:22:12 +02:00
kern_fail.c kern_fail: Stop checking for failures from fp_malloc(M_WAITOK) 2024-09-03 18:25:16 +08:00
kern_ffclock.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
kern_fork.c thread: Simplify sanitizer integration with thread creation 2024-04-22 11:46:59 -04:00
kern_hhook.c hhook: Sprinkle const qualifiers where appropriate 2024-10-01 23:28:37 +08:00
kern_idle.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_intr.c ithread: Improve synchronization in ithread_destroy() 2024-07-30 14:37:32 +00:00
kern_jail.c jail: allow adjustment of host time 2024-06-28 12:23:31 +02:00
kern_kcov.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_khelp.c khelp: Sprinkle const qualifiers where appropriate 2024-10-01 23:28:37 +08:00
kern_kthread.c kthread: Set *tdptr earlier in kproc_kthread_add() 2024-04-25 09:35:38 -04:00
kern_ktr.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
kern_ktrace.c ktrace: log execve(2) arguments and environment 2024-11-11 13:19:35 -08:00
kern_linker.c linker: Handle a truncated hints file properly 2024-10-23 22:12:45 +00:00
kern_lock.c sleepqueue: Remove kernel stack swapping support, part 10 2024-07-29 01:43:59 +00:00
kern_lockf.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
kern_lockstat.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_loginclass.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_malloc.c malloc(9): assert wait flags. 2024-10-31 01:19:48 +01:00
kern_mbuf.c mbuf: Don't force all M_EXTPG mbufs to be read-only 2024-10-31 16:32:31 -04:00
kern_membarrier.c Reduce reliance on sys/sysproto.h pollution 2024-04-15 21:35:40 +01:00
kern_mib.c kernel: Make some compile time constant variables const 2024-08-30 18:26:30 +08:00
kern_module.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_mtxpool.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_mutex.c locks: Use %p to print uintptr_t values 2024-11-14 09:57:56 -05:00
kern_ntptime.c ntptime: Use time_t for tv_sec related variables 2024-09-06 12:34:32 -06:00
kern_osd.c Add function to OSD to get values without taking the lock. 2024-05-22 15:55:48 -04:00
kern_physio.c proc: Remove kernel stack swapping support, part 7 2024-07-29 01:43:49 +00:00
kern_pmc.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
kern_poll.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
kern_priv.c procfs require PRIV_PROC_MEM_WRITE to write mem 2024-09-19 13:10:27 -07:00
kern_proc.c vm_object: do not assume that un_pager.devp.dev is cdev 2024-11-06 02:11:00 +02:00
kern_procctl.c proc: Remove kernel stack swapping support, part 7 2024-07-29 01:43:49 +00:00
kern_prot.c cred: crsetgroups(): Throw away old groups before crextend() 2024-11-04 14:38:08 +01:00
kern_racct.c proc: Remove kernel stack swapping support, part 6 2024-07-29 01:43:18 +00:00
kern_rangelock.c rangelock: Use atomic_testandset_ptr 2024-11-19 10:25:08 -05:00
kern_rctl.c Reduce reliance on sys/sysproto.h pollution 2024-04-15 21:35:40 +01:00
kern_resource.c sysctl: add KERN_PROC_RLIMIT_USAGE 2024-09-27 18:02:23 +03:00
kern_rmlock.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
kern_rwlock.c locks: Use %p to print uintptr_t values 2024-11-14 09:57:56 -05:00
kern_sdt.c sdt: Support fetching the probe sixth argument with MI machinery 2024-06-20 12:40:25 -04:00
kern_sema.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_sendfile.c mbuf: Don't force all M_EXTPG mbufs to be read-only 2024-10-31 16:32:31 -04:00
kern_sharedpage.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
kern_shutdown.c cons: Add boot option to mute boot messages after banner 2024-04-30 16:23:47 -04:00
kern_sig.c kern: add a TDA_PSELECT for early restoration of sigmask 2024-11-25 22:04:48 -06:00
kern_switch.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
kern_sx.c sleepqueue: Remove kernel stack swapping support, part 10 2024-07-29 01:43:59 +00:00
kern_synch.c sleepqueue: Remove kernel stack swapping support, part 10 2024-07-29 01:43:59 +00:00
kern_syscalls.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_sysctl.c sysctl: Make sysctl_ctx_free() a bit safer 2024-05-02 15:42:28 -04:00
kern_tc.c timerfd: Move implementation from linux compat to sys/kern 2023-08-24 14:28:56 -06:00
kern_thr.c kern_thr.c: normalize includes 2024-04-23 19:51:07 +03:00
kern_thread.c rangelocks: stop caching per-thread rl_q_entry 2024-08-30 00:32:48 +03:00
kern_time.c Reduce reliance on sys/sysproto.h pollution 2024-04-15 21:35:40 +01:00
kern_timeout.c callout: provide CALLOUT_TRYLOCK flag 2024-10-24 10:14:03 -07:00
kern_tslog.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern_ubsan.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
kern_umtx.c _utmx_op: don't recurse on chain busy 2024-11-13 16:18:40 -06:00
kern_uuid.c Reduce reliance on sys/sysproto.h pollution 2024-04-15 21:35:40 +01:00
kern_vnodedumper.c livedump: Silence KASAN and KMSAN when livedumping 2024-11-25 21:12:51 +00:00
kern_xxx.c compat_freebsd4: Add const qualifier to the local variable s inside function freebsd4_uname() 2024-05-20 12:02:32 +08:00
ksched.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
link_elf_obj.c kern linker: Don't invoke dtors without having invoked ctors 2024-03-31 14:15:11 -04:00
link_elf.c kern linker: Don't invoke dtors without having invoked ctors 2024-03-31 14:15:11 -04:00
linker_if.m ddb: Add CTF-based pretty printing 2024-03-22 04:03:33 +01:00
Make.tags.inc sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
Makefile sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
md4c.c Consolidate md4 implementations written in C 2024-09-29 22:34:21 -05:00
md5c.c libmd: stop exporting Transform() symbols 2024-09-29 22:34:20 -05:00
msi_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
p1003_1b.c sched_setscheduler(2): Change realtime privilege check 2024-02-14 15:24:11 +01:00
pic_if.m Revert "intrng: change multi-interrupt root support type to enum" 2024-10-25 16:18:40 -05:00
posix4_mib.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
sched_4bsd.c thread: Remove kernel stack swapping support, part 4 2024-07-29 01:40:22 +00:00
sched_ule.c thread: Remove kernel stack swapping support, part 4 2024-07-29 01:40:22 +00:00
serdev_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
stack_protector.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
subr_acl_nfs4.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_acl_posix1e.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_asan.c livedump: Silence KASAN and KMSAN when livedumping 2024-11-25 21:12:51 +00:00
subr_atomic64.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_autoconf.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
subr_blist.c Replace random sbuf_printf() with cheaper cat/putc. 2023-11-22 17:27:17 -05:00
subr_boot.c cons: Add boot option to mute boot messages after banner 2024-04-30 16:23:47 -04:00
subr_bufring.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_bus_dma.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
subr_bus.c new-bus: Fix some shortcomings in disabling devices via hints 2024-11-23 11:39:02 -05:00
subr_busdma_bounce.c busdma_bounce: Replace a SYSINIT with static initializations 2024-11-12 01:57:35 +00:00
subr_busdma_bufalloc.c busdma: uma_zcreate() does not fail 2024-04-24 08:46:41 -04:00
subr_capability.c capsicum: introduce cap_rights_is_empty Function 2023-12-11 12:15:46 +01:00
subr_clock.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_clockcalib.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_compressor.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
subr_counter.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_coverage.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_csan.c atomic(9): Implement atomic_testand(clear|set)_ptr 2024-11-19 10:24:50 -05:00
subr_devmap.c devmap: eliminate unused arguments 2024-06-04 20:17:47 -03:00
subr_devstat.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_disk.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
subr_dummy_vdso_tc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_early.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_epoch.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_eventhandler.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_fattime.c fattime: fix fattime to timespec conversion of dates beyond 2106-02-06 2024-05-01 07:56:41 +03:00
subr_filter.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_firmware.c proc: Remove kernel stack swapping support, part 7 2024-07-29 01:43:49 +00:00
subr_gtaskqueue.c gtaskqueue: Fix a typo 2023-12-31 11:49:08 -05:00
subr_hash.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_hints.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_intr.c Revert "intrng: change multi-interrupt root support type to enum" 2024-10-25 16:18:40 -05:00
subr_kdb.c kdb_sysctl_trap: suppress gcc -Warray-bounds 2024-07-09 10:58:21 -07:00
subr_kobj.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_lock.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
subr_log.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_mchain.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_memdesc.c memdesc: Helper function to construct mbuf chain backed by memdesc buffer 2024-01-09 11:09:43 -08:00
subr_module.c linker: Add MODINFOMD_SPLASH type 2024-07-11 08:47:21 +02:00
subr_msan.c livedump: Silence KASAN and KMSAN when livedumping 2024-11-25 21:12:51 +00:00
subr_msgbuf.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
subr_param.c cred: 'kern.ngroups' tunable: Limit it to avoid internal overflows 2024-11-02 21:37:41 +01:00
subr_pcpu.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
subr_pctrie.c pctrie: breakup pctrie_root_store 2024-11-04 13:23:40 -06:00
subr_physmem.c physmem: Correct a comment 2024-06-20 17:45:40 -04:00
subr_pidctrl.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_power.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_prf.c kvprintf(): Fix '+' conversion handling 2024-09-06 12:34:30 -06:00
subr_prng.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_prof.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_rangeset.c rangeset: speed up range traversal 2024-09-09 16:50:14 -05:00
subr_rman.c kern/rman: mark rman get functions as taking constants 2024-05-21 17:52:29 -06:00
subr_rtc.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
subr_sbuf.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_scanf.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_sfbuf.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_sglist.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_sleepqueue.c sleepqueue: Fix the comment for sleepq_switch() 2024-11-12 01:57:24 +00:00
subr_smp.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_smr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_stack.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_stats.c stats: Fix the build under gcc 2024-06-05 09:23:40 +00:00
subr_syscall.c ktrace: Record syscall violations with KTR_CAPFAIL 2024-04-07 18:52:51 -05:00
subr_taskqueue.c Schedule fast taskqueue callouts on right CPU. 2023-12-26 22:55:24 -05:00
subr_terminal.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
subr_trap.c Optimize HPTS so that little work is done until we have a hpts thread that is over the connection threshold 2024-03-28 08:12:37 -04:00
subr_turnstile.c turnstile: Mention the lock name when panicking due to a sleeping thread 2024-08-10 15:42:35 +00:00
subr_uio.c uio: Use switch statements when handling UIO_READ vs UIO_WRITE 2024-05-10 13:43:36 -07:00
subr_unit.c subr_unit.c: another attempt to fix the build 2023-08-18 19:28:42 +03:00
subr_vmem.c vm: Retire kmem_arena 2024-07-24 14:31:40 -05:00
subr_witness.c Replace random sbuf_printf() with cheaper cat/putc. 2023-11-22 17:27:17 -05:00
sys_capability.c sys_capability.c: update the source of CAPENABLED 2024-10-22 19:44:41 +01:00
sys_eventfd.c kcmp(2): implement for generic file types 2024-01-24 07:11:26 +02:00
sys_generic.c kern: restore signal mask before ast() for pselect/ppoll 2024-11-25 22:04:48 -06:00
sys_getrandom.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
sys_pipe.c sys_pipe: consistently use cr_ruidinfo for accounting of pipebuf 2024-09-21 00:08:51 +03:00
sys_procdesc.c kcmp(2): implement for procdesc 2024-01-24 07:11:27 +02:00
sys_process.c proc_rwmem check PRIV_PROC_MEM_WRITE when writing 2024-11-08 16:11:33 -08:00
sys_socket.c unix: Add support for atomically setting the socket mode 2024-11-03 16:46:53 +00:00
sys_timerfd.c timerfd_create: fix after cf742faa39 2024-03-06 18:28:02 +01:00
syscalls.c Regen 2024-09-27 18:02:23 +03:00
syscalls.conf libsys: add a libsys.h 2024-04-16 17:48:07 +01:00
syscalls.master sysent: add a NOLIB modifer to prevent stub generation 2024-11-01 15:44:47 +00:00
systrace_args.c sysent: regen for typo fix 2024-10-22 19:21:26 +01:00
sysv_ipc.c sysvshm: add shmobjinfo() function to find key/seq of the segment backed by obj 2024-10-07 11:22:12 +03:00
sysv_msg.c sysv_ipc: remove sys/cdefs.h include 2024-10-07 11:22:12 +03:00
sysv_sem.c sysv_ipc: remove sys/cdefs.h include 2024-10-07 11:22:12 +03:00
sysv_shm.c sysvshm: add shmobjinfo() function to find key/seq of the segment backed by obj 2024-10-07 11:22:12 +03:00
tty_compat.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tty_info.c thread: Remove kernel stack swapping support, part 4 2024-07-29 01:40:22 +00:00
tty_inq.c kern: tty: fix recanonicalization 2024-01-24 13:48:31 -06:00
tty_outq.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
tty_pts.c kcmp(2): implement for generic file types 2024-01-24 07:11:26 +02:00
tty_tty.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
tty_ttydisc.c kern: tty: recanonicalize the buffer on ICANON/VEOF/VEOL changes 2024-01-15 20:55:59 -06:00
tty.c kern: fix panic with disabled ttys 2024-02-26 15:11:27 -05:00
uipc_accf.c accept_filter: return different errors for non-listener and a busy socket 2024-04-24 21:55:58 -07:00
uipc_debug.c sockets: garbage collect SS_ISCONFIRMING 2024-01-30 10:38:33 -08:00
uipc_domain.c uipc_domain: Fix a typo in a source code comment 2024-04-21 09:51:14 +02:00
uipc_ktls.c ktls: Enable by default 2024-11-25 13:50:27 -05:00
uipc_mbuf2.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
uipc_mbuf.c mbuf: Don't force all M_EXTPG mbufs to be read-only 2024-10-31 16:32:31 -04:00
uipc_mbufhash.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
uipc_mqueue.c mqueue: Introduce kern_kmq_timedreceive & kern_kmq_timedsend 2024-05-23 13:40:46 -06:00
uipc_sem.c kcmp(2): implement for generic file types 2024-01-24 07:11:26 +02:00
uipc_shm.c shm_alloc(): cleanup 2024-10-09 14:28:12 +03:00
uipc_sockbuf.c socket: Implement SO_SPLICE 2024-09-10 16:51:37 +00:00
uipc_socket.c socket: Export the FIB number of sockets 2024-11-04 14:56:19 +00:00
uipc_syscalls.c socket: Pass capsicum rights down to socket option handlers 2024-07-08 12:10:48 -04:00
uipc_usrreq.c unix: Add support for atomically setting the socket mode 2024-11-03 16:46:53 +00:00
vfs_acl.c acl_copyin: avoid returning uninitialized memory 2024-08-09 10:40:59 -04:00
vfs_aio.c aio: remove write-only jobid & kernelinfo 2024-11-15 10:47:46 -05:00
vfs_bio.c buf: Add a runningbufclaim() helper 2024-11-22 14:03:40 +00:00
vfs_cache.c kern___realpathat(): honor uio_seg argument 2024-11-25 21:36:41 +02:00
vfs_cluster.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vfs_default.c vfs: Fix vop_stdis_text() 2024-11-19 21:03:14 +00:00
vfs_export.c nfs: Fallback to GID_NOGROUP on no groups 2024-11-03 16:45:43 +01:00
vfs_extattr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vfs_hash.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vfs_init.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vfs_lookup.c vfs_lookup.c: only call ktrcapfail() if KTRACE is enabled 2024-04-24 22:43:32 +03:00
vfs_mount.c vfs_domount_update(): postpone setting MNT_UNION until VFS_MOUNT() is done 2024-05-16 04:00:26 +03:00
vfs_mountroot.c Add an implementation of the 9P filesystem 2024-06-19 13:12:04 +01:00
vfs_subr.c Revert commit 8733bc277a 2024-11-13 11:46:47 -08:00
vfs_syscalls.c kern_copy_file_range(): handle rangelock recursion 2024-08-28 17:34:40 +03:00
vfs_vnops.c uio: Use switch statements when handling UIO_READ vs UIO_WRITE 2024-05-10 13:43:36 -07:00
vnode_if.src VFS: add VOP_GETLOWVNODE() 2023-11-28 19:32:53 +02:00