freebsd-skq/sys/sys
Robert Watson 7ba28492c5 Declare a module service "kernel_mac_support" when MAC support is
enabled and the kernel provides the MAC registration and entry point
service.  Declare a dependency on that module service for any
MAC module registered using mac_policy.h.  For now, hard code the
version as 1, but once we've come up with a versioning policy, we'll
move to a #define of some sort.  In the mean time, this will prevent
loading a MAC module when 'options MAC' isn't present, which (due to
a bug in the kernel linker) can result if the MAC module is preloaded
via loader.conf.

This particular evil recommended by:	peter
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI LAbs
2002-08-12 02:00:21 +00:00
..
_lock.h Renamed the idempotency identifier to match the file name. 2002-06-07 14:37:09 +00:00
_mutex.h Add mtx_ prefixes to the fields used for mutex profiling, and fix a bug 2002-07-03 01:50:27 +00:00
_posix.h
_sigset.h Quick fix for the type of the bitmap in sigset_t. It was an array of 2002-06-20 09:04:33 +00:00
_timespec.h
_types.h Implement the <sys/statvfs.h> header. Related changes to <sys/types.h> 2002-06-14 19:37:06 +00:00
aac_ioctl.h
acct.h
acl.h More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
agpio.h
aio.h
assym.h
ata.h
bio.h Make daddr_t and u_daddr_t 64bits wide. 2002-05-14 11:09:43 +00:00
bitstring.h
blist.h Move the hideously misnamed type "u_daddr_t" to <sys/blist.h> where it 2002-05-18 09:38:20 +00:00
buf.h Add support to UFS2 to provide storage for extended attributes. 2002-07-19 07:29:39 +00:00
bus_dma.h
bus_private.h
bus.h Add bus_child_present and the child_present method to bus_if.m 2002-07-21 03:28:43 +00:00
callout.h
ccdvar.h
cdefs.h Identify the C Language Binding Option of IEEE Std. 1003.2-1992. 2002-07-15 16:44:07 +00:00
cdio.h
cdrio.h Add DVD+RW support to the ATA driver and burncd. This also closes 2002-08-08 07:59:24 +00:00
chio.h
clist.h
clock.h
condvar.h Part 1 of KSE-III 2002-06-29 17:26:22 +00:00
conf.h Used protected names (_foo) for parameter names. This helps clean up 2002-04-21 10:57:43 +00:00
cons.h
consio.h Add a VT_LOCKSWITCH ioctl that disallows vty switching. Something 2002-07-10 03:29:38 +00:00
copyright.h
ctype.h
dataacq.h
device_port.h
devicestat.h
digiio.h
dir.h
dirent.h
disk.h Implement DIOCGFRONTSTUFF ioctl which reports how many bytes from the start 2002-04-09 15:43:32 +00:00
disklabel.h Remove the compat bits for the mis-aligned struct disklabel on alpha, 2002-06-19 08:37:02 +00:00
diskmbr.h Remove the compat bits for the mis-aligned struct disklabel on alpha, 2002-06-19 08:37:02 +00:00
diskpc98.h Remove the compat bits for the mis-aligned struct disklabel on alpha, 2002-06-19 08:37:02 +00:00
diskslice.h
dkstat.h
dmap.h
domain.h
dvdio.h
elf32.h Move the definition of ElfN_Hashelt to common headers. The only platform 2002-05-30 08:32:18 +00:00
elf64.h Move the definition of ElfN_Hashelt to common headers. The only platform 2002-05-30 08:32:18 +00:00
elf_common.h - Call a SHT_REL 'relocation section' rather than 2002-08-11 21:07:50 +00:00
elf_generic.h Infrastructure tweaks to allow having both an Elf32 and an Elf64 executable 2002-07-20 02:56:12 +00:00
endian.h Make this header self-reliant with regard to the types it uses. 2002-04-29 16:58:54 +00:00
errno.h Update ELAST. 2002-08-09 14:54:33 +00:00
event.h Updated a comment. Namspace pollution in <sys/select.h> is now moot since 2002-06-29 19:14:52 +00:00
eventhandler.h Convert macros with variadic arguments from GNU format to ISO 9X. 2002-07-15 17:15:41 +00:00
eventvar.h
exec.h
extattr.h More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
fbio.h Turn on TGA support. 2002-04-13 22:34:16 +00:00
fcntl.h
fdcio.h
file.h Add struct xfile, which will be used instead of struct file for sysctl 2002-07-31 12:16:51 +00:00
filedesc.h ISOfy and minor warnsfix. 2002-07-15 13:08:44 +00:00
filio.h
fnv_hash.h
gmon.h
gpt.h Don't use an incomplete array type to mark the start of the padding 2002-05-31 01:07:13 +00:00
iconv.h Convert GNU variadic macros to the ISO 9X variety. 2002-07-15 13:34:50 +00:00
imgact_aout.h
imgact_elf.h Infrastructure tweaks to allow having both an Elf32 and an Elf64 executable 2002-07-20 02:56:12 +00:00
imgact.h Infrastructure tweaks to allow having both an Elf32 and an Elf64 executable 2002-07-20 02:56:12 +00:00
inflate.h
interrupt.h
ioccom.h I've fixed the X11 port, so I can remove the (ioctl) hack. 2002-04-10 04:53:37 +00:00
ioctl_bt848.h
ioctl_compat.h
ioctl_meteor.h
ioctl.h
ipc.h
jail.h Include <sys/queue.h> so that this file provides its own namespace 2002-05-06 03:13:08 +00:00
joystick.h Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
jumbo.h Remove the advertising clause from the Duke BSD copyright on the 2002-07-06 02:44:15 +00:00
kbio.h
kenv.h Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00
kernel.h Add a new SYSINIT subsystem for KTRACE. 2002-06-07 05:11:39 +00:00
kerneldump.h Restore the ability to take crashdumps on alpha. This was cut and pasted 2002-05-11 21:53:46 +00:00
kobj.h Convert hit and miss counters to unsigned values. Surely negative values 2002-06-10 22:40:26 +00:00
kse.h remove cruft 2002-06-29 07:16:24 +00:00
kthread.h
ktr.h KTR_CT* had one too many trailing zeroes, making KTR_CT5-8 too large for 2002-06-23 00:38:04 +00:00
ktrace.h Overhaul the ktrace subsystem a bit. For the most part, the actual vnode 2002-06-07 05:32:59 +00:00
libkern.h
linedisc.h Used protected names (_foo) for parameter names. This helps clean up 2002-04-21 10:57:43 +00:00
link_aout.h
link_elf.h
linker_set.h Wrap GCC-specific stuff and provide alternative for lint. 2002-04-21 11:11:02 +00:00
linker.h Make the consumers of the linker_load_file() function use 2002-08-02 20:56:07 +00:00
lock.h Parenthesise macro arguments to reduce lint warnings. 2002-04-21 10:43:24 +00:00
lockf.h
lockmgr.h Record the file, line, and pid of the last successful shared lock holder. This 2002-05-30 05:55:22 +00:00
mac_policy.h Declare a module service "kernel_mac_support" when MAC support is 2002-08-12 02:00:21 +00:00
mac.h Reduce the memory footprint of MAC in the base system by halving 2002-07-31 00:03:26 +00:00
malloc.h fix whitespace botch in previous commit. 2002-06-19 01:23:54 +00:00
mbuf.h Begin committing support for Mandatory Access Control and extensible 2002-07-30 22:03:57 +00:00
mchain.h
md4.h
md5.h Oops, this should have been part of my previous commit. 2002-06-24 14:18:39 +00:00
mdioctl.h
memrange.h Make the MTRR code a bit more defensive - this should help people 2002-04-14 20:19:13 +00:00
mman.h
module.h
mount.h Don't #ifdef _KERNEL struct vfsconf, mount_smbfs(8) 2002-08-11 02:03:44 +00:00
mouse.h
msg.h
msgbuf.h
mtio.h Make the mtio data structures explicitly sized. 2002-05-14 07:30:13 +00:00
mutex.h Disable optimization of spinlocks on UP kernels w/o debugging for now 2002-07-27 16:54:23 +00:00
namei.h More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
nlist_aout.h
param.h Widen struct sockbuf's sb_timeo member to int from short. With 2002-07-24 03:02:43 +00:00
pciio.h
pcpu.h
pioctl.h Kernel modifications necessary to allow to follow fork()ed children. 2002-08-04 01:07:02 +00:00
pipe.h Introduce support for Mandatory Access Control and extensible 2002-07-30 22:33:28 +00:00
poll.h Reconnect a comment with its code. 2002-07-10 04:47:25 +00:00
posix4.h
power.h Very minor warns fix. Add a declaration for an unused parameter. 2002-07-15 14:06:03 +00:00
priority.h
proc.h EAK! two status flags in teh proc structure were defined to the 2002-08-08 06:09:32 +00:00
procfs.h
protosw.h
ptio.h
ptrace.h
queue.h Add a macro for SLIST traversal 'SLIST_FOREACH_PREVPTR', 2002-08-05 05:18:43 +00:00
random.h
reboot.h
regression.h
resource.h Part I of RLIMIT_VMEM implementation. Implement core functionality for 2002-06-26 00:29:28 +00:00
resourcevar.h Widen struct sockbuf's sb_timeo member to int from short. With 2002-07-24 03:02:43 +00:00
rman.h
rtprio.h
runq.h Make the run queue parameters machine dependent. Optimize 64 bit 2002-05-25 01:12:23 +00:00
sbuf.h
select.h Now that we have a separate header file for sigset_t, use it and avoid 2002-06-16 18:40:16 +00:00
selinfo.h
sem.h
sema.h
semaphore.h
shm.h
signal.h Use <sys/_sigset.h> to get declaration of sigset_t, which has been moved 2002-06-16 18:35:24 +00:00
signalvar.h Part 1 of KSE-III 2002-06-29 17:26:22 +00:00
smp.h Forward declare struct thread. 2002-05-20 16:11:38 +00:00
snoop.h Include <sys/types.h> in the !_KERNEL case so that this file is 2002-06-24 11:45:45 +00:00
socket.h Implement SO_NOSIGPIPE option for sockets. This allows one to request that 2002-06-20 18:52:54 +00:00
socketvar.h Introduce support for Mandatory Access Control and extensible kernel 2002-07-30 22:39:28 +00:00
sockio.h
soundcard.h
stat.h Change the name of st_createtime to st_birthtime. This change is 2002-07-16 22:36:00 +00:00
statvfs.h Fix two syntax errors and add declarations of statvfs() and fstatvfs(). 2002-06-16 21:02:08 +00:00
stdint.h Create a new header <machine/_stdint.h> for storing MD parts of 2002-07-29 17:41:23 +00:00
sun_disklabel.h Add a hack (ported from NetBSD) to support Sun disk labels. 2002-05-09 20:22:59 +00:00
sx.h
syscall.h Regen. 2002-08-06 15:16:55 +00:00
syscall.mk Regen. 2002-08-06 15:16:55 +00:00
sysctl.h Introduce a new sysctl flag, CTLFLAG_SKIP, which will cause 2002-08-10 19:56:45 +00:00
sysent.h Infrastructure tweaks to allow having both an Elf32 and an Elf64 executable 2002-07-20 02:56:12 +00:00
syslimits.h
syslog.h
sysproto.h Regen. 2002-08-06 15:16:55 +00:00
systm.h Fix warning by marking unused function parameter. 2002-07-15 13:10:19 +00:00
taskqueue.h
termios.h
tiio.h At long last, commit the zero copy sockets code. 2002-06-26 03:37:47 +00:00
time.h Fix visibility issues; use <sys/timespec.h>. 2002-06-15 23:37:33 +00:00
timeb.h
timepps.h Brucifixion ? Yes, out that door, row on the left, one patch each. 2002-04-30 19:48:45 +00:00
timers.h
times.h
timespec.h
timetc.h Initialize time_second to 1 instead of zero to pacify slightly bogus arp code. 2002-05-03 08:46:03 +00:00
timex.h Removed unused forward struct declaration. 2002-04-28 09:51:45 +00:00
tree.h Import OpenBSD's <sys/tree.h>, needed by OpenSSH. 2002-06-23 14:38:51 +00:00
tty.h Fixed some style bugs in recent commits. 2002-05-28 15:24:13 +00:00
ttychars.h
ttycom.h
ttydefaults.h
ttydev.h
types.h This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
ucontext.h
ucred.h Introduce support for Mandatory Access Control and extensible kernel 2002-07-30 22:28:28 +00:00
uio.h At long last, commit the zero copy sockets code. 2002-06-26 03:37:47 +00:00
un.h Change spelling of u_char' to unsigned char' to avoid requiring 2002-06-19 19:05:41 +00:00
unistd.h Add pathconf/fpathconf entries from POSIX.1e indicating support for 2002-07-31 15:54:03 +00:00
unpcb.h More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
user.h Adjust KINFO_PROC_SIZE due to segsz_t being changed from a 32-bit to 2002-05-03 01:41:37 +00:00
utsname.h
uuid.h Add uuidgen(2) and uuidgen(1). 2002-05-28 06:16:08 +00:00
vmmeter.h Make a structure definition slightly more style(9) compliant (makes 2002-06-01 03:55:16 +00:00
vnioctl.h
vnode.h Introduce IO_NOMACCHECK, a flag that will be passed to vn_rdwr() to 2002-08-12 01:54:10 +00:00
wait.h Remove the deprecated 4.2/4.3BSD wait union. 2002-06-05 02:21:01 +00:00
xrpuio.h