1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/kern
Robert Watson faef53711b Move per-process audit state from a pointer in the proc structure to
embedded storage in struct ucred.  This allows audit state to be cached
with the thread, avoiding locking operations with each system call, and
makes it available in asynchronous execution contexts, such as deep in
the network stack or VFS.

Reviewed by:	csjp
Approved by:	re (kensmith)
Obtained from:	TrustedBSD Project
2007-06-07 22:27:15 +00:00
..
bus_if.m
clock_if.m
cpufreq_if.m
device_if.m
genassym.sh
imgact_aout.c
imgact_elf32.c
imgact_elf64.c
imgact_elf.c Rework the support for ABIs to override resource limits (used by 32-bit 2007-05-14 22:40:04 +00:00
imgact_gzip.c
imgact_shell.c
inflate.c
init_main.c Move per-process audit state from a pointer in the proc structure to 2007-06-07 22:27:15 +00:00
init_sysent.c
kern_acct.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
kern_alq.c Change the VOP_OPEN(), vn_open() vnode operation and d_fdopen() cdev operation 2007-06-01 14:33:11 +00:00
kern_clock.c Commit 5/14 of sched_lock decomposition. 2007-06-04 23:53:06 +00:00
kern_condvar.c Commit 2/14 of sched_lock decomposition. 2007-06-04 23:50:56 +00:00
kern_conf.c Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
kern_context.c
kern_cpu.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
kern_descrip.c Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
kern_environment.c
kern_event.c In kern_kevent(), unconditionally fdrop() fp once fget() has succeeded, 2007-05-28 17:15:05 +00:00
kern_exec.c Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
kern_exit.c Move per-process audit state from a pointer in the proc structure to 2007-06-07 22:27:15 +00:00
kern_fork.c Move per-process audit state from a pointer in the proc structure to 2007-06-07 22:27:15 +00:00
kern_idle.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
kern_intr.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
kern_jail.c Fix jails and jail-friendly file systems handling: 2007-04-13 23:54:22 +00:00
kern_kse.c Commit 7/14 of sched_lock decomposition. 2007-06-04 23:54:27 +00:00
kern_kthread.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
kern_ktr.c
kern_ktrace.c Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
kern_linker.c Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
kern_lock.c Move lock_profile_object_{init,destroy}() into lock_{init,destroy}(). 2007-05-18 15:04:59 +00:00
kern_lockf.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
kern_malloc.c Revert VMCNT_* operations introduction. 2007-05-31 22:52:15 +00:00
kern_mbuf.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
kern_mib.c Revert VMCNT_* operations introduction. 2007-05-31 22:52:15 +00:00
kern_module.c
kern_mtxpool.c Universally adopt most conventional spelling of acquire. 2007-05-27 20:50:23 +00:00
kern_mutex.c - Placing the 'volatile' on the right side of the * in the td_lock 2007-06-06 03:40:47 +00:00
kern_ntptime.c
kern_physio.c
kern_pmc.c
kern_poll.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
kern_priv.c
kern_proc.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
kern_prot.c Move per-process audit state from a pointer in the proc structure to 2007-06-07 22:27:15 +00:00
kern_resource.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
kern_rwlock.c Commit 3/14 of sched_lock decomposition. 2007-06-04 23:51:44 +00:00
kern_sema.c
kern_shutdown.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
kern_sig.c Commit 4/14 of sched_lock decomposition. 2007-06-04 23:52:24 +00:00
kern_subr.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
kern_switch.c Commit 1/14 of sched_lock decomposition. 2007-06-04 23:50:30 +00:00
kern_sx.c Add functions sx_xlock_sig() and sx_slock_sig(). 2007-05-31 09:14:48 +00:00
kern_synch.c Commit 2/14 of sched_lock decomposition. 2007-06-04 23:50:56 +00:00
kern_syscalls.c
kern_sysctl.c Add a function for exporting 64 bit types. 2007-06-04 18:14:28 +00:00
kern_tc.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
kern_thr.c - Remove unused variable from create_thread(). 2007-06-07 19:45:19 +00:00
kern_thread.c Commit 4/14 of sched_lock decomposition. 2007-06-04 23:52:24 +00:00
kern_time.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
kern_timeout.c Make the TCP timer callout obtain Giant if the network stack is marked 2007-05-11 20:52:47 +00:00
kern_umtx.c Backout experimental adaptive-spin umtx code. 2007-06-06 07:35:08 +00:00
kern_uuid.c Correct typo. 2007-04-23 12:53:00 +00:00
kern_xxx.c
ksched.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
link_elf_obj.c Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
link_elf.c Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
linker_if.m
Make.tags.inc Update entries for building tags. 2007-05-13 18:21:54 +00:00
Makefile
makesyscalls.sh
md4c.c
md5c.c
p1003_1b.c
posix4_mib.c
sched_4bsd.c - Placing the 'volatile' on the right side of the * in the td_lock 2007-06-06 03:40:47 +00:00
sched_ule.c - Placing the 'volatile' on the right side of the * in the td_lock 2007-06-06 03:40:47 +00:00
serdev_if.m
subr_acl_posix1e.c
subr_autoconf.c
subr_blist.c
subr_bus.c fix comment typo 2007-05-23 17:28:21 +00:00
subr_clist.c
subr_clock.c
subr_devstat.c
subr_disk.c
subr_eventhandler.c
subr_fattime.c
subr_firmware.c
subr_hints.c
subr_kdb.c
subr_kobj.c
subr_lock.c Revert some debugging KTRs that were added during development. 2007-06-03 18:24:31 +00:00
subr_log.c
subr_mbpool.c Add parens around *free in *free++ in mbp_count() so that mbp_count() 2007-05-27 17:38:36 +00:00
subr_mchain.c
subr_module.c
subr_msgbuf.c
subr_param.c
subr_pcpu.c
subr_power.c
subr_prf.c
subr_prof.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
subr_rman.c Complete removal of restriction about overlaps to rman_manage_region: 2007-04-28 07:37:49 +00:00
subr_rtc.c
subr_sbuf.c
subr_scanf.c
subr_sleepqueue.c Commit 2/14 of sched_lock decomposition. 2007-06-04 23:50:56 +00:00
subr_smp.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
subr_stack.c
subr_taskqueue.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
subr_trap.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
subr_turnstile.c Commit 3/14 of sched_lock decomposition. 2007-06-04 23:51:44 +00:00
subr_unit.c
subr_witness.c Commit 10/14 of sched_lock decomposition. 2007-06-04 23:55:45 +00:00
sys_generic.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
sys_pipe.c Remove amountpipes counter for pipes -- this replicates the function of 2007-05-27 17:33:10 +00:00
sys_process.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
sys_socket.c
syscalls.c
syscalls.master
systrace_args.c
sysv_ipc.c
sysv_msg.c
sysv_sem.c Avoid manipulating semu_list outside of the scope of SEMUNDO_LOCK(). This 2007-03-26 17:41:14 +00:00
sysv_shm.c
tty_compat.c
tty_conf.c
tty_cons.c Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
tty_pts.c
tty_pty.c
tty_subr.c
tty_tty.c
tty.c Commit 9/14 of sched_lock decomposition. 2007-06-04 23:55:32 +00:00
uipc_accf.c
uipc_cow.c
uipc_debug.c sblock() implements a sleep lock by interlocking SB_WANT and SB_LOCK flags 2007-05-03 14:42:42 +00:00
uipc_domain.c Generally migrate to ANSI function headers, and remove 'register' use. 2007-05-16 20:41:08 +00:00
uipc_mbuf2.c
uipc_mbuf.c Generally migrate to ANSI function headers, and remove 'register' use. 2007-05-16 20:41:08 +00:00
uipc_mqueue.c Remove duplicate includes. 2007-05-23 13:36:02 +00:00
uipc_sem.c
uipc_sockbuf.c Now that sx(9) locks support an interruptible lock acquire primitive, 2007-05-31 11:51:22 +00:00
uipc_socket.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
uipc_syscalls.c In kern_sendfile() adjust byte accounting of the file sending loop to 2007-05-19 20:50:59 +00:00
uipc_usrreq.c Add DDB "show unpcb" command, allowing DDB to print out many pertinent 2007-05-29 12:36:00 +00:00
vfs_acl.c
vfs_aio.c - Move rusage from being per-process in struct pstats to per-thread in 2007-06-01 01:12:45 +00:00
vfs_bio.c - Move rusage from being per-process in struct pstats to per-thread in 2007-06-01 01:12:45 +00:00
vfs_cache.c To avoid a deadlock when handling .. directory during a lookup, we unlock 2007-05-25 22:23:38 +00:00
vfs_cluster.c - Move rusage from being per-process in struct pstats to per-thread in 2007-06-01 01:12:45 +00:00
vfs_default.c Since renaming of vop_lock to _vop_lock, pre- and post-condition 2007-05-18 13:02:13 +00:00
vfs_export.c
vfs_extattr.c
vfs_hash.c
vfs_init.c
vfs_lookup.c Universally adopt most conventional spelling of acquire. 2007-05-27 20:50:23 +00:00
vfs_mount.c Allow the dounmount() to proceed even for doomed coveredvp. 2007-04-26 08:56:56 +00:00
vfs_subr.c Revert VMCNT_* operations introduction. 2007-05-31 22:52:15 +00:00
vfs_syscalls.c Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
vfs_vnops.c Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
vnode_if.src Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00