opnsense-src/sys
Attilio Rao cecd8edba5 Remove the suser(9) interface from the kernel. It has been replaced from
years by the priv_check(9) interface and just very few places are left.
Note that compatibility stub with older FreeBSD version
(all above the 8 limit though) are left in order to reduce diffs against
old versions. It is responsibility of the maintainers for any module, if
they think it is the case, to axe out such cases.

This patch breaks KPI so __FreeBSD_version will be bumped into a later
commit.

This patch needs to be credited 50-50 with rwatson@ as he found time to
explain me how the priv_check() works in detail and to review patches.

Tested by:      Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
Reviewed by:    rwatson
2008-09-17 15:49:44 +00:00
..
amd64 Correct a callchain capture bug on the i386. 2008-09-15 06:47:52 +00:00
arm Bandaid: disable interrupts to make sure intr_enabled and the IER register 2008-09-11 20:43:38 +00:00
boot Revert r177108 and restore r60506 for sparc64 as long as libstand 2008-09-10 20:53:22 +00:00
bsm When MPSAFE ttys were merged, a new BSM audit event identifier was 2008-08-24 21:20:35 +00:00
cam Fix a locking mistake in daopen(). If the open fails, which can happen 2008-08-29 04:39:46 +00:00
cddl Add missing ZFS_EXIT(). 2008-09-15 11:27:25 +00:00
compat style(9) 2008-09-15 17:39:40 +00:00
conf Turn on TCP_SIGNATURE for LINT builds. This should catch situations 2008-09-13 14:06:36 +00:00
contrib Merge ath again (addition of wisoc files). 2008-09-05 22:24:31 +00:00
crypto Simplify session selection/allocation. 2008-08-09 20:01:01 +00:00
ddb Make ddb command registration dynamic so modules can extend 2008-09-15 22:45:14 +00:00
dev Remove the suser(9) interface from the kernel. It has been replaced from 2008-09-17 15:49:44 +00:00
fs Fix two small typo's in comments in the nullfs vnops code. 2008-09-11 20:15:34 +00:00
gdb Commit SYSINIT() ;-adding patch missed in previous pass. 2008-03-16 13:02:04 +00:00
geom - Add a new ioctl for getting the provider name of a geom provider. 2008-09-07 13:54:57 +00:00
gnu Garbage-collect vn_write_suspend_wait(). 2008-09-16 11:09:26 +00:00
i386 Add 'device acpi' to GENERIC on i386. Most newer i386 machines require it, 2008-09-16 20:22:22 +00:00
ia64 Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
isa MFp4 (my newcard tree): 2008-08-24 07:40:14 +00:00
kern Remove the suser(9) interface from the kernel. It has been replaced from 2008-09-17 15:49:44 +00:00
libkern Add strcspn to libkern for use by xenbus routines. Will add to build 2008-08-15 04:07:22 +00:00
mips Fix path in all includes: remove /mips32 subdirectory 2008-09-10 03:49:08 +00:00
modules add ddb support (default to off unless built with the kernel) 2008-09-15 22:46:12 +00:00
net Hey, committed the same typo twice! must be a record 2008-09-15 07:23:56 +00:00
net80211 make all checks if ni_chw consistent 2008-09-06 17:51:02 +00:00
netatalk Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netgraph We can't implicitly trust the hook on NGQF_FN/NGQF_FN2 processing in 2008-09-13 09:17:02 +00:00
netinet Export IPFW_TABLES_MAX via sysctl. Part of PR: 127058. 2008-09-14 09:24:12 +00:00
netinet6 mld_timerresid() returns ms so instead of doing the maths in usec 2008-09-10 19:42:13 +00:00
netipsec Commit step 1 of the vimage project, (network stack) 2008-08-17 23:27:27 +00:00
netipx Remove the suser(9) interface from the kernel. It has been replaced from 2008-09-17 15:49:44 +00:00
netnatm Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netncp lockmgrs need to be released before to be destroyed and draining doesn't 2008-03-30 18:16:33 +00:00
netsmb Really, smb_iod_main() is not totally MPSAFE, so just acquire and drop 2008-03-27 01:23:59 +00:00
nfs Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
nfs4client Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
nfsclient Add code to parse NFS mount options passed as individual 2008-09-13 18:57:47 +00:00
nfsserver Remove the suser(9) interface from the kernel. It has been replaced from 2008-09-17 15:49:44 +00:00
nlm Rename RPC's 'struct pmap' to 'struct portmap' to avoid confusing it with 2008-08-25 09:36:17 +00:00
opencrypto Make ftruncate a 'struct file' operation rather than a vnode operation. 2008-01-07 20:05:19 +00:00
pc98 Resurrect the sbni(4) driver. Someone finally tested the MPSAFE patches and 2008-09-10 18:36:58 +00:00
pccard
pci Move wb driver from sys/pci to sys/dev/wb. 2008-08-14 21:26:29 +00:00
powerpc o When not making a translation cache-inhibit and guarded (PTE_I|PTE_G) 2008-09-16 19:16:33 +00:00
rpc Rename RPC's 'struct pmap' to 'struct portmap' to avoid confusing it with 2008-08-25 09:36:17 +00:00
security Remove the suser(9) interface from the kernel. It has been replaced from 2008-09-17 15:49:44 +00:00
sparc64 Add drivers for the power management devices found on Fireplane/ 2008-09-10 20:22:27 +00:00
sun4v Work around Cheetah+ erratum 34 (USIII+ erratum #10) by relocating 2008-09-10 20:07:08 +00:00
sys Remove the suser(9) interface from the kernel. It has been replaced from 2008-09-17 15:49:44 +00:00
tools Introduce a standalone shell script for embedding MFS image. 2008-02-05 10:46:30 +00:00
ufs Retire the 'i_reclen' field from the in-memory i-node. Previously, 2008-09-16 19:06:44 +00:00
vm Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
xdr Add the new kernel-mode NFS Lock Manager. To use it instead of the 2008-03-26 15:23:12 +00:00
xen - add more debug cruft to xenbus 2008-08-20 09:20:12 +00:00
Makefile Improve the glimpse target: don't index .svn and compile directories. 2008-08-15 14:11:30 +00:00