opnsense-src/sys
Robert Watson d3fc69ee6a Implement mac_check_system_sysctl(), a MAC Framework entry point to
permit MAC policies to augment the security protections on sysctl()
operations.  This is not really a wonderful entry point, as we
only have access to the MIB of the target sysctl entry, rather than
the more useful entry name, but this is sufficient for policies
like Biba that wish to use their notions of privilege or integrity
to prevent inappropriate sysctl modification.  Affects MAC kernels
only.  Since SYSCTL_LOCK isn't in sysctl.h, just kern_sysctl.c,
we can't assert the SYSCTL subsystem lockin the MAC Framework.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-27 07:12:34 +00:00
..
alpha Use the newer "+" modifier on output contraints when a register or 2002-10-25 20:22:12 +00:00
amd64 Note that the sched_lock protects md_ldt of struct mdproc. 2002-10-25 20:06:16 +00:00
arm Add standards visibility conditionals. Change any uses of sigset_t to 2002-10-13 00:31:46 +00:00
boot o Fix a size calculation based on a 8KB page, while under EFI 2002-10-24 07:53:12 +00:00
cam * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec. 2002-10-18 22:03:39 +00:00
coda Back our kernel support for reliable signal queues. 2002-10-01 17:15:53 +00:00
compat Remove the process state PRS_WAIT. 2002-10-21 22:27:36 +00:00
conf Make geom_mbr.c optional on PC98, use GEOM_MBR option to include it. 2002-10-26 20:17:59 +00:00
contrib Replace aux mbufs with packet tags: 2002-10-16 01:54:46 +00:00
crypto Don't panic when we can just return an error code. 2002-10-14 11:21:05 +00:00
ddb - Rename the DDB specific %z printf format to %y. 2002-10-25 19:41:32 +00:00
dev Add a missing destroy_dev(). 2002-10-26 18:09:30 +00:00
fs In VOP_LOOKUP, don't deny DELETE and RENAME operations 2002-10-26 18:16:19 +00:00
geom Make geom_mbr.c optional on PC98, use GEOM_MBR option to include it. 2002-10-26 20:17:59 +00:00
gnu MFufs 1.33: 2002-10-18 21:41:41 +00:00
i4b Don't include the depricated "bpf.h" and always compile in bpf support 2002-10-21 05:05:43 +00:00
i386 Note that the sched_lock protects md_ldt of struct mdproc. 2002-10-25 20:06:16 +00:00
ia64 Add COMPAT_FREEBSD4 here too. It has COMPAT_43 as well. 2002-10-26 04:58:36 +00:00
isa Fix compile with options SC_NO_SUSPEND_VTYSWITCH. 2002-10-17 16:09:13 +00:00
isofs/cd9660 Fix comments and one resulting code confusion about the type of the 2002-10-16 08:04:11 +00:00
kern Implement mac_check_system_sysctl(), a MAC Framework entry point to 2002-10-27 07:12:34 +00:00
libkern Slight overhaul of arc4random() and friends. 2002-10-11 13:13:08 +00:00
modules Slightly change the semantics of vnode labels for MAC: rather than 2002-10-26 14:38:24 +00:00
net Don't check IFF_RUNNING in previous change. 2002-10-25 17:31:03 +00:00
netatalk Add more ethernet types and move AppleTalk types into proper location. 2002-09-06 17:02:29 +00:00
netatm Add a field to struct cmn_unit to hold a pointer to the driver's softc. 2002-10-01 22:04:31 +00:00
netgraph Use if_printf(ifp, "blah") instead of 2002-10-21 02:51:56 +00:00
netinet Oops, forgot to commit this file. This is part of the fix 2002-10-24 22:32:13 +00:00
netinet6 last arg of in6?_gif_output() is not used any more. 2002-10-17 17:47:55 +00:00
netipsec "Fast IPsec": this is an experimental IPsec implementation that is derived 2002-10-16 02:10:08 +00:00
netipx Replace aux mbufs with packet tags: 2002-10-16 01:54:46 +00:00
netkey
netnatm Be consistent about functions being static. 2002-10-16 09:19:17 +00:00
netncp Change iov_base's type from char *' to the standard void *'. All 2002-10-11 14:58:34 +00:00
netns Use m_length() instead of home-rolled versions. 2002-09-18 19:44:14 +00:00
netsmb Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
nfs Change iov_base's type from char *' to the standard void *'. All 2002-10-11 14:58:34 +00:00
nfsclient Don't examine an un-initialized variable. 2002-10-20 21:52:05 +00:00
nfsserver Set the NOMACCHECK flag for namei()'s generated by the NFS server code. 2002-10-19 21:27:40 +00:00
opencrypto Module-ize the 'core' crypto stuff. This may still need to be compiled 2002-10-16 14:31:34 +00:00
pc98 MFi386: revisions 1.544 and 1.545. 2002-10-26 15:44:06 +00:00
pccard MFp4: Comment about not assuming INTA# for 6729 2002-10-07 07:02:48 +00:00
pci Add some magic bits necessary to turn the transmitter on for some 2002-10-22 02:33:50 +00:00
posix4 Tidy up the scheduler's code for changing the priority of a thread. 2002-10-14 20:34:31 +00:00
powerpc Split 4.x and 5.x signal handling so that we can keep 4.x signal 2002-10-25 19:10:58 +00:00
rpc
security Implement mac_check_system_sysctl(), a MAC Framework entry point to 2002-10-27 07:12:34 +00:00
sparc64 Allow deprecated or unimplemented system call vectors to deliver SIGSYS, 2002-10-26 17:38:20 +00:00
sys Implement mac_check_system_sysctl(), a MAC Framework entry point to 2002-10-27 07:12:34 +00:00
tools - Move ASSERT_VOP_*LOCK* functionality into functions in vfs_subr.c 2002-09-26 04:48:44 +00:00
ufs Slightly change the semantics of vnode labels for MAC: rather than 2002-10-26 14:38:24 +00:00
vm Merge from MAC tree: rename mac_check_vnode_swapon() to 2002-10-27 06:54:06 +00:00
Makefile