freebsd-skq/sys/sys
Pawel Jakub Dawidek 3812dcd3de Allocate descriptor number in dupfdopen() itself instead of depending on
the caller using finstall().
This saves us the filedesc lock/unlock cycle, fhold()/fdrop() cycle and closes
a race between finstall() and dupfdopen().

MFC after:	1 month
2012-06-13 21:32:35 +00:00
..
_bus_dma.h
_callout.h Implement the delayed task execution extension to the taskqueue 2011-04-26 11:39:56 +00:00
_cpuset.h Revert this, as in userland MAXCPU is always 1. 2011-05-05 19:35:12 +00:00
_ffcounter.h Core structure and functions to support a feed-forward clock within the kernel. 2011-11-19 14:10:16 +00:00
_iovec.h
_kstack_cache.h Move kstack_cache_entry into the private header, and make the 2011-12-16 10:56:16 +00:00
_lock.h
_lockmgr.h In current code, threads performing an interruptible sleep (on both 2009-12-12 21:31:07 +00:00
_mutex.h
_null.h Define NULL to nullptr in C++11 mode (not strictly required, but it makes 2011-12-27 21:36:31 +00:00
_pthreadtypes.h Fix the visibility of several prototypes. Also move pthread_kill() and 2009-03-14 20:10:14 +00:00
_rmlock.h Commit the support for removing cpumask_t and replacing it directly with 2011-05-05 14:39:14 +00:00
_rwlock.h
_semaphore.h Use umtx to implement process sharable semaphore, to make this work, 2010-01-05 02:37:59 +00:00
_sigset.h
_sockaddr_storage.h Move the duplicate definition of struct sockaddr_storage to its own 2009-09-08 10:39:38 +00:00
_stack.h
_stdint.h Fix by hand files that aren't added automatically by svn. 2011-05-09 22:13:07 +00:00
_sx.h
_task.h Use a safer mechanism for determining if a task is currently running, 2010-10-13 22:59:04 +00:00
_termios.h Decompose <sys/termios.h>. 2009-11-28 23:50:48 +00:00
_timespec.h Rename st_*timespec fields to st_*tim for POSIX 2008 compliance. 2010-03-28 13:13:22 +00:00
_timeval.h
_types.h Define cap_rights_t and DTYPE_CAPABILITY, which are required to 2011-07-01 12:13:48 +00:00
_umtx.h In revision 231989, we pass a 16-bit clock ID into kernel, however 2012-02-25 02:12:17 +00:00
aac_ioctl.h Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
acct.h
acl.h Make it possible to use permission sets (full_set, modify_set, read_set 2011-04-09 07:42:25 +00:00
agpio.h A rewrite of the i810 bits of the agp(4) driver. New driver supports 2012-05-22 10:59:26 +00:00
aio.h Namespace: aio_waitcomplete() is a BSD extension. 2009-03-14 19:17:00 +00:00
alq.h - Rework the underlying ALQ storage to be a circular buffer, which amongst other 2010-04-26 13:48:22 +00:00
apm.h Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. 2012-05-25 20:33:34 +00:00
assym.h
ata.h MFprojects/zfsd: 2012-05-24 11:07:39 +00:00
bio.h Correct bioq_disksort so that bioq_insert_tail() offers barrier semantic. 2010-09-02 19:40:28 +00:00
bitstring.h
blist.h
buf_ring.h Switch to our preferred 2-clause BSD license. 2010-05-05 20:39:02 +00:00
buf.h Fix typo [1]. Use commas to separate flag printouts, in style with 2012-06-02 19:39:12 +00:00
bufobj.h Remove the struct thread unuseful argument from bufobj interface. 2008-10-10 21:23:50 +00:00
bus_dma.h - Change contigmalloc() to use the vm_paddr_t type instead of an unsigned 2012-03-01 19:58:34 +00:00
bus.h Allow device_busy() and device_unbusy() to be invoked while a device is 2012-04-11 20:57:41 +00:00
callout.h When callout_reset_on() cannot immediately migrate a callout since it 2012-05-03 10:38:02 +00:00
capability.h Add experimental support for process descriptors 2011-08-18 22:51:30 +00:00
cdefs.h Add a convenience macro for the fastcall attribute. 2012-06-13 20:41:45 +00:00
cdio.h
cdrio.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
cfictl.h Add support for frobbing Intel StrataFlash Protection Registers: 2009-02-05 18:12:07 +00:00
chio.h
clock.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
condvar.h
conf.h Keep track of the mount point associated with a special device 2012-03-28 20:49:11 +00:00
cons.h move GETS_*ECHO* defintions from libkern.h to cons.h 2011-12-17 15:39:14 +00:00
consio.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
copyright.h Happy 2012 to FreeBSD users in Samoa. 2011-12-31 04:38:04 +00:00
cpu.h Provide a new CPU device driver ivar to report the nominal speed of the 2009-05-31 08:59:15 +00:00
cpuctl.h - Add support to atomically set/clear individual bits of a MSR register 2009-06-30 12:35:47 +00:00
cpuset.h Tune cpuset macros to optimize cases when CPU_SETSIZE fits into single 2012-03-12 07:02:16 +00:00
ctype.h
dataacq.h
device_port.h
devicestat.h
digiio.h
dir.h
dirent.h
disk.h Plumb device physical path reporting from CAM devices, through GEOM and 2011-06-14 17:10:32 +00:00
disklabel.h Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. 2012-05-25 20:33:34 +00:00
diskmbr.h VMware environments are not unusual now. Add VMware partitions recognition 2012-04-18 11:59:03 +00:00
diskpc98.h Fix clang warnings. 2011-06-18 13:56:33 +00:00
dkstat.h
domain.h Introduce and use a sysinit-based initialization scheme for virtual 2009-07-23 20:46:49 +00:00
dtrace_bsd.h Add DTrace support to the new NFS client. This is essentially 2011-06-18 23:02:53 +00:00
dvdio.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
elf32.h
elf64.h style(9) 2009-01-01 02:08:56 +00:00
elf_common.h Add definition for the -z nodefaultlib flag. 2012-05-06 18:34:31 +00:00
elf_generic.h style(9) 2009-01-01 02:08:56 +00:00
elf.h
endian.h Fix some way-past-brucification complaints from FlexeLint. 2010-05-20 06:16:13 +00:00
errno.h errno.h: fix couple of whitespace nits 2011-04-04 17:39:30 +00:00
eui64.h
event.h - Add knlist_init_rw_reader() function to kqueue(9). 2012-03-26 09:34:17 +00:00
eventhandler.h Add event handlers for (ACPI) suspend/resume events. Suspend event handlers 2011-04-14 22:17:39 +00:00
eventvar.h
exec.h Add macro DECLARE_MODULE_TIED to denote a module as requiring the 2010-10-12 09:18:17 +00:00
extattr.h Introduce accmode_t. This is required for NFSv4 ACLs - it will be neccessary 2008-10-28 13:44:11 +00:00
fail.h Initialize fp_location for explicitly managed fail points, and push 2010-12-21 18:23:03 +00:00
fbio.h Yet another attempt to make palette loading more safer: 2010-02-23 21:51:14 +00:00
fcntl.h Add the posix_fadvise(2) system call. It is somewhat similar to 2011-11-04 04:02:50 +00:00
fdcio.h
file.h Remove MALLOC_DECLAREs of nonexisting malloc-pools. 2011-11-06 20:16:50 +00:00
filedesc.h Allocate descriptor number in dupfdopen() itself instead of depending on 2012-06-13 21:32:35 +00:00
filio.h Add FIONSPACE from NetBSD. FIONSPACE is provided so that programs may 2009-06-30 13:38:49 +00:00
firmware.h
fnv_hash.h
gmon.h
gpio.h Initial GPIO bus support. Includes: 2010-09-28 03:24:53 +00:00
gpt.h Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. 2012-05-25 20:33:34 +00:00
hash.h
hhook.h Use the full and proper company name for Swinburne University of Technology 2011-04-12 08:13:18 +00:00
iconv.h Fix improper handling of variadic args with ICDEBUG 2012-05-21 02:30:22 +00:00
imgact_aout.h Merge projects/enhanced_coredumps (r204346) into HEAD: 2010-03-02 06:58:58 +00:00
imgact_elf.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
imgact.h Create shared (readonly) page. Each ABI may specify the use of page by 2011-01-08 16:13:44 +00:00
inflate.h
interrupt.h - Remove the eintrcnt/eintrnames usage and introduce the concept of 2011-07-18 15:19:40 +00:00
ioccom.h IOCPARM_MAX defines maximum size of a structure that can be passed 2010-04-01 16:21:35 +00:00
ioctl_compat.h Perform cleanups to the TTY headers: 2009-09-06 09:39:40 +00:00
ioctl.h Clean up <sys/ioctl.h>. 2009-05-09 19:01:24 +00:00
ipc.h Change the ABI of some of the structures used by the SYSV IPC API: 2009-06-24 21:10:52 +00:00
ipmi.h
jail.h Add procfs to jail-mountable filesystems. 2012-02-29 00:30:18 +00:00
joystick.h
kbio.h Restore binary compatibility for GIO_KEYMAP and PIO_KEYMAP. 2011-07-17 08:19:19 +00:00
kdb.h - Extend the KDB interface to add a per-debugger callback to print a 2012-04-12 17:43:59 +00:00
kenv.h
kernel.h Replace a reference to the non-existent SI_ORDER_LAST in a comment with 2012-06-12 18:19:46 +00:00
kerneldump.h - Add minidump support for FreeBSD/mips 2010-11-07 03:09:02 +00:00
khelp.h Use the full and proper company name for Swinburne University of Technology 2011-04-12 08:13:18 +00:00
kobj.h As it turns out, r186347 actually is insufficient to avoid the use of the 2011-11-15 20:11:03 +00:00
ksem.h Rework the lifetime management of the kernel implementation of POSIX 2008-06-27 05:39:04 +00:00
ksyms.h Add the ksyms(4) pseudo driver. The ksyms driver allows a process to 2009-05-26 21:39:09 +00:00
kthread.h Remove spurious '/*-' marks and fix some other style problems. 2010-07-22 05:42:29 +00:00
ktr.h Fix KTR_CPUMASK in order to accept a string representing a cpuset_t. 2011-05-31 20:48:58 +00:00
ktrace.h Include the associated wait channel message for context switch ktrace 2012-04-20 15:32:36 +00:00
libkern.h Remove second consts in r233288 in order to appease C++ compilers. 2012-03-26 18:22:04 +00:00
limits.h POSIX.1-2008 moved some constants from the XSI option to the Base. 2011-03-04 19:28:27 +00:00
link_aout.h
link_elf.h In rtld, read the initial stack access mode from AT_STACKPROT as set 2011-01-08 17:11:49 +00:00
linker_set.h After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
linker.h Provide convenience function for obtaining MODINFO_ADDR and MODINFO_SIZE 2011-02-09 19:08:21 +00:00
lock_profile.h In non-debugging mode make this define (void)0 instead of nothing. This 2009-06-21 09:01:12 +00:00
lock.h Constify arguments for locking KPIs where possible. 2011-11-16 21:51:17 +00:00
lockf.h The advisory lock may be activated or activated and removed during the 2009-05-24 12:39:38 +00:00
lockmgr.h Constify arguments for locking KPIs where possible. 2011-11-16 21:51:17 +00:00
lockstat.h Revert the approach for skipping lockstat_probe_func call when doing 2011-12-12 23:29:32 +00:00
loginclass.h Add racct. It's an API to keep per-process, per-jail, per-loginclass 2011-03-29 17:47:25 +00:00
mac.h
malloc.h - Change contigmalloc() to use the vm_paddr_t type instead of an unsigned 2012-03-01 19:58:34 +00:00
mbpool.h
mbuf.h Seperate SCTP checksum offloading for IPv4 and IPv6. 2012-05-30 20:56:07 +00:00
mchain.h Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
md4.h
md5.h
mdioctl.h Fix comment. 2012-01-25 11:28:18 +00:00
memrange.h Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). 2011-01-17 22:58:28 +00:00
mman.h Export some more useful info about shared memory objects to userland 2012-04-01 18:22:48 +00:00
module_khelp.h Use the full and proper company name for Swinburne University of Technology 2011-04-12 08:13:18 +00:00
module.h Add macro DECLARE_MODULE_TIED to denote a module as requiring the 2010-10-12 09:18:17 +00:00
mount.h vn_io_fault() is a facility to prevent page faults while filesystems 2012-05-30 16:42:08 +00:00
mouse.h
mpt_ioctl.h
mqueue.h
msg.h Add ucred pointer to the SysV-related memory structures. This is required 2011-04-06 16:59:54 +00:00
msgbuf.h - Clean up timestamps in msgbuf code. The timestamps should now be 2012-03-19 00:36:32 +00:00
mtio.h
mutex.h panic: add a switch and infrastructure for stopping other CPUs in SMP case 2011-12-11 21:02:01 +00:00
namei.h Update LOCKLEAF comment: it should say "vnode". 2011-12-29 12:28:05 +00:00
nlist_aout.h Make the char *n_name member of struct nlist 'const'. 2010-06-10 14:19:51 +00:00
osd.h - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9), 2010-12-21 13:45:29 +00:00
param.h Add nitems(), a macro for determining the number of elements in a 2012-06-02 19:30:49 +00:00
pciio.h - Add a new ioctl to /dev/pci to fetch details on an individual BAR of a 2009-02-02 22:04:40 +00:00
pcpu.h Remove explicit MAXCPU usage from sys/pcpu.h avoiding a namespace 2011-07-19 16:50:55 +00:00
pioctl.h Fix typo. 2011-01-23 12:44:17 +00:00
pipe.h The pipe_poll() performs lockless access to the vnode to test 2012-03-07 07:31:50 +00:00
pmc.h Add software PMC support. 2012-03-28 20:58:30 +00:00
pmckern.h Add software PMC support. 2012-03-28 20:58:30 +00:00
pmclog.h Add software PMC support. 2012-03-28 20:58:30 +00:00
poll.h
posix4.h In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00
power.h
priority.h Use a name instead of a magic number for kern_yield(9) when the priority 2011-05-13 05:27:58 +00:00
priv.h Add infrastructure to allow all frames/packets received on an interface 2011-07-03 12:22:02 +00:00
proc.h vn_io_fault() is a facility to prevent page faults while filesystems 2012-05-30 16:42:08 +00:00
procdesc.h Add experimental support for process descriptors 2011-08-18 22:51:30 +00:00
procfs.h Add the ability for GDB to printout the thread name along with other 2010-11-22 14:42:13 +00:00
protosw.h Introduce an infrastructure for dismantling vnet instances. 2009-06-08 17:15:40 +00:00
ptio.h
ptrace.h The PTRACESTOP() macro is used only once. Inline the only use and remove 2012-02-11 14:49:25 +00:00
queue.h Note that the _SWAP operation is supported for all list/queue types. 2011-05-13 15:49:23 +00:00
racct.h Make racct and rctl correctly handle jail renaming. Previously 2012-03-06 11:05:50 +00:00
random.h
rangelock.h Add a rangelock implementation, intended to be used to range-locking 2012-05-30 16:06:38 +00:00
rctl.h Change the way rctl interfaces with jails by introducing prison_racct 2011-05-03 07:32:58 +00:00
reboot.h
refcount.h Remove debugging cruft. 2008-07-23 16:44:20 +00:00
regression.h
resource.h Add const qualifier to rlimit_ident. 2011-11-24 20:37:09 +00:00
resourcevar.h Change kern.proc.rlimit sysctl to: 2012-01-22 20:25:00 +00:00
rman.h Typo. 2012-02-27 18:28:31 +00:00
rmlock.h Constify arguments for locking KPIs where possible. 2011-11-16 21:51:17 +00:00
rtprio.h
runq.h
rwlock.h Constify arguments for locking KPIs where possible. 2011-11-16 21:51:17 +00:00
sbuf.h Change the length quantities of sbufs to be ssize_t rather than int. 2011-05-16 16:18:40 +00:00
sched.h Add a new sched_clear_name() method to the scheduler interface to clear 2012-03-08 19:41:05 +00:00
sdt.h Implement the DTrace sched provider. This implementation aims to be 2012-05-15 01:30:25 +00:00
select.h
selinfo.h Fix a deficiency in the selinfo interface: 2011-08-25 15:51:54 +00:00
sem.h Remove semaphore map entry count "semmap" field and its tuning 2011-07-14 14:18:14 +00:00
sema.h
serial.h
sf_buf.h
sglist.h Change the 'resid' parameter to sglist_consume_uio() from an int to a 2009-08-20 19:23:58 +00:00
shm.h Add ucred pointer to the SysV-related memory structures. This is required 2011-04-06 16:59:54 +00:00
sigio.h
signal.h Register signal 33 explicitly as reserved by real-time library, and 2012-03-26 19:12:09 +00:00
signalvar.h In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00
sleepqueue.h Tighten up some of the comments describing turnstiles and sleepqueues. 2010-12-13 23:53:55 +00:00
slicer.h Add a new geom class which allows to divide NAND Flash chip 2012-05-22 08:33:14 +00:00
smp.h Add x86/acpica/acpi_wakeup.c for amd64 and i386. Difference of 2012-06-09 00:37:26 +00:00
snoop.h
sockbuf.h Increase the defaults for the maximum socket buffer limit, 2011-08-25 09:20:13 +00:00
socket.h Add SO_PROTOCOL/SO_PROTOTYPE socket SOL_SOCKET-level option to get the 2012-02-26 13:55:43 +00:00
socketvar.h This commit implements the SO_USER_COOKIE socket option, which lets 2010-11-12 13:02:26 +00:00
sockio.h Provide ABI compatibility shim to enable configuring of addresses 2011-12-21 12:39:08 +00:00
sockopt.h Factor sockbuf, sockopt, and sockstate out of socketvar.h in to separate headers. 2008-07-29 07:45:05 +00:00
sockstate.h Factor sockbuf, sockopt, and sockstate out of socketvar.h in to separate headers. 2008-07-29 07:45:05 +00:00
soundcard.h add SNDCTL_DSP_HALT specified by OSS 2011-06-29 08:32:37 +00:00
stack.h Constify stack argument for functions that don't modify it. 2011-11-16 19:06:55 +00:00
stat.h Rename st_*timespec fields to st_*tim for POSIX 2008 compliance. 2010-03-28 13:13:22 +00:00
statvfs.h
stddef.h Guard ptrdiff_t. 2011-05-05 02:35:25 +00:00
stdint.h Add a pointless and superfluous GNUism that people at a certain large data 2011-12-15 11:21:56 +00:00
sun_disklabel.h
sx.h Introduce the same mutex-wise fix in r227758 for sx locks. 2011-11-21 12:59:52 +00:00
syscall.h Regenerate system call tables. 2012-05-25 21:52:57 +00:00
syscall.mk Regenerate system call tables. 2012-05-25 21:52:57 +00:00
syscallsubr.h Add kern_fhstat(), adjust sys_fhstat() to use it. 2012-05-24 08:00:26 +00:00
sysctl.h Add a sysctl to set and retrieve binary osreldate of another process. 2012-03-23 20:05:41 +00:00
sysent.h Control the execution permission of the readable segments for 2011-10-15 12:35:18 +00:00
syslimits.h Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
syslog.h Namespace: vsyslog() is a BSD extension. 2009-03-14 19:07:25 +00:00
sysproto.h Regenerate system call tables. 2012-05-25 21:52:57 +00:00
systm.h Add a convenience macro for the returns_twice attribute, and apply it to 2012-04-29 11:04:31 +00:00
taskqueue.h Add a TASK_INITIALIZER() macro that can be used to statically 2011-12-19 18:55:13 +00:00
termios.h Decompose <sys/termios.h>. 2009-11-28 23:50:48 +00:00
thr.h Make this file more C++ friendly. 2010-04-20 17:57:43 +00:00
tiio.h
time.h Remove timeval2timespec and its converse, since we already have 2011-08-09 14:06:50 +00:00
timeb.h Add warnings to <regexp.h> and <sys/timeb.h>. 2010-03-09 21:01:12 +00:00
timeet.h Refactor timer management code with priority to one-shot operation mode. 2010-09-13 07:25:35 +00:00
timeffc.h Introduce the sysclock_getsnapshot() and sysclock_snap2bintime() KPIs. The 2011-12-24 01:32:01 +00:00
timepps.h - Add Pulse-Per-Second timestamping using raw ffcounter and corresponding 2011-11-21 13:34:29 +00:00
timers.h
times.h
timespec.h Rename st_*timespec fields to st_*tim for POSIX 2008 compliance. 2010-03-28 13:13:22 +00:00
timetc.h Prefer uint64_t over u_int64_t. 2011-07-14 21:02:15 +00:00
timex.h
tree.h In sys/tree.h: 2009-03-01 04:57:23 +00:00
tty.h Move tty_opened_ns() into syscons.c which is currently the 2012-03-29 15:47:29 +00:00
ttycom.h Fix whitespace inconsistencies in TTY code. 2012-02-06 18:15:46 +00:00
ttydefaults.h Fix whitespace inconsistencies in TTY code. 2012-02-06 18:15:46 +00:00
ttydevsw.h Reintroduce the cioctl() hook in the TTY layer for digi(4). 2011-07-02 13:54:20 +00:00
ttydisc.h Add ttydisc_rint_simple(). 2009-08-23 08:04:40 +00:00
ttyhook.h Change ttyhook_register() second argument from thread to process pointer. 2008-12-13 21:17:46 +00:00
ttyqueue.h Properly set the low watermarks when reducing the baud rate. 2009-10-19 07:17:37 +00:00
turnstile.h Tighten up some of the comments describing turnstiles and sleepqueues. 2010-12-13 23:53:55 +00:00
types.h Isolate v_caddr_t in the ie driver. 2012-01-31 13:00:40 +00:00
ucontext.h Add a convenience macro for the returns_twice attribute, and apply it to 2012-04-29 11:04:31 +00:00
ucred.h Add two new system calls, setloginclass(2) and getloginclass(2). This makes 2011-03-05 12:40:35 +00:00
uio.h Constify args to copyiniov and copyinuio. 2011-11-14 07:12:10 +00:00
umtx.h umtx operation UMTX_OP_MUTEX_WAKE has a side-effect that it accesses 2012-04-05 02:24:08 +00:00
un.h Now that portalfs doesn't directly invoke uipc_connect2(), make it a 2008-10-06 18:43:11 +00:00
unistd.h Add brackets around bare '-1' used as the macro body. 2012-03-10 08:48:52 +00:00
unpcb.h
user.h Calculate the count of per-process cow faults. Export the count to 2012-05-23 18:10:54 +00:00
utsname.h
uuid.h
vmmeter.h Move repeated MAXSLP definition from machine/vmparam.h to sys/vmmeter.h. 2011-01-09 12:50:44 +00:00
vnode.h Split the second half of vn_open_cred() (after a vnode has been found via 2012-06-08 18:32:09 +00:00
vtoc.h Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. 2012-05-25 20:33:34 +00:00
wait.h Implement WNOWAIT flag for wait4(2). It specifies that process whose status 2008-08-26 12:37:16 +00:00
watchdog.h - Add the possibility to reuse the already last used timeout when patting 2011-04-27 16:43:03 +00:00