opnsense-src/sys/kern
Jessica Clarke 8a6ab0f71f Pre-quote macros passed to .incbin to avoid unwanted substitution
Currently for the MFS, firmware and VDSO template assembly files we pass
the path to include with .incbin unquoted and use __XSTRING within the
assembly file to stringify it. However, __XSTRING doesn't just perform a
single level of expansion, it performs the normal full expansion of the
macro, and so if the path itself happens to tokenise to something that
includes a defined macro in it that will itself be substituted. For
example, with #define MACRO 1, a path like /path/containing/MACRO/in/it
will expand to /path/containing/1/in/it and then, when stringified, end
up as "/path/containing/1/in/it", not the intended string. Normally,
macros have names that start or end witih underscores and are unlikely
to appear in a tokenised path (even if technically they could), but now
that we've switched to GNU C as of commit ec41a96daa ("sys: Switch the
kernel's C standard from C99 to GNU99.") there are a few new macros
defined which don't start or end with underscores: unix, which is always
defined to 1, and i386, which is defined to 1 on i386. The former
probably doesn't appear in user paths in practice, but the latter has
been seen to and is likely quite common in the wild.

Fix this by defining the macro pre-quoted instead of using __XSTRING.
Note that technically we don't need to do this for vdso_wrap.S today as
all the paths passed to it are safe file names with no user-controlled
prefix but we should do it anyway for consistency and robustness against
future changes.

This allows make tinderbox to pass when built with source and object
directories inside ~/path-with-unix, which would otherwise expand to
~/path-with-1 and break.

PR:	272744
Fixes:	ec41a96daa ("sys: Switch the kernel's C standard from C99 to GNU99.")
2023-07-28 05:08:43 +01:00
..
bus_if.m subr_bus: restore bus_null_rescan() 2022-06-23 16:07:00 -03:00
clock_if.m
cpufreq_if.m
device_if.m
firmw.S Pre-quote macros passed to .incbin to avoid unwanted substitution 2023-07-28 05:08:43 +01:00
genassym.sh genassym.sh: Fix two minor issues found by shellcheck 2021-07-28 13:49:16 -06:00
genoffset.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
genoffset.sh spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
imgact_aout.c sysentvec: Retire sv_imgact_try as unneeded anymore 2023-05-29 11:18:11 +03:00
imgact_binmisc.c imgact_binmisc: Optionally pre-open the interpreter vnode 2022-12-08 14:32:03 +00:00
imgact_elf.c imgact: Make et_dyn_addr part of image_params 2023-05-31 00:15:43 +01:00
imgact_elf32.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
imgact_elf64.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
imgact_shell.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
init_main.c killpg(2): close a race with fork(2), part1 2023-07-04 06:21:53 +03:00
init_sysent.c Regenerate sysent stuff after $FreeBSD$ removal 2023-06-09 07:28:27 -06:00
kern_acct.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
kern_alq.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_boottrace.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_clock.c deadlkres: Make parameters settable with tunables 2023-03-03 11:16:41 -05:00
kern_clocksource.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_condvar.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_conf.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_cons.c Revert "Revert "tslog: Annotate some early boot functions"" 2023-06-04 22:49:38 -07:00
kern_context.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_cpu.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_cpuset.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_ctf.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_descrip.c During F_SETFL, don't change file flags on error 2023-07-10 08:13:58 -06:00
kern_devctl.c devctl: allow to register a hook to receive the events 2023-06-01 23:01:40 +02:00
kern_dtrace.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_dump.c kerneldump: remove physical from dump routines 2022-05-13 10:43:19 -03:00
kern_environment.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_et.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_event.c kevent: Make references to filter definitions const 2023-06-02 13:43:15 -04:00
kern_exec.c pmc: Rework PROCEXEC event to support PIEs 2023-05-31 00:20:36 +01:00
kern_exit.c Revert "killpg(): close a race with fork(), part 2" 2023-07-26 18:12:55 +03:00
kern_fail.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_ffclock.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_fork.c fork1(): properly track the state of the pg_killsx lock 2023-07-27 02:33:58 +03:00
kern_hhook.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_idle.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_intr.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_jail.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_kcov.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_khelp.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_kthread.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_ktr.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_ktrace.c ktrace: Make the data lengths table const 2023-06-01 17:18:23 -04:00
kern_linker.c vfs: use __enum_uint8 for vtype and vstate 2023-07-05 15:06:30 +00:00
kern_lock.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_lockf.c kern_lockf.c: fix typo 2023-07-05 02:11:37 +03:00
kern_lockstat.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_loginclass.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_malloc.c kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers. 2022-09-22 15:09:19 -07:00
kern_mbuf.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_mib.c Allow sysctl hw.machine/hw.machine_arch in capability mode 2023-02-06 14:00:52 -05:00
kern_module.c modules: fix freebsd32_modstat on big endian platforms 2023-07-07 00:22:59 -04:00
kern_mtxpool.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_mutex.c callout(9): Allow spin locks use with callout_init_mtx(). 2021-09-02 21:16:46 -04:00
kern_ntptime.c kern_ntptime: Fix undefined behavior of the shift operator 2023-06-09 14:04:54 -07:00
kern_osd.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_physio.c SPDX: Not BSD-4-Clause 2022-09-16 21:49:16 -06:00
kern_pmc.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_poll.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_priv.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_proc.c killpg(): more carefully avoid LoR 2023-07-08 22:05:25 +03:00
kern_procctl.c reapkill: handle possible pid reuse after the pid was recorded as signalled 2023-05-30 01:10:36 +03:00
kern_prot.c killpg(): more carefully avoid LoR 2023-07-08 22:05:25 +03:00
kern_racct.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_rangelock.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_rctl.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_resource.c inline_fls: drop compile-time check 2023-07-06 13:32:59 -05:00
kern_rmlock.c rms: add rms_assert_rlock_ok 2022-08-23 19:15:48 +00:00
kern_rwlock.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_sdt.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_sema.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_sendfile.c Fixes in the tcp infrastructure with respect to stack changes as well as other infrastructure updates for incoming rack features. 2023-04-01 01:46:38 -04:00
kern_sharedpage.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_shutdown.c kdb: Modify securelevel policy 2023-03-30 10:45:00 -04:00
kern_sig.c sigtd(): prefer non-stopped thread as a target for signal queue 2023-07-26 18:12:55 +03:00
kern_switch.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_sx.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_synch.c mi_switch(): clean up switch types and their usage 2023-02-09 12:01:32 -04:00
kern_syscalls.c modules: bzero the modspecific_t 2023-07-01 18:58:46 -04:00
kern_sysctl.c kern_sysctl: Remove double words in source code comments 2023-04-18 07:14:57 +02:00
kern_tc.c pps: Round to closest integer in pps_event() 2023-02-27 15:10:55 -07:00
kern_thr.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_thread.c Revert "killpg(): close a race with fork(), part 2" 2023-07-26 18:12:55 +03:00
kern_time.c time: s/ppsratecheck/eventratecheck 2023-02-24 19:26:36 +00:00
kern_timeout.c callout: Remove an unneeded MTX_NEW 2023-04-26 11:15:56 -04:00
kern_tslog.c tslog: Handle curthread equal to NULL 2023-06-04 10:16:22 -07:00
kern_ubsan.c ubsan: Fix a typo in an error message 2021-09-25 11:47:24 +02:00
kern_umtx.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_uuid.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern_vnodedumper.c kerneldump: Inline dump_savectx() into its callers 2023-03-20 14:16:28 -04:00
kern_xxx.c vfs: retire KERN_VNODE 2023-03-17 16:21:45 +00:00
ksched.c ksched: correct return code for invalid priority 2022-10-17 15:12:13 -03:00
link_elf.c Revert "Revert "tslog: Annotate some early boot functions"" 2023-06-04 22:49:38 -07:00
link_elf_obj.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linker_if.m kernel linker: do not read debug symbol tables for non-debug symbols 2021-12-08 23:32:29 +02:00
Make.tags.inc Bring the tags and links entries for amd64 up to date. 2021-09-27 20:04:51 -07:00
Makefile syscalls.master: switch to CAPENABLED flags 2021-09-01 21:58:16 +01:00
md4c.c sys/kern: Use C99 fixed-width integer types. 2021-12-28 09:41:08 -08:00
md5c.c md5: Use c89 function definitions 2022-11-27 13:22:31 -07:00
msi_if.m Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
p1003_1b.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
pic_if.m
posix4_mib.c kern: clean up empty lines in .c and .h files 2020-09-01 22:12:32 +00:00
sched_4bsd.c mi_switch(): clean up switch types and their usage 2023-02-09 12:01:32 -04:00
sched_ule.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
serdev_if.m
stack_protector.c
subr_acl_nfs4.c vfs: use __enum_uint8 for vtype and vstate 2023-07-05 15:06:30 +00:00
subr_acl_posix1e.c vfs: use __enum_uint8 for vtype and vstate 2023-07-05 15:06:30 +00:00
subr_asan.c KASAN: add bus_space*read*_8 for aarch64 2023-04-15 16:13:56 +00:00
subr_atomic64.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_autoconf.c Adjust function definition in subr_autoconf.c to avoid clang 15 warnings 2022-07-26 19:59:57 +02:00
subr_blist.c inline_ffs: remove backup binary implementation 2023-07-06 13:36:12 -05:00
subr_boot.c Revert "Revert "tslog: Annotate some early boot functions"" 2023-06-04 22:49:38 -07:00
subr_bufring.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_bus.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_bus_dma.c bus_dma: Trim CAM includes from subr_bus_dma.c 2023-07-24 10:26:06 -07:00
subr_busdma_bounce.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_busdma_bufalloc.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_capability.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_clock.c Remove duplicated empty lines from kern/*.c 2020-01-30 20:05:05 +00:00
subr_clockcalib.c clockcalib: Fix an overflow bug 2022-01-20 08:23:38 -05:00
subr_compressor.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_counter.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_coverage.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_csan.c kcsan: add __tsan_mem(cpy|move|set) aliases for clang >= 16 2023-04-23 20:59:06 +02:00
subr_devmap.c Remove pre-armv6 support from devmap 2022-10-05 09:56:17 +01:00
subr_devstat.c devstat: Remove DTrace io probes lacking a BIO reference 2022-08-29 13:22:36 -04:00
subr_disk.c Enable bioq 'car limit' added at r335066 at 128 bios. 2020-10-26 04:04:06 +00:00
subr_dummy_vdso_tc.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_early.c
subr_epoch.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_eventhandler.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_fattime.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_filter.c kern: Fix two typos in source code comments 2022-04-02 14:15:27 +02:00
subr_firmware.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_gtaskqueue.c Import kernel WireGuard support 2020-11-29 19:38:03 +00:00
subr_hash.c
subr_hints.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_intr.c Continue searching for an irq map from the start 2023-06-28 18:03:08 +01:00
subr_kdb.c Revert "Revert "tslog: Annotate some early boot functions"" 2023-06-04 22:49:38 -07:00
subr_kobj.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_lock.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_log.c Document kern.log_wakeups_per_second. 2021-08-04 11:50:34 -07:00
subr_mchain.c kern: clean up empty lines in .c and .h files 2020-09-01 22:12:32 +00:00
subr_module.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_msan.c kmsan: Use the correct origin bytes in kmsan_check_arg() 2023-07-27 16:02:03 -04:00
subr_msgbuf.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_param.c Revert "Revert "tslog: Annotate some early boot functions"" 2023-06-04 22:49:38 -07:00
subr_pcpu.c Revert "Revert "tslog: Annotate some early boot functions"" 2023-06-04 22:49:38 -07:00
subr_pctrie.c radix_trie: simplify ge, le lookups 2023-07-19 09:43:31 -05:00
subr_physmem.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_pidctrl.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_power.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_prf.c Revert "Revert "tslog: Annotate some early boot functions"" 2023-06-04 22:49:38 -07:00
subr_prng.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_prof.c AST: rework 2022-08-02 21:11:09 +03:00
subr_rangeset.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_rman.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
subr_rtc.c Address whitespace nits in subr_rtc.c 2020-09-28 17:19:57 +00:00
subr_sbuf.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_scanf.c kern: clean up empty lines in .c and .h files 2020-09-01 22:12:32 +00:00
subr_sfbuf.c
subr_sglist.c sglist: Add sglist_append_single_mbuf(). 2021-05-25 16:59:18 -07:00
subr_sleepqueue.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_smp.c smp: Dynamically allocate the stoppcbs array 2023-05-25 18:09:55 -04:00
subr_smr.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_stack.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_stats.c rb_tree: reduce duplication in balancing code 2022-09-07 23:46:19 -05:00
subr_syscall.c Add a thread debugging flag TDB_BOUNDARY 2022-12-22 23:11:35 +02:00
subr_taskqueue.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_terminal.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_trap.c kern: remove a double word in a KASSERT in subr_trap 2023-04-13 20:03:37 +02:00
subr_turnstile.c ddb: Always terminate DB_SHOW_ALIAS_FLAGS with a semi-colon. 2023-07-05 16:00:31 -07:00
subr_uio.c kern: clean up empty lines in .c and .h files 2020-09-01 22:12:32 +00:00
subr_unit.c unr(9) iterator: add naive test 2023-05-30 01:10:36 +03:00
subr_vmem.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
subr_witness.c ddb: Always terminate DB_SHOW_ALIAS_FLAGS with a semi-colon. 2023-07-05 16:00:31 -07:00
sys_capability.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
sys_eventfd.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
sys_generic.c sockets: provide sousrsend() that does socket specific error handling 2022-12-14 10:02:44 -08:00
sys_getrandom.c sys_getrandom: fix a function reference in a comment 2023-07-24 10:50:04 -03:00
sys_pipe.c SPDX: Not BSD-4-Clause 2022-09-14 21:29:31 -06:00
sys_procdesc.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
sys_process.c ptrace: Clear TDB_BORN during PT_DETACH. 2023-06-07 12:28:36 -07:00
sys_socket.c Unbreak the build when MAC is not defined 2022-12-14 17:39:25 -05:00
syscalls.c Regenerate sysent stuff after $FreeBSD$ removal 2023-06-09 07:28:27 -06:00
syscalls.master syscall.master: Remove stray 4.2 2023-04-20 23:39:23 -06:00
systrace_args.c Regenerate sysent stuff after $FreeBSD$ removal 2023-06-09 07:28:27 -06:00
sysv_ipc.c kern/sysv_ipc.c: use ANSI C function definition 2023-02-21 16:02:46 +02:00
sysv_msg.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
sysv_sem.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
sysv_shm.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tty.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tty_compat.c
tty_info.c tty: Default to printing kernel stack traceback only on INVARIANT kernels 2022-07-02 08:02:12 -06:00
tty_inq.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tty_outq.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tty_pts.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tty_tty.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tty_ttydisc.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
uipc_accf.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
uipc_debug.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
uipc_domain.c protocols: make socket buffers ioctl handler changeable 2022-09-28 10:20:09 +00:00
uipc_ktls.c ktls_alloc_rcv_tag: Fix capability checks for RXTLS4/6. 2023-07-19 11:12:14 -07:00
uipc_mbuf.c mbufs: isolate max_linkhdr and max_protohdr handling in the mbuf code 2022-08-29 19:14:25 -07:00
uipc_mbuf2.c mbuf_tags: use explicitly sized type for 'type' parameter 2021-12-29 09:23:52 +01:00
uipc_mbufhash.c Implement mbuf hashing routines for IP over infiniband, IPoIB. 2020-10-22 09:17:56 +00:00
uipc_mqueue.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
uipc_sem.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
uipc_shm.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
uipc_sockbuf.c sockbuf: Add KMSAN checks to sbappend*() 2023-04-27 12:58:56 -04:00
uipc_socket.c listen(2): improve administrator control over logging 2023-05-01 03:26:44 +07:00
uipc_syscalls.c uipc_syscalls: removed unnecessary check in accept1() function 2023-06-12 08:49:13 -06:00
uipc_usrreq.c unix: Fix uipc_peeraddr() to handle self-connected sockets 2023-06-21 14:38:26 -04:00
vfs_acl.c __acl_get_fd(2), __acl_aclcheck_fd(2): enable for O_PATH filedescriptors 2023-05-30 08:53:56 +03:00
vfs_aio.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
vfs_bio.c memdesc: Retire MEMDESC_BIO. 2023-07-14 11:32:40 -07:00
vfs_cache.c vfs: use __enum_uint8 for vtype and vstate 2023-07-05 15:06:30 +00:00
vfs_cluster.c cluster_write(): do not access buffer after it is released 2021-09-02 21:36:33 +03:00
vfs_default.c vfs: vn_dir_next_dirent(): Simplify interface and harden 2023-04-28 04:27:54 +03:00
vfs_export.c vfs_export: Add mnt_exjail to control exports done in prisons 2023-02-21 13:00:42 -08:00
vfs_extattr.c vfs: Export exattr methods to reuse by Linuxulator 2023-07-22 14:03:33 +03:00
vfs_hash.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
vfs_init.c Fix O(n^2) behavior in sysctl 2022-09-26 18:03:34 -06:00
vfs_lookup.c vfs: factor out mount point traversal to a dedicated routine 2023-07-07 01:15:04 +00:00
vfs_mount.c vfs: Rename vfs_emptydir() to vn_dir_check_empty() 2023-04-28 22:37:35 +03:00
vfs_mountroot.c vfs: fix up NDFREE_PNBUF usage in vfs_mountroot_shuffle 2023-07-23 13:44:15 +00:00
vfs_subr.c Revert "VFS: Remove VV_READLINK flag" and "fdescfs: improve linrdlnk mount option" 2023-07-13 04:14:12 +03:00
vfs_syscalls.c Revert "VFS: Remove VV_READLINK flag" and "fdescfs: improve linrdlnk mount option" 2023-07-13 04:14:12 +03:00
vfs_vnops.c vnode read(2)/write(2): acquire rangelock regardless of do_vn_io_fault() 2023-07-25 01:02:59 +03:00
vnode_if.src vnode(9): Fix a typo in a source code comment 2022-08-07 16:08:43 +02:00