freebsd-dev/sys/sys
Jonathan Anderson c30b9b5169 Export capability information via sysctls.
When reporting on a capability, flag the fact that it is a capability,
but also unwrap to report all of the usual information about the
underlying file.

Approved by: re (kib), mentor (rwatson)
Sponsored by: Google Inc
2011-07-20 09:53: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
_iovec.h
_lock.h
_lockmgr.h
_mutex.h
_null.h
_pthreadtypes.h
_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
_sigset.h
_sockaddr_storage.h
_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
_termios.h
_timespec.h
_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
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
aio.h
alq.h
apm.h
assym.h
ata.h Improve SATA Asynchronous Notification feature support in CAM: 2011-04-13 16:20:54 +00:00
bio.h
bitstring.h
blist.h
buf_ring.h
buf.h
bufobj.h
bus_dma.h
bus.h Respect the BIOS/firmware's notion of acceptable address ranges for PCI 2011-07-15 21:08:58 +00:00
callout.h Implement the delayed task execution extension to the taskqueue 2011-04-26 11:39:56 +00:00
capability.h Add cap_new() and cap_getrights() system calls. 2011-07-15 18:26:19 +00:00
cdefs.h Turn off default generation of userland dot symbols on powerpc64 now that 2011-02-18 21:44:53 +00:00
cdio.h
cdrio.h
cfictl.h
chio.h
clock.h
condvar.h
conf.h sys/sys/conf.h: 2011-06-14 16:29:43 +00:00
cons.h
consio.h
copyright.h
cpu.h
cpuctl.h
cpuset.h - Remove the now unused CPU_NAND_ATOMIC() 2011-07-04 12:18:12 +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
diskmbr.h MS Windows NT+ uses 4 bytes at offset 0x1b8 in the MBR to identify 2011-06-27 10:42:06 +00:00
diskpc98.h Fix clang warnings. 2011-06-18 13:56:33 +00:00
dkstat.h
domain.h
dtrace_bsd.h Add DTrace support to the new NFS client. This is essentially 2011-06-18 23:02:53 +00:00
dvdio.h
elf32.h
elf64.h
elf_common.h Add the ability to search for all the inlined instances of a given function. 2011-05-07 01:05:31 +00:00
elf_generic.h
elf.h
endian.h
errno.h errno.h: fix couple of whitespace nits 2011-04-04 17:39:30 +00:00
eui64.h
event.h
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
extattr.h
fail.h
fbio.h
fcntl.h Add the posix_fallocate(2) syscall. The default implementation in 2011-04-18 16:32:22 +00:00
fdcio.h
file.h Rework _fget to accept capability parameters. 2011-07-05 13:45:10 +00:00
filedesc.h When Capsicum starts creating capabilities to wrap existing file 2011-06-30 15:22:49 +00:00
filio.h
firmware.h
fnv_hash.h
gmon.h
gpio.h
gpt.h
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
imgact_aout.h
imgact_elf.h
imgact.h
inflate.h
interrupt.h - Remove the eintrcnt/eintrnames usage and introduce the concept of 2011-07-18 15:19:40 +00:00
ioccom.h
ioctl_compat.h
ioctl.h
ipc.h
ipmi.h
jail.h Change the way rctl interfaces with jails by introducing prison_racct 2011-05-03 07:32:58 +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 Disconnect sun4v architecture from the three. 2011-05-14 01:53:38 +00:00
kenv.h
kernel.h Add racct. It's an API to keep per-process, per-jail, per-loginclass 2011-03-29 17:47:25 +00:00
kerneldump.h
khelp.h Use the full and proper company name for Swinburne University of Technology 2011-04-12 08:13:18 +00:00
kobj.h
ksem.h
ksyms.h
kthread.h
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 Introduce preliminary support of the show description of the ABI of 2011-02-25 22:05:33 +00:00
libkern.h
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
linker_set.h
linker.h Provide convenience function for obtaining MODINFO_ADDR and MODINFO_SIZE 2011-02-09 19:08:21 +00:00
lock_profile.h
lock.h
lockf.h
lockmgr.h
lockstat.h
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
mbpool.h
mbuf.h Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
mchain.h
md4.h
md5.h
mdioctl.h
memrange.h
mman.h
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
mount.h Add a lock flags argument to the VFS_FHTOVP() file system 2011-05-22 01:07:54 +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 Fix apparent garbage in the message buffer. 2011-05-31 17:29:58 +00:00
mtio.h
mutex.h Retire mp_fixme(). It's no longer used. 2011-02-14 02:37:27 +00:00
namei.h
nlist_aout.h
osd.h
param.h Bump MAXCPU for amd64, ia64 and XLP mips appropriately. 2011-07-19 13:00:30 +00:00
pciio.h
pcpu.h Remove explicit MAXCPU usage from sys/pcpu.h avoiding a namespace 2011-07-19 16:50:55 +00:00
pioctl.h
pipe.h
pmc.h
pmckern.h Commit the support for removing cpumask_t and replacing it directly with 2011-05-05 14:39:14 +00:00
pmclog.h
poll.h
posix4.h
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 Add a facility to disable processing page faults. When activated, 2011-07-09 15:21:10 +00:00
procfs.h
protosw.h
ptio.h
ptrace.h
queue.h Note that the _SWAP operation is supported for all list/queue types. 2011-05-13 15:49:23 +00:00
racct.h Rename resource names to match these in login.conf. 2011-07-14 19:18:17 +00:00
random.h
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
regression.h
resource.h
resourcevar.h - Export each thread's individual resource usage in in struct kinfo_proc's 2011-07-18 17:33:08 +00:00
rman.h Extend the rman(9) API to support altering an existing resource. 2011-04-29 20:05:19 +00:00
rmlock.h
rtprio.h
runq.h
rwlock.h
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
sdt.h
select.h
selinfo.h
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
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
signalvar.h
sleepqueue.h
smp.h Merge r221901 from largeSMP project branch: 2011-05-22 21:31:36 +00:00
snoop.h
sockbuf.h
socket.h Allow using CMSG_NXTHDR with -Wcast-align. 2011-04-17 16:04:39 +00:00
socketvar.h
sockio.h Add infrastructure to allow all frames/packets received on an interface 2011-07-03 12:22:02 +00:00
sockopt.h
sockstate.h
soundcard.h add SNDCTL_DSP_HALT specified by OSS 2011-06-29 08:32:37 +00:00
stack.h
stat.h
statvfs.h
stddef.h Guard ptrdiff_t. 2011-05-05 02:35:25 +00:00
stdint.h Don't duplicate define the stdint types. 2011-05-05 14:45:24 +00:00
sun_disklabel.h
sx.h - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
syscall.h Auto-generated system call code with cap_new(), cap_getrights(). 2011-07-15 18:33:12 +00:00
syscall.mk Auto-generated system call code with cap_new(), cap_getrights(). 2011-07-15 18:33:12 +00:00
syscallsubr.h Add support for executing the FreeBSD 1/i386 a.out binaries on amd64. 2011-04-01 11:16:29 +00:00
sysctl.h Define two new sysctl node flags: CTLFLAG_CAPRD and CTLFLAG_CAPRW, which 2011-07-17 23:05:24 +00:00
sysent.h Extend struct sysvec with new method sv_schedtail, which is used for an 2011-03-08 19:01:45 +00:00
syslimits.h
syslog.h
sysproto.h Auto-generated system call code with cap_new(), cap_getrights(). 2011-07-15 18:33:12 +00:00
systm.h Add a facility to disable processing page faults. When activated, 2011-07-09 15:21:10 +00:00
taskqueue.h Implement the delayed task execution extension to the taskqueue 2011-04-26 11:39:56 +00:00
termios.h
thr.h
tiio.h
time.h
timeb.h
timeet.h
timepps.h
timers.h
times.h
timespec.h
timetc.h Prefer uint64_t over u_int64_t. 2011-07-14 21:02:15 +00:00
timex.h
tree.h
tty.h Reintroduce the cioctl() hook in the TTY layer for digi(4). 2011-07-02 13:54:20 +00:00
ttycom.h
ttydefaults.h
ttydevsw.h Reintroduce the cioctl() hook in the TTY layer for digi(4). 2011-07-02 13:54:20 +00:00
ttydisc.h
ttyhook.h
ttyqueue.h
turnstile.h
types.h Define cap_rights_t and DTYPE_CAPABILITY, which are required to 2011-07-01 12:13:48 +00:00
ucontext.h
ucred.h Add two new system calls, setloginclass(2) and getloginclass(2). This makes 2011-03-05 12:40:35 +00:00
uio.h Add a facility to disable processing page faults. When activated, 2011-07-09 15:21:10 +00:00
umtx.h Use umtx_key objects to uniquely identify futexes. Private futexes in 2011-02-23 13:23:28 +00:00
un.h
unistd.h Implement an RFTSIGZMB flag to rfork(2) to specify a signal that is 2011-07-12 20:37:18 +00:00
unpcb.h
user.h Export capability information via sysctls. 2011-07-20 09:53:35 +00:00
utsname.h
uuid.h
vmmeter.h
vnode.h Update locking annotations for the struct vnode. 2011-07-10 18:57:35 +00:00
vtoc.h
wait.h
watchdog.h - Add the possibility to reuse the already last used timeout when patting 2011-04-27 16:43:03 +00:00