freebsd-nq/sys/sys
Alan Somers 153f46edf4 Restrict definition of CTL_P1003_1B_MAXID to the kernel
This constant is only used to size an array within the kernel. There are
probably no legitimate uses in userland. Worse, since the kernel's array
could theoretically change size over time, any use of that symbol in
userland wouldn't be forwards compatible to new kernel versions.

Reviewed by:	jhb
MFC after:	Never
Differential Revision:	https://reviews.freebsd.org/D25816
2020-07-27 18:57:28 +00:00
..
disk Add DragonFly's partition number to fdisk(8) and diskmbr.h 2019-05-18 00:22:28 +00:00
_atomic64e.h [PowerPC] [MIPS] Implement 32-bit kernel emulation of atomic64 operations 2020-01-02 23:20:37 +00:00
_atomic_subword.h Expand generic subword atomic primitives 2020-03-25 23:12:43 +00:00
_bitset.h
_blockcount.h Add a blocking counter KPI. 2020-02-28 16:05:18 +00:00
_bus_dma.h
_callout.h Add a callout_func_t typedef for functions used with callout_*(). 2019-12-10 21:58:30 +00:00
_cpuset.h
_cscan_atomic.h Add char and short types to kcsan 2020-07-04 06:22:05 +00:00
_cscan_bus.h Port the NetBSD KCSAN runtime to FreeBSD. 2019-11-21 11:22:08 +00:00
_domainset.h
_eventhandler.h Remove duplicated content from _eventhandler.h 2020-07-25 07:48:20 +00:00
_ffcounter.h
_iovec.h
_lock.h Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
_lockmgr.h
_mutex.h
_null.h
_pctrie.h
_pthreadtypes.h
_rangeset.h Implement rangesets. 2019-02-20 09:38:19 +00:00
_rmlock.h Add read-mostly sleepable locks 2019-12-27 11:19:57 +00:00
_rwlock.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
_semaphore.h
_seqc.h seqc: add a sleepable variant and convert some routines to macros 2020-07-25 10:29:48 +00:00
_sigset.h Fix undefined behavior: left-shifting into the sign bit. 2019-12-23 20:18:05 +00:00
_smr.h Move SMR pointer type definition and access macros to smr_types.h. 2020-03-07 00:55:46 +00:00
_sockaddr_storage.h
_stack.h stack(9): Drop unused API mode and comment that referenced it 2019-03-15 22:39:55 +00:00
_stdarg.h
_stdint.h
_sx.h
_task.h Add flag to struct task to mark the task as requiring network epoch. 2020-02-11 18:48:07 +00:00
_termios.h Some devices take undesired actions when RTS and DTR are 2019-06-12 18:07:04 +00:00
_timespec.h
_timeval.h
_types.h Reduce namespace pollution from r349233 2019-06-21 21:50:14 +00:00
_ucontext.h
_uio.h
_umtx.h
_unrhdr.h
aac_ioctl.h
abi_compat.h Centralize compatability translation macros. 2020-04-14 20:30:48 +00:00
acct.h
acl.h
agpio.h
aio.h
alq.h
apm.h
arb.h Add copyrights that I forgot to add when splitting arb.h off from tree.h. 2019-10-15 19:44:43 +00:00
assym.h
ata.h Remove duplicated ATA_CHECK_POWER_MODE 2020-02-28 01:02:01 +00:00
atomic_common.h Make atomic_load_ptr type-aware 2020-02-14 23:15:41 +00:00
auxv.h
bio.h Remove GEOM_SCHED class and gsched tool. 2019-12-29 21:16:03 +00:00
bitset.h Fix undefined behavior: left-shifting into the sign bit. 2019-12-23 20:18:05 +00:00
bitstring.h bistring: avoid gcc -Wsign-compare 2019-12-04 20:15:17 +00:00
blist.h Fix an overflow bug in the blist allocator that needlessly capped max 2020-07-25 18:29:10 +00:00
blockcount.h Handle PCATCH in blockcount_sleep() so it can be interrupted. 2020-04-21 17:13:06 +00:00
boot.h Move to using a common kernel path between the boot / laoder bits and 2019-06-24 20:34:53 +00:00
buf_ring.h This patch offers a workaround to buf_ring reordering 2019-04-23 06:36:32 +00:00
buf.h Add unlocked/SMR fast path to getblk() 2020-07-24 17:34:04 +00:00
bufobj.h Add a new "mntfs" pseudo file system which provides private device vnodes for 2020-03-06 18:41:37 +00:00
bus_dma_internal.h
bus_dma.h Add support for optional separate output buffers to in-kernel crypto. 2020-05-25 22:12:04 +00:00
bus.h Create new wrapper function: bus_delayed_attach_children() 2019-12-13 19:39:33 +00:00
busdma_bufalloc.h
callout.h Remove struct callout_handle. Should have gone with r355732. 2020-01-22 05:47:59 +00:00
caprights.h
capsicum.h Remove unused SYSINIT macros for capability rights. 2020-03-26 15:02:37 +00:00
cdefs.h gcc: quiet Wattribute for no_sanitize("address") 2019-12-21 02:43:20 +00:00
cdio.h Remove the CDIOCREADSUBCHANNEL_SYSSPACE ioctl. 2019-07-03 00:10:01 +00:00
cdrio.h
cfictl.h
chio.h Fix an old typo in the element status display bits: 2019-01-05 21:07:49 +00:00
ck.h
clock.h Kill tz_minuteswest and tz_dsttime. 2019-03-12 04:49:47 +00:00
cnv.h
compressor.h
condvar.h
conf.h Expose UID_xxx and GID_xxx definitions to userspace. 2020-06-16 02:31:22 +00:00
cons.h sys/kern: quiet -Wwrite-strings 2020-02-23 03:32:16 +00:00
consio.h Move font related data structured to sys/font.c and update vtfontcvt 2020-06-14 06:58:58 +00:00
copyright.h Happy New Year 2020! 2019-12-31 16:01:36 +00:00
counter.h Add COUNTER_U64_SYSINIT() and COUNTER_U64_DEFINE_EARLY(). 2020-03-06 19:09:01 +00:00
coverage.h Extract the coverage sanitizer KPI to a new file. 2019-01-29 11:04:17 +00:00
cpu.h cpufreq(4): Add support for Intel Speed Shift 2020-01-22 23:28:42 +00:00
cpuctl.h
cpuset.h bitset: rename confusing macro NAND to ANDNOT 2019-12-13 09:32:16 +00:00
csan.h Port the NetBSD KCSAN runtime to FreeBSD. 2019-11-21 11:22:08 +00:00
ctype.h Change all kernel C-type macros into static inline functions. 2019-03-25 13:50:38 +00:00
devicestat.h
devmap.h Generalize ARM specific comments in devmap 2019-10-15 23:21:52 +00:00
dirent.h
disk_zone.h
disk.h Enable sys/disk.h consumers to avoid pulling in networking headers. 2019-05-08 18:10:19 +00:00
disklabel.h
diskmbr.h Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
dkstat.h
dnv.h
domain.h Add fibnum, family and vnet pointer to each rib head. 2020-01-09 17:21:00 +00:00
domainset.h bitset: rename confusing macro NAND to ANDNOT 2019-12-13 09:32:16 +00:00
dtrace_bsd.h
dvdio.h
efi.h efirt: When present, attempt to use EFI runtime services to shutdown 2018-12-15 05:46:04 +00:00
efiio.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
elf32.h
elf64.h
elf_common.h Allow <sys/elf_common.h> to be used in assembly. 2020-06-12 23:43:44 +00:00
elf_generic.h
elf.h
endian.h
epoch.h Add flag to struct task to mark the task as requiring network epoch. 2020-02-11 18:48:07 +00:00
errno.h Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
eui64.h
event.h kevent32: fix the split of data into data1/data2 2020-04-21 16:13:22 +00:00
eventhandler.h Use an event handler to notify the SCTP about IP address changes 2019-10-13 18:17:08 +00:00
eventvar.h
exec.h Remove SPARE_USRSPACE. 2019-12-06 19:20:45 +00:00
extattr.h
fail.h Use callout(9) instead of deprecated timeout(9) for fail points. 2019-12-13 19:26:04 +00:00
fbio.h
fcntl.h Provide O_SEARCH 2020-02-02 16:34:57 +00:00
fdcio.h
file.h vfs: track sequential reads and writes separately 2020-06-21 08:51:24 +00:00
filedesc.h vfs: add the infrastructure for lockless lookup 2020-07-25 10:32:45 +00:00
filio.h Reduce namespace pollution from r349233 2019-06-21 21:50:14 +00:00
firmware.h
fnv_hash.h
font.h Move font related data structured to sys/font.c and update vtfontcvt 2020-06-14 06:58:58 +00:00
gmon.h
gpio.h
gpt.h
gsb_crc32.h Separate kernel crc32() implementation to its own header (gsb_crc32.h) and 2019-06-17 19:49:08 +00:00
gtaskqueue.h Remove the "config" taskqgroup and its KPIs. 2020-03-30 14:24:03 +00:00
hash.h
hhook.h
iconv.h
imgact_aout.h
imgact_binmisc.h
imgact_elf.h Introduce an AUXARGS_ENTRY_PTR() macro. 2020-04-15 20:19:59 +00:00
imgact.h Convert canary, execpathp, and pagesizes to pointers. 2020-04-16 21:53:17 +00:00
interrupt.h Allow swi_sched() to be called from NMI context. 2020-07-25 15:19:38 +00:00
intr.h
ioccom.h
ioctl_compat.h
ioctl.h
iov_schema.h
iov.h
ipc.h
ipmi.h
jail.h ethersubr: Make the mac address generation more robust 2020-04-18 07:50:30 +00:00
joystick.h
kbio.h
kcov.h Extract the coverage sanitizer KPI to a new file. 2019-01-29 11:04:17 +00:00
kdb.h Fix handling of NMIs from unknown sources (BMC, hypervisor) 2020-04-26 00:41:29 +00:00
kenv.h
kern_prefetch.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
kernel.h Add COUNTER_U64_SYSINIT() and COUNTER_U64_DEFINE_EARLY(). 2020-03-06 19:09:01 +00:00
kerneldump.h EKCD: Add Chacha20 encryption mode 2019-05-23 20:12:24 +00:00
khelp.h
kobj.h
kpilite.h
ksem.h
kthread.h
ktls.h Add support for KTLS RX via software decryption. 2020-07-23 23:48:18 +00:00
ktr_class.h Remove GEOM_SCHED class and gsched tool. 2019-12-29 21:16:03 +00:00
ktr.h
ktrace.h Annotate branches in the syscall path 2020-02-14 13:08:46 +00:00
libkern.h libkern: Add arc4random_uniform 2020-05-23 17:51:06 +00:00
limits.h
link_aout.h
link_elf.h Implement Solaris-like link_map l_refname member. 2020-05-22 17:52:09 +00:00
linker_set.h [PowerPC] Only move linker sets to .data on ELFv1 2019-12-19 22:35:16 +00:00
linker.h Rerun kernel ifunc resolvers after all CPUs have started 2020-07-05 14:38:22 +00:00
lock_profile.h
lock.h locks: fix a long standing bug for primitives with kdtrace but without spinning 2020-07-23 17:26:53 +00:00
lockf.h Typo out->in. 2019-10-10 18:52:24 +00:00
lockmgr.h lockmgr: add adaptive spinning 2020-07-22 12:30:31 +00:00
lockstat.h Add lockmgr(9) probes to the lockstat DTrace provider. 2019-08-21 23:43:58 +00:00
loginclass.h
mac.h
malloc.h Add zfree to zero allocation before free 2020-02-16 00:12:53 +00:00
mbuf.h Add two functions that create M_EXTPG mbufs with anonymous pages. 2020-06-10 02:51:39 +00:00
mchain.h
md4.h
md5.h
mdioctl.h md(4): remove the unused and unusable MDIOCLIST ioctl. 2019-08-16 18:57:32 +00:00
memdesc.h
memrange.h
mman.h shm_open2: Implement SHM_GROW_ON_WRITE 2020-07-10 00:43:45 +00:00
module_khelp.h
module.h
mount.h vfs: add the infrastructure for lockless lookup 2020-07-25 10:32:45 +00:00
mouse.h psm(4): detect Lenovo top-button clickpads 2019-01-18 22:20:29 +00:00
mpt_ioctl.h
mqueue.h
msg.h
msgbuf.h
mtio.h
mutex.h Annotate Giant drop/pickup macros with __predict_false 2018-12-07 12:06:03 +00:00
namei.h vfs: lockless lookup 2020-07-25 10:37:15 +00:00
nlist_aout.h
nv.h
osd.h
param.h Bump __FreeBSD_version after introduction of lockless lookup to the VFS layer 2020-07-26 13:30:33 +00:00
pciio.h
pcpu.h Dedup zpcpu assertions into one macro and guard the rest with #ifndef 2020-02-12 11:14:23 +00:00
pctrie.h Use SMR to provide safe unlocked lookup for pctries from SMR zones 2020-07-24 17:32:10 +00:00
physmem.h Convert arm's physmem interface to MI code 2020-04-19 00:12:30 +00:00
pidctrl.h
pipe.h Preallocate pipe buffers on pipe creation. 2020-03-09 21:55:26 +00:00
pmc.h Add hwpmc support for Intel Atom Goldmont microarchitecture 2020-04-06 19:45:26 +00:00
pmckern.h Fix annoying whitespace issue. 2019-06-25 19:55:42 +00:00
pmclog.h
poll.h
posix4.h
power.h Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
priority.h
priv.h [net80211] missing from last commit, le whoops 2020-07-19 16:07:51 +00:00
proc.h cred: distribute reference count per thread 2020-06-09 23:03:48 +00:00
procctl.h Add procctl(PROC_STACKGAP_CTL) 2019-09-03 18:56:25 +00:00
procdesc.h
procfs.h
protosw.h Remove pfctlinput2(). It came from KAME and had never ever been in use. 2019-10-15 15:40:03 +00:00
ptio.h
ptrace.h Add ptrace op PT_GET_SC_RET. 2019-07-15 21:48:02 +00:00
qmath.h Fix the compilation workaround so it's not entirely dead code - clang 2019-10-09 18:46:56 +00:00
queue.h Trim trailing white space in comment 2020-02-26 12:38:21 +00:00
racct.h racct: add RACCT_ENABLED macro and racct_set_unlocked 2018-12-07 16:47:34 +00:00
random.h Remove ubsec(4). 2020-05-11 20:30:28 +00:00
rangelock.h rangelock: add rangelock_cookie_assert 2019-09-15 02:59:53 +00:00
rangeset.h Implement rangesets. 2019-02-20 09:38:19 +00:00
rctl.h
reboot.h
refcount.h Remove an #include erroneously added in r358432. 2020-03-04 22:23:24 +00:00
regression.h
resource.h
resourcevar.h Remove leftover macros for long gone vmsize mtx 2020-07-25 07:45:44 +00:00
rman.h add support for marking interrupt handlers as suspended 2018-12-17 17:11:00 +00:00
rmlock.h Add rms_try_rlock and rms_wowned. 2020-01-31 08:36:49 +00:00
rtprio.h Update to D25266, bin/ps: Make the rtprio option actually show 2020-07-14 18:57:31 +00:00
runq.h
rwlock.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sbuf.h sbuf(9): Add sbuf_nl_terminate() API 2019-08-07 19:27:14 +00:00
sched.h SPDX: update some tags with two licenses. 2019-12-28 02:58:30 +00:00
sdt.h Provide SDT_PROBES_ENABLED for kernels without KDTRACE. 2018-12-19 23:19:05 +00:00
select.h
selinfo.h
sem.h
sema.h
seqc.h seqc: add a sleepable variant and convert some routines to macros 2020-07-25 10:29:48 +00:00
serial.h
sf_buf.h
sglist.h Step 2.2: 2020-05-02 23:46:29 +00:00
shm.h Implement shmat(2) flag SHM_REMAP. 2019-01-16 05:15:57 +00:00
sigio.h
signal.h Improve MD page fault handlers. 2019-09-27 18:43:36 +00:00
signalvar.h Return reschedule_signals() to being static again. 2020-03-10 20:04:38 +00:00
sleepqueue.h sleep(9), sleepqueue(9): const'ify wchan pointers 2019-12-24 16:19:33 +00:00
slicer.h Update a comment to reflect reality; no functional changes. 2019-02-26 22:07:59 +00:00
smp.h Add smp_rendezvous_cpus_retry 2020-02-12 11:16:55 +00:00
smr_types.h Move SMR pointer type definition and access macros to smr_types.h. 2020-03-07 00:55:46 +00:00
smr.h Move SMR pointer type definition and access macros to smr_types.h. 2020-03-07 00:55:46 +00:00
snoop.h
sockbuf.h Add support for KTLS RX via software decryption. 2020-07-23 23:48:18 +00:00
socket.h HyperV socket implementation for FreeBSD 2020-05-20 11:03:59 +00:00
socketvar.h Add support for KTLS RX via software decryption. 2020-07-23 23:48:18 +00:00
sockio.h Add SIOCGIFDOWNREASON. 2019-09-17 18:49:13 +00:00
sockopt.h
soundcard.h
spigenio.h
stack.h kern.tty_info_kstacks: add a compact format 2020-07-06 16:33:28 +00:00
stat.h sys/stat.h: Improve timespec compatibility with other BSDs 2019-03-18 19:23:19 +00:00
stats.h Make use of the stats(3) framework in the TCP stack. 2019-12-02 20:58:04 +00:00
statvfs.h
stdatomic.h
stddef.h
stdint.h
sx.h sx: retire SX_NOADAPTIVE 2018-12-05 16:43:03 +00:00
syscall.h Oops, missed syscall.h and sysproto.h for r361602. 2020-05-28 23:57:50 +00:00
syscall.mk Oops two, missed syscall.mk as well. 2020-05-29 00:10:19 +00:00
syscallsubr.h Add linux_madvise(2) instead of having Linux apps call the native 2020-06-20 18:29:22 +00:00
sysctl.h Restrict definition of CTL_P1003_1B_MAXID to the kernel 2020-07-27 18:57:28 +00:00
sysent.h Extend support in sysctls for supporting multiple native ABIs. 2020-04-27 17:53:38 +00:00
syslimits.h Double the size of ARG_MAX on LP64 platforms. 2019-12-16 23:55:30 +00:00
syslog.h
sysproto.h Oops, missed syscall.h and sysproto.h for r361602. 2020-05-28 23:57:50 +00:00
systm.h Move MPASS() macros to systm.h. They are widely used all over 2020-06-08 17:40:39 +00:00
taskqueue.h Remove assertion from TASK_INIT() macro, since some users of 2020-02-11 20:59:41 +00:00
terminal.h
termios.h
thr.h
tiio.h
tim_filter.h This commit adds BBR (Bottleneck Bandwidth and RTT) congestion control. This 2019-09-24 18:18:11 +00:00
time.h Make CLOCK_REALTIME and TIMER_ABSTIME available for XOPEN_SOURCE >= 500. 2020-07-14 20:23:27 +00:00
timeb.h
timeet.h
timeffc.h
timepps.h
timers.h
times.h
timespec.h
timetc.h
timex.h
tree.h Rank balanced (RB) trees are a class of balanced trees that includes 2020-07-23 17:16:20 +00:00
tslog.h
tty.h tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
ttycom.h
ttydefaults.h
ttydevsw.h tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
ttydisc.h tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
ttyhook.h tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
ttyqueue.h
turnstile.h Fix the turnstile_lock() KPI. 2019-07-24 23:04:59 +00:00
types.h sys/types.h: adjust #endif comment to match reality 2020-04-15 04:03:46 +00:00
ucontext.h
ucred.h cred: distribute reference count per thread 2020-06-09 23:03:48 +00:00
uio.h Remove copyinfrom() and copyinstrfrom(). 2020-05-20 20:58:17 +00:00
umtx.h
un.h Make the path length of UNIX domain sockets specified by a #define. 2020-04-14 15:27:24 +00:00
unistd.h rfork(2): add RFSPAWN flag 2019-09-25 19:20:41 +00:00
unpcb.h Remove UNP_NASCENT, reverting r303855. 2020-03-20 16:17:54 +00:00
user.h sleep(9), sleepqueue(9): const'ify wchan pointers 2019-12-24 16:19:33 +00:00
utsname.h
uuid.h validate_uuid: absorb the rest of parse_uuid with a flags arg 2020-04-15 18:39:12 +00:00
vdso.h
vmem.h
vmmeter.h Provide separate accounting for user-wired pages. 2019-05-13 16:38:48 +00:00
vnode.h vfs: add the infrastructure for lockless lookup 2020-07-25 10:32:45 +00:00
vtoc.h
wait.h
watchdog.h Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00