opnsense-src/sys/sys
Zhenlei Huang 497f577f46 kernel: Make some compile time constant variables const
Those variables are not going to be changed at runtime. Make them const
to avoid potential overwriting. This will also help spotting accidental
global variables shadowing, since the variable's name such as `version`
is short and commonly used.

This change was inspired by reviewing khng's work D44760.

No functional change intended.

MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D45227

(cherry picked from commit 356be1348dac94ba0d2dc1f479bc1f8a2ebaa03a)
2024-09-20 18:04:02 +08:00
..
disk mkimg: Ensure GPT Entry Array is at least 16k 2023-10-18 09:23:40 -06:00
_atomic64e.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_atomic_subword.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_bitset.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_blockcount.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_bus_dma.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_callout.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
_clock_id.h clock_id: These symbols weren't in 4.4BSD, adjust copyright 2021-08-02 15:50:32 -06:00
_cpuset.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_domainset.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_endian.h sys/sys/_endian.h: typo (Compatiblity) 2023-05-05 01:23:09 +01:00
_eventhandler.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_ffcounter.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_iovec.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
_lock.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_lockmgr.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_mutex.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_null.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_pctrie.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_pthreadtypes.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_pv_entry.h sys/_pv_entry.h: Include sys/param.h 2022-10-11 12:51:55 -06:00
_rangeset.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_rmlock.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_rwlock.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_semaphore.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_seqc.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
_sigset.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
_sigval.h sys/signal.h: move union sigval into dedicated private header sys/_sigval.h 2024-04-30 03:48:09 +03:00
_smr.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_sockaddr_storage.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
_stack.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_stdarg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_stdint.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_sx.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_task.h taskqueue: Move the timeout_task definition to _task.h 2024-07-15 09:39:06 -04:00
_termios.h (s)tty: add support for IUTF8 input flag 2023-10-21 17:28:34 +03:00
_timespec.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
_timeval.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_tls_variant_i.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
_types.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_ucontext.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_uio.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
_umtx.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_unrhdr.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
_winsize.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
aac_ioctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
abi_compat.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
acct.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
acl.h sys: Mark ACL conversion routines as __result_use_check 2024-09-05 10:50:09 -04:00
agpio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
aio.h aio_read2/aio_write2: add AIO_OP2_VECTORED 2024-02-18 12:01:46 +02:00
alq.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
apm.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
arb.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
asan.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
assym.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ata.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
atomic_common.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
atomic_san.h atomic: Fix the cast in the atomic_load_consume() interceptor 2024-09-05 13:44:00 +00:00
auxv.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
backlight.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
bio.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
bitcount.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
bitset.h bitset: Add ORNOT macros 2024-05-11 18:57:44 -05:00
bitstring.h bitstring: Support large bit strings. 2023-12-13 17:41:48 +01:00
blist.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
blockcount.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
boot.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
boottrace.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
buf.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
buf_ring.h buf_ring: Add an Arm copyright 2024-09-02 08:49:38 +00:00
bufobj.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
bus.h subr_bus: introduce device_set_descf() and modify allocation logic 2024-01-30 13:07:29 +02:00
bus_dma.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
bus_dma_internal.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
bus_san.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
busdma_bufalloc.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
callout.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
caprights.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
capsicum.h capsicum: introduce cap_rights_is_empty Function 2024-06-05 11:55:17 -04:00
cdefs.h cdefs.h: Don't define fallback for _Static_assert 2024-07-20 09:57:53 -06:00
cdio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cdrio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cfictl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
chio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ck.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
clock.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cnv.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
compressor.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
condvar.h condvar: Clean up condvar.h a bit 2024-01-29 09:25:45 -05:00
conf.h cdevpriv(9): add iterator 2024-03-30 10:31:13 +02:00
cons.h vt/sc: retire logic to select vt(4) by default for UEFI boot 2024-08-01 12:10:26 -04:00
consio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
copyright.h kernel: Make some compile time constant variables const 2024-09-20 18:04:02 +08:00
counter.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
coverage.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cpu.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cpuctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cpuset.h bitset: Add ORNOT macros 2024-05-11 18:57:44 -05:00
crc16.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
csan.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ctf.h ctf: Add v3 support to CTF tools, ctf{convert,dump,merge} 2022-03-07 10:43:19 -05:00
ctype.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
devctl.h kern: Move devctl_systems[] out of sys/sys/devctl.h 2023-06-08 12:28:04 -04:00
devicestat.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
devmap.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
dirent.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
disk.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
disk_zone.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
disklabel.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
diskmbr.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
dkstat.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
dnv.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
domain.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
domainset.h bitset: Add ORNOT macros 2024-05-11 18:57:44 -05:00
dtrace_bsd.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
dvdio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
efi.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
efiio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
elf.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
elf32.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
elf64.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
elf_common.h elf_common.h: Add STO_AARCH64_VARIANT_PCS 2024-07-15 12:24:10 +00:00
elf_generic.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
endian.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
epoch.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
errno.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
eui64.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
event.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
eventfd.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
eventhandler.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
eventvar.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
exec.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
extattr.h Move kern_extattr_* prototypes to <sys/syscallsubr.h> 2023-10-24 10:00:57 -07:00
fail.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fbio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fcntl.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
fdcio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
file.h kcmp(2): implement for generic file types 2024-01-30 22:24:42 +02:00
filedesc.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
filio.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
firmware.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fnv_hash.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
font.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
gmon.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
gpio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
gpt.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
gsb_crc32.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
gtaskqueue.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
hash.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
hhook.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iconv.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
imgact.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
imgact_aout.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
imgact_binmisc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
imgact_elf.h imgact_elf: Export __elfN(parse_notes) 2024-02-19 13:12:51 +00:00
interrupt.h intr: move MAX_STRAY_LOG to interrupt.h 2023-08-17 18:10:02 -04:00
intr.h intrng: Allow alternative IPI PICs to be registered and used 2024-09-07 00:59:02 +01:00
ioccom.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
ioctl.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
ioctl_compat.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
iov.h iovctl: allow vlan restrictions to be passed to the driver 2024-07-01 18:06:05 +02:00
iov_schema.h iovctl: allow vlan restrictions to be passed to the driver 2024-07-01 18:06:05 +02:00
ipc.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
ipmi.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
jail.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
joystick.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
kassert.h kassert.h: update MPASS definition commentary 2024-04-18 15:17:52 -03:00
kbio.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
kcov.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
kdb.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
kenv.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
kern_prefetch.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
kernel.h init_main: Switch from SLIST to STAILQ, fix order 2023-09-13 08:47:31 -07:00
kerneldump.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
khelp.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
kobj.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
kpilite.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ksem.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
kthread.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ktls.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ktr.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
ktr_class.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
ktrace.h ktrace: Record detailed ECAPMODE violations 2024-05-11 18:57:44 -05:00
libkern.h kern: Globally define abs64 2023-09-18 21:13:45 +00:00
limits.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
link_aout.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
link_elf.h sys: Remove two double words in source code comments 2024-04-25 08:17:04 +02:00
linker.h linker: Add MODINFOMD_SPLASH type 2024-07-29 18:37:42 +02:00
linker_set.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
lock.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
lock_profile.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
lockf.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
lockmgr.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
lockstat.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
loginclass.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mac.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
malloc.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
mbuf.h mbuf: provide m_freemp() 2024-06-10 18:31:02 -07:00
mchain.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
md4.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
md5.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
mdioctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
membarrier.h Add membarrier(2) 2023-08-23 03:02:21 +03:00
memdesc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
memrange.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mman.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
module.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
module_khelp.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mount.h sys/mount.h: align values of MNTK_XXX flags 2024-03-06 09:43:38 +02:00
mouse.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mpt_ioctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mqueue.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
msan.h kmsan: Add kmsan_check_uio() 2023-12-14 09:44:38 -05:00
msg.h SysV IPC: provide in-kernel helpers to obtain ipcs(8)-like information 2024-05-23 03:26:44 +03:00
msgbuf.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
mtio.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
mutex.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
namei.h sys/namei.h: move NI_CAP_VIOLATION() macro from namei.h to vfs_lookup.c 2024-05-15 16:21:34 +03:00
nlist_aout.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
nv.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
nv_namespace.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
osd.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
param.h Bump __FreeBSD_version after LinuxKPI changes. 2024-08-02 01:25:24 +03:00
pciio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
pcpu.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
pctrie.h pctrie: change for vm_radix compatibility 2023-08-21 12:28:51 -05:00
physmem.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
pidctrl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
pipe.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
pmc.h pmc: better distinguish pmu-events allocation path 2023-09-11 12:19:58 -07:00
pmckern.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
pmclog.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
poll.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
posix4.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
power.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
priority.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
priv.h cr_canseejailproc(): New privilege, no direct check for UID 0 2023-10-17 16:42:58 -03:00
prng.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
proc.h thread: Add a return value to cpu_set_upcall() 2024-01-01 19:29:48 -05:00
procctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
procdesc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
procfs.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
protosw.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
ptio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ptrace.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
qmath.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
queue.h sys/queue.h: Add {LIST,TAILQ}_REPLACE(). 2024-04-15 12:54:59 +02:00
queue_mergesort.h Add <sys/queue_mergesort.h> 2023-08-19 22:04:55 -07:00
racct.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
random.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
rangelock.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
rangeset.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
rctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
reboot.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
refcount.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
reg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
regression.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
resource.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
resourcevar.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
rman.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
rmlock.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
rtprio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
runq.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
rwlock.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sbuf.h Remove my middle name. 2023-08-17 15:08:30 +02:00
sched.h sched_unpin(): assert that curthread was pinned 2024-07-03 11:02:28 +03:00
sdt.h sdt: Add macros which expand to probe and provider structure names 2024-05-08 09:06:16 -04:00
select.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
selinfo.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
sem.h SysV IPC: provide in-kernel helpers to obtain ipcs(8)-like information 2024-05-23 03:26:44 +03:00
sema.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
seqc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
serial.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sf_buf.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sglist.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
shm.h SysV IPC: provide in-kernel helpers to obtain ipcs(8)-like information 2024-05-23 03:26:44 +03:00
sigio.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
signal.h sys/signal.h: move union sigval into dedicated private header sys/_sigval.h 2024-04-30 03:48:09 +03:00
signalvar.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
sleepqueue.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
slicer.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
smp.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
smr.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
smr_types.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sndstat.h sound: Add OSS channel capabilities to sndstat nvlist 2024-07-29 18:34:54 +03:00
snoop.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sockbuf.h ktls: Fix races that can lead to double initialization 2024-07-23 09:01:30 -04:00
socket.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
socketvar.h socket: Split up soreceive_stream() 2024-09-03 14:54:43 +00:00
sockio.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
sockopt.h socket: Make the sopt_rights field a pointer to const 2024-08-20 13:22:56 +00:00
soundcard.h sound: Rename oss_audioinfo->real_device to oss_audioinfo->legacy_device 2024-05-17 21:30:36 +02:00
specialfd.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
spigenio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
splash.h linker: Add MODINFOMD_SPLASH type 2024-07-29 18:37:42 +02:00
stack.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
stat.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
stats.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
statvfs.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
stdatomic.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
stddef.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
stdint.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sx.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
syscall.h regen 2024-01-30 22:24:43 +02:00
syscall.mk regen 2024-01-30 22:24:43 +02:00
syscallsubr.h timerfd: Move kern_timerfd_* prototypes to <sys/syscallsubr.h> 2024-04-08 10:49:59 -07:00
sysctl.h kernel: Make some compile time constant variables const 2024-09-20 18:04:02 +08:00
sysent.h sysent: Trim trailing whitespaces 2023-10-10 08:12:12 +03:00
syslimits.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
syslog.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
sysproto.h regen 2024-01-30 22:24:43 +02:00
systm.h kernel: Make some compile time constant variables const 2024-09-20 18:04:02 +08:00
taskqueue.h taskqueue: Move the timeout_task definition to _task.h 2024-07-15 09:39:06 -04:00
terminal.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
termios.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
thr.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
tiio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
tim_filter.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
time.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
timeb.h libutil: move ftime to libutil 2024-06-28 12:17:52 +02:00
timeet.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
timeffc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
timepps.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
timerfd.h timerfd: Move kern_timerfd_* prototypes to <sys/syscallsubr.h> 2024-04-08 10:49:59 -07:00
timers.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
times.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
timespec.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
timetc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
timex.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
tree.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
tslog.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
tty.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ttycom.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
ttydefaults.h tty: set IUTF8 by default 2023-11-20 18:52:01 +02:00
ttydevsw.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ttydisc.h kern: tty: recanonicalize the buffer on ICANON/VEOF/VEOL changes 2024-01-30 11:11:24 -06:00
ttyhook.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ttyqueue.h kern: tty: recanonicalize the buffer on ICANON/VEOF/VEOL changes 2024-01-30 11:11:24 -06:00
turnstile.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
types.h sys: Remove two double words in source code comments 2024-04-25 08:17:04 +02:00
ucontext.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ucred.h groupmember(), realgroupmember(): Return a bool instead of an int 2023-10-17 16:42:59 -03:00
uio.h Abstract UIO allocation and deallocation. 2024-03-08 23:27:20 -05:00
umtx.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
umtxvar.h umtxvar.h: Add missing include 2024-02-27 11:37:08 +01:00
un.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
unistd.h Add kcmp(2) kernel bits 2024-01-30 22:24:42 +02:00
unpcb.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
user.h timerfd: Move implementation from linux compat to sys/kern 2023-08-24 14:28:56 -06:00
utsname.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
uuid.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
vdso.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
vmem.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
vmmeter.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
vnode.h kcmp(2): implement for vnode files 2024-01-30 22:24:42 +02:00
wait.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
watchdog.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00