freebsd-nq/sys/sys
Stephen J. Kiernan 4ac21b4f09 Prepare for network stack as a module
- Move cr_canseeinpcb to sys/netinet/in_prot.c in order to separate the
   INET and INET6-specific code from the rest of the prot code (It is only
   used by the network stack, so it makes sense for it to live with the
   other network stack code.)
 - Move cr_canseeinpcb prototype from sys/systm.h to netinet/in_systm.h
 - Rename cr_seeotheruids to cr_canseeotheruids and cr_seeothergids to
   cr_canseeothergids, make them non-static, and add prototypes (so they
   can be seen/called by in_prot.c functions.)
 - Remove sw_csum variable from ip6_forward in ip6_forward.c, as it is an
   unused variable.

Reviewed by:	gnn, jtl
Approved by:	sjg (mentor)
Sponsored by:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D2901
2016-07-27 20:34:09 +00:00
..
_bitset.h bitset: introduce helpers to allocate a bitset at runtime 2016-05-06 16:41:23 +00:00
_bus_dma.h
_callout.h Revert r287780 until more developers have their say. 2015-09-22 06:51:55 +00:00
_cpuset.h Fix <sys/_bitset.h> and <sys/_cpuset.h> to not require <sys/param.h>. 2016-05-05 15:43:26 +00:00
_ffcounter.h
_iovec.h
_kstack_cache.h
_lock.h
_lockmgr.h
_mutex.h
_null.h
_pctrie.h
_pthreadtypes.h
_rmlock.h
_rwlock.h
_semaphore.h
_sigset.h
_sockaddr_storage.h
_stack.h
_stdint.h Move intmax_t and uintmax_t type declarations to sys/_stdint.h to give 2015-11-07 12:30:43 +00:00
_sx.h
_task.h fix loss of taskqueue wakeups (introduced in r300113) 2016-05-21 14:51:49 +00:00
_termios.h
_timespec.h
_timeval.h
_types.h Pollute more places with off64_t and add __off64_t 2016-05-12 21:18:17 +00:00
_ucontext.h POSIX states that #include <signal.h> shall make both mcontext_t and 2016-02-12 07:38:19 +00:00
_umtx.h Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
_unrhdr.h
_vm_domain.h Add an initial NUMA affinity/policy configuration for threads and processes. 2015-07-11 15:21:37 +00:00
aac_ioctl.h
acct.h
acl.h Expose an interface to determine if an ACE is inherited. 2015-09-04 00:14:20 +00:00
agpio.h
aio.h Account for AIO socket operations in thread/process resource usage. 2016-06-21 22:19:06 +00:00
alq.h
apm.h
assym.h
ata.h Add support for managing Shingled Magnetic Recording (SMR) drives. 2016-05-19 14:08:36 +00:00
bio.h Add support for managing Shingled Magnetic Recording (SMR) drives. 2016-05-19 14:08:36 +00:00
bitset.h bitset: introduce helpers to allocate a bitset at runtime 2016-05-06 16:41:23 +00:00
bitstring.h Fix bitstring allocation on 32-bit platforms 2016-06-24 21:44:46 +00:00
blist.h
boot.h
buf_ring.h ARM, ARM64: Workaround for buf_ring reordering 2016-06-30 05:18:37 +00:00
buf.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
bufobj.h
bus_dma.h Style cleanups after r285270 2015-07-08 22:09:47 +00:00
bus.h (1) Add a new bus method to get a mapping data for an interrupt. 2016-06-05 16:07:57 +00:00
busdma_bufalloc.h Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
callout.h The paradigm of a callout is that it has three consequent states: 2016-07-05 18:47:17 +00:00
capability.h
caprights.h
capsicum.h Decompose linkat()/renameat() rights to source and target. 2015-08-27 15:16:41 +00:00
cdefs.h Stop exposing the C11 _Atomic() macro in <sys/cdefs.h>, when compiling 2016-05-29 17:32:19 +00:00
cdio.h
cdrio.h
cfictl.h
chio.h
clock.h
condvar.h Revert r282971. It depends on condvar consumers not destroying condvars 2015-05-21 16:43:26 +00:00
conf.h Make it explicit that D_MEM cdevsw d_flag is to signify that the 2016-05-01 17:46:56 +00:00
cons.h
consio.h
copyright.h Bump copyright year. 2015-12-31 11:21:45 +00:00
counter.h
cpu.h
cpuctl.h
cpuset.h Move nested include of <sys/queue.h> inside _KERNEL. 2016-07-14 23:14:10 +00:00
ctype.h
dataacq.h
devicestat.h
devmap.h Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
digiio.h
dir.h
dirent.h
disk_zone.h Add support for managing Shingled Magnetic Recording (SMR) drives. 2016-05-19 14:08:36 +00:00
disk.h Add support for managing Shingled Magnetic Recording (SMR) drives. 2016-05-19 14:08:36 +00:00
disklabel.h
diskmbr.h Add apple-boot, apple-hfs and apple-ufs aliases to MBR scheme. 2015-05-05 09:33:02 +00:00
diskpc98.h
dkstat.h
dnv.h Remove non-existent dnvlist functions. 2015-07-04 10:33:33 +00:00
domain.h Fix cleanup race between unp_dispose and unp_gc 2015-07-14 02:00:50 +00:00
dtrace_bsd.h
dvdio.h
efi.h Add more UEFI/e820 memory types from latest specifications. 2016-07-24 09:15:11 +00:00
elf32.h
elf64.h
elf_common.h Add and correct MIPS relocation types 2016-05-30 20:51:51 +00:00
elf_generic.h
elf.h
endian.h
errno.h Fix autofs triggering problem. Assume you have an NFS server, 2016-03-12 07:54:42 +00:00
eui64.h
event.h Fix userspace build after r302235: do not expose bool field of the 2016-06-27 23:34:53 +00:00
eventhandler.h
eventvar.h
exec.h exec.h: Move PS_STRINGS define to kernel-only section 2016-05-11 21:14:36 +00:00
extattr.h
fail.h fail(9): Upstreaming some fail point enhancements 2016-03-16 04:22:32 +00:00
fbio.h
fcntl.h When cleaning up from failed adv locking and checking for write, do 2016-01-17 08:40:51 +00:00
fdcio.h Add raw RX-50 support. These are 400k single sided disks with 80 2016-03-10 00:36:38 +00:00
file.h The sendfile(2) allows to send extra data from userspace before the file 2016-03-29 19:57:11 +00:00
filedesc.h fd: make the common case in filecaps_copy work lockless 2015-09-07 20:02:56 +00:00
filio.h
firmware.h
fnv_hash.h
gmon.h
gpio.h GPIO: Add support for gpio pin interrupts. 2016-04-28 12:03:22 +00:00
gpt.h Add some additional GPT partition types 2015-12-27 18:12:13 +00:00
gzio.h
hash.h
hhook.h Overhaul if_enc(4) and make it loadable in run-time. 2015-11-25 07:31:59 +00:00
iconv.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
imgact_aout.h
imgact_binmisc.h sys/sys: missed in r298981. 2016-05-03 16:37:09 +00:00
imgact_elf.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
imgact.h exec: Add credential change information into imgp for process_exec hook. 2016-05-26 23:18:54 +00:00
inflate.h
interrupt.h
intr.h Remove temporary solution for storing interrupt mapping data as 2016-06-07 09:03:27 +00:00
ioccom.h
ioctl_compat.h
ioctl.h
iov_schema.h Clean up repeated "All rights reserved" 2016-03-14 17:41:17 +00:00
iov.h Clean up repeated "All rights reserved" 2016-03-14 17:41:17 +00:00
ipc.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
ipmi.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
jail.h Delay revmoing the last jail reference in prison_proc_free, and instead 2016-04-27 02:25:21 +00:00
joystick.h
kbio.h
kdb.h
kenv.h
kernel.h The pr_destroy field does not allow us to run the teardown code in a 2016-06-01 10:14:04 +00:00
kerneldump.h Welcome the RISC-V 64-bit kernel. 2016-01-29 15:12:31 +00:00
khelp.h
kobj.h [bhnd] Fix DEFINE_CLASS_(2|3) multiple inheritance support. 2016-05-23 03:29:43 +00:00
ksem.h
ksyms.h
kthread.h Add const to char * pointers. This breaks nothing, and means const 2015-06-28 12:52:28 +00:00
ktr_class.h ioat: Introduce KTR probes 2015-10-26 02:21:19 +00:00
ktr.h Expand ktr_mask to be a 64-bit unsigned integer. 2015-05-22 11:09:41 +00:00
ktrace.h Trace timeval parameters to the getitimer(2) and setitimer(2) syscalls. 2016-07-13 14:37:58 +00:00
libkern.h Merge ACPICA 20160422. 2016-04-27 19:09:21 +00:00
limits.h
link_aout.h
link_elf.h
linker_set.h Rename __weak to __weak_symbol to avoid language conflict with objective-C. 2015-06-23 22:40:22 +00:00
linker.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
lock_profile.h
lock.h
lockf.h
lockmgr.h vfs: implement v_holdcnt/v_usecount manipulation using atomic ops 2015-07-16 13:57:05 +00:00
lockstat.h Declare lockstat_enabled even when KDTRACE_HOOKS is not defined. 2015-07-20 04:41:25 +00:00
loginclass.h Doh, commit in a wrong directory. Fix r290857. 2015-11-15 12:50:14 +00:00
mac.h
malloc.h Move IPv6 malloc tag definitions into the IPv6 code. 2016-05-20 04:45:08 +00:00
mbpool.h
mbuf.h mbuf: Add a flag for M_HASHTYPE_ to indicate the type has hash properties 2016-05-30 04:48:06 +00:00
mchain.h
md4.h Ifndef KERNEL the userspace-only routines in sys/md[45].h 2016-05-26 20:37:49 +00:00
md5.h Ifndef KERNEL the userspace-only routines in sys/md[45].h 2016-05-26 20:37:49 +00:00
mdioctl.h
memdesc.h
memrange.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
mman.h Implement process-shared locks support for libthr.so.3, without 2016-02-28 17:52:33 +00:00
module_khelp.h
module.h Fix typos (intenral -> internal) in comments 2016-04-15 02:36:14 +00:00
mount.h Add new unmount(2) flag, MNT_NONBUSY, to check whether there are 2016-07-07 09:03:57 +00:00
mouse.h synaptics: more support for semi-MT trackpads. 2015-05-10 20:36:57 +00:00
mpt_ioctl.h
mqueue.h
msg.h Get function prototypes for msg, shm, sem functions 2015-07-30 18:59:01 +00:00
msgbuf.h
mtio.h
mutex.h Implement mtx_trylock_spin(9). 2016-07-23 05:30:55 +00:00
namei.h Remove cn_consume from 'struct componentname'. It was never set to anything 2016-03-12 08:50:38 +00:00
nlist_aout.h Revert r102953 2015-05-28 22:06:05 +00:00
numa.h Add an initial NUMA affinity/policy configuration for threads and processes. 2015-07-11 15:21:37 +00:00
nv.h Allow libnv to be built externally using GCC. 2016-01-07 20:52:35 +00:00
osd.h osd(9): Change array pointer to array pointer type from void* 2016-04-26 19:57:35 +00:00
param.h Bump __FreeBSD_version after removing collation from [a-z]-type ranges. 2016-07-12 07:16:37 +00:00
pciio.h
pcpu.h Revert r299096 2016-05-05 02:51:31 +00:00
pctrie.h
pioctl.h
pipe.h
pmc.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
pmckern.h
pmclog.h
poll.h
posix4.h Remove single-use macros obfuscating malloc(9) and free(9) calls. 2015-08-30 17:58:11 +00:00
power.h
priority.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
priv.h Add support to priority code point (PCP) that is an 3-bit field 2016-06-06 09:51:58 +00:00
proc.h Add PTRACE_VFORK to trace vfork events. 2016-07-18 14:53:55 +00:00
procctl.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
procdesc.h Introduce the PD_CLOEXEC for pdfork(2). 2016-06-08 02:09:14 +00:00
procfs.h Include process IDs in core dumps. 2016-07-18 15:14:23 +00:00
protosw.h The pr_destroy field does not allow us to run the teardown code in a 2016-06-01 10:14:04 +00:00
ptio.h
ptrace.h Add PTRACE_VFORK to trace vfork events. 2016-07-18 14:53:55 +00:00
queue.h Make the system queue header file fully usable within C++ programs by 2015-06-28 21:06:45 +00:00
racct.h Get rid of rctl_lock; use racct_lock where appropriate. The fast paths 2016-04-21 16:22:52 +00:00
random.h Random bit generator (RBG) driver for RPi and RPi2. 2016-07-19 18:07:47 +00:00
rangelock.h
rctl.h Add four new RCTL resources - readbps, readiops, writebps and writeiops, 2016-04-07 04:23:25 +00:00
reboot.h Kernel part of reroot support - a way to change rootfs without reboot. 2015-09-18 17:32:22 +00:00
refcount.h
regression.h
resource.h Define the id_t type as required by POSIX. 2016-06-01 07:45:03 +00:00
resourcevar.h Implement process-shared locks support for libthr.so.3, without 2016-02-28 17:52:33 +00:00
rman.h Add new bus methods for mapping resources. 2016-05-20 17:57:47 +00:00
rmlock.h
rtprio.h
runq.h
rwlock.h Microoptimize locking primitives by avoiding unnecessary atomic ops. 2016-06-01 18:32:20 +00:00
sbuf.h Add support for reading MAM attributes to camcontrol(8) and libcam(3). 2015-06-09 21:39:38 +00:00
sched.h Let <sched.h> define struct timespec. 2016-05-31 08:07:40 +00:00
sdt.h sdt: annotate the probe test as likely to fail 2016-06-15 08:34:36 +00:00
select.h
selinfo.h
sem.h Get function prototypes for msg, shm, sem functions 2015-07-30 18:59:01 +00:00
sema.h
seq.h seq: use seq_consistent_nomb in seq_consistent 2015-07-08 22:21:25 +00:00
serial.h
sf_buf.h New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and 2016-01-08 20:34:57 +00:00
sglist.h Add sglist functions for working with arrays of VM pages. 2016-05-20 23:28:43 +00:00
shm.h Add shmatt_t. 2016-07-26 17:23:49 +00:00
sigio.h
signal.h Improve POSIX conformance of <signal.h>. 2016-05-31 19:05:41 +00:00
signalvar.h Provide helper macros to detect 'non-silent SBDRY' state and to 2016-07-03 18:19:48 +00:00
sleepqueue.h fail(9): Only gather/print stacks if STACK is enabled 2016-03-17 01:05:53 +00:00
slicer.h Create a RouterBoard platform and use it to create a flash map 2015-08-22 05:50:18 +00:00
smp.h new x86 smp topology detection code 2016-04-04 16:09:29 +00:00
snoop.h
sockbuf.h Refactor the AIO subsystem to permit file-type-specific handling and 2016-03-01 18:12:14 +00:00
socket.h Make CMSG_*() work without having NULL available. 2016-05-31 13:32:33 +00:00
socketvar.h Add spares to struct ifnet and socket for packet pacing and/or general 2016-06-23 21:07:15 +00:00
sockio.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
sockopt.h
sockstate.h
soundcard.h Don't test for INKERNEL to check whether we're in kernel space. 2016-06-04 18:57:00 +00:00
spigenio.h [spigen] add the userland ioctl API for spigen. 2016-05-27 01:40:33 +00:00
stack.h Add stack_save_td_running(), a function to trace the kernel stack of a 2015-09-11 03:54:37 +00:00
stat.h
statvfs.h
stdatomic.h
stddef.h
stdint.h Move intmax_t and uintmax_t type declarations to sys/_stdint.h to give 2015-11-07 12:30:43 +00:00
sun_disklabel.h
sx.h Microoptimize locking primitives by avoiding unnecessary atomic ops. 2016-06-01 18:32:20 +00:00
syscall.h Generate syscall tables and update pipe() implementation after r302094. 2016-06-22 21:18:19 +00:00
syscall.mk Generate syscall tables and update pipe() implementation after r302094. 2016-06-22 21:18:19 +00:00
syscallsubr.h Improve error handling for posix_fallocate(2) and posix_fadvise(2). 2016-02-25 19:58:23 +00:00
sysctl.h Add support for boolean sysctl's. 2016-05-26 08:41:55 +00:00
sysent.h Split MAKE_SYSENT into two parts so that the initializer part can be 2016-07-25 08:13:50 +00:00
syslimits.h
syslog.h
sysproto.h Do allow auditing of read(2) and write(2) system calls, by assigning 2016-07-10 13:42:33 +00:00
systm.h Prepare for network stack as a module 2016-07-27 20:34:09 +00:00
taskqueue.h Fix taskqueue groups to work with EARLY_AP_STARTUP. 2016-05-27 23:49:16 +00:00
terminal.h
termios.h
thr.h
tiio.h
time.h Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
timeb.h
timeet.h Constify the pointers to eventtimer and timecounter name strings. 2015-08-13 14:43:25 +00:00
timeffc.h
timepps.h Implement a mechanism for making changes in the kernel<->driver PPS 2015-05-04 17:59:39 +00:00
timers.h
times.h
timespec.h
timetc.h Constify the pointers to eventtimer and timecounter name strings. 2015-08-13 14:43:25 +00:00
timex.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
tree.h
tty.h
ttycom.h
ttydefaults.h
ttydevsw.h - Make the code consistent with itself style-wise and bring it closer 2016-01-25 22:58:06 +00:00
ttydisc.h
ttyhook.h
ttyqueue.h
turnstile.h Typo in comment. 2016-05-12 06:20:26 +00:00
types.h Pollute more places with off64_t and add __off64_t 2016-05-12 21:18:17 +00:00
ucontext.h POSIX states that #include <signal.h> shall make both mcontext_t and 2016-02-12 07:38:19 +00:00
ucred.h Call crextend() before copying old credentials to the new credentials 2016-01-14 10:16:25 +00:00
uio.h Add asynchronous command support to the pass(4) driver, and the new 2015-12-03 20:54:55 +00:00
umtx.h Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
un.h
unistd.h Simplify AIO initialization now that it is standard. 2016-03-09 19:05:11 +00:00
unpcb.h Fix cleanup race between unp_dispose and unp_gc 2015-07-14 02:00:50 +00:00
user.h sys/sys: minor spelling fixes. 2016-05-03 15:14:17 +00:00
utsname.h
uuid.h
vdso.h Split kerne timekeep ABI structure vdso_sv_tk out of the struct 2015-11-23 07:09:35 +00:00
vmem.h Make ZFS ARC track both KVA usage and fragmentation. 2015-04-03 14:45:48 +00:00
vmmeter.h Make vm_pageout_wakeup_thresh a u_int rather than an int. 2016-07-20 00:09:22 +00:00
vnode.h vfs: ifdef out noop vop_* primitives on !DEBUG_VFS_LOCKS kernels 2016-06-17 19:41:30 +00:00
vtoc.h
wait.h The si_status field of the siginfo_t, provided by the waitid(2) and 2015-07-18 09:02:50 +00:00
watchdog.h
zlib.h Move zlib.c from net to libkern. 2015-04-22 14:38:58 +00:00
zutil.h Move zlib.c from net to libkern. 2015-04-22 14:38:58 +00:00