1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/kern
Poul-Henning Kamp f711d546d2 Suser() simplification:
1:
  s/suser/suser_xxx/

2:
  Add new function: suser(struct proc *), prototyped in <sys/proc.h>.

3:
  s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/

The remaining suser_xxx() calls will be scrutinized and dealt with
later.

There may be some unneeded #include <sys/cred.h>, but they are left
as an exercise for Bruce.

More changes to the suser() API will come along with the "jail" code.
1999-04-27 11:18:52 +00:00
..
bus_if.m Bring the 'new-bus' to the i386. This extensively changes the way the 1999-04-16 21:22:55 +00:00
device_if.m
imgact_aout.c Restore support for executing BSD/OS binaries on the i386 by passing 1999-04-03 22:20:03 +00:00
imgact_elf.c
imgact_gzip.c
imgact_shell.c
inflate.c
init_main.c Fixed printf format errors on alpha. 1999-04-24 18:50:48 +00:00
init_sysent.c Regenerate (padding for pread and pwrite). 1999-04-04 21:43:36 +00:00
kern_acct.c Suser() simplification: 1999-04-27 11:18:52 +00:00
kern_clock.c Make the machdep.i8254_freq and machdep.tsc_freq sysctls modify the 1999-04-25 09:00:00 +00:00
kern_conf.c Call the module's unload handler before removing the device from the 1999-03-23 21:11:47 +00:00
kern_descrip.c
kern_environment.c
kern_exec.c Suser() simplification: 1999-04-27 11:18:52 +00:00
kern_exit.c Well folks, this is it - The second stage of the removal for build support 1999-04-17 08:36:07 +00:00
kern_fork.c Use pointer arithmetic to do pointer arithmetic. 1999-04-24 11:25:01 +00:00
kern_intr.c Stage 1 of a cleanup of the i386 interrupt registration mechanism. 1999-04-21 07:26:30 +00:00
kern_ktrace.c
kern_linker.c Suser() simplification: 1999-04-27 11:18:52 +00:00
kern_lock.c fix breakage for alphas. 1999-03-15 05:11:27 +00:00
kern_lockf.c
kern_malloc.c
kern_mib.c
kern_module.c
kern_ntptime.c Suser() simplification: 1999-04-27 11:18:52 +00:00
kern_physio.c Use the reference counted PHOLD()/PRELE() rather than P_PHYSIO. 1999-04-06 03:04:47 +00:00
kern_proc.c
kern_prot.c Suser() simplification: 1999-04-27 11:18:52 +00:00
kern_random.c Stage 1 of a cleanup of the i386 interrupt registration mechanism. 1999-04-21 07:26:30 +00:00
kern_resource.c Suser() simplification: 1999-04-27 11:18:52 +00:00
kern_shutdown.c Suser() simplification: 1999-04-27 11:18:52 +00:00
kern_sig.c
kern_subr.c This solves a deadlock that can occur when read()ing into a file-mmap() 1999-03-12 03:09:29 +00:00
kern_synch.c
kern_syscalls.c
kern_sysctl.c Suser() simplification: 1999-04-27 11:18:52 +00:00
kern_tc.c Make the machdep.i8254_freq and machdep.tsc_freq sysctls modify the 1999-04-25 09:00:00 +00:00
kern_threads.c
kern_time.c Suser() simplification: 1999-04-27 11:18:52 +00:00
kern_timeout.c
kern_xxx.c Suser() simplification: 1999-04-27 11:18:52 +00:00
ksched.c
link_aout.c
link_elf_obj.c
link_elf.c
Make.tags.inc
makedevops.pl Bring the 'new-bus' to the i386. This extensively changes the way the 1999-04-16 21:22:55 +00:00
makedevops.sh
Makefile
makesyscalls.sh
md5c.c
p1003_1b.c Well folks, this is it - The second stage of the removal for build support 1999-04-17 08:36:07 +00:00
posix4_mib.c
subr_autoconf.c Fix a very long standing bug in run_interrupt_driven_config_hooks(). It 1999-04-25 22:13:34 +00:00
subr_blist.c
subr_bus.c GC some stray debugging printf()s... 1999-04-19 19:39:08 +00:00
subr_clist.c
subr_devstat.c Staticize. 1999-04-11 02:27:06 +00:00
subr_disklabel.c
subr_diskmbr.c
subr_diskslice.c
subr_dkbad.c
subr_log.c
subr_module.c
subr_param.c Allow setting MAXFILES in the kernel config. 1999-04-09 16:28:11 +00:00
subr_prf.c
subr_prof.c
subr_rlist.c
subr_rman.c Bring the 'new-bus' to the i386. This extensively changes the way the 1999-04-16 21:22:55 +00:00
subr_scanf.c
subr_smp.c Backout early start of APs since it caused some machines to hang. 1999-04-13 03:24:47 +00:00
subr_trap.c unifdef -DVM_STACK - it's been on for a while for x86 and was checked 1999-04-19 14:14:14 +00:00
subr_xxx.c
sys_generic.c Add standard padding argument to pread and pwrite syscall. That should make them 1999-04-04 21:41:28 +00:00
sys_pipe.c Add standard padding argument to pread and pwrite syscall. That should make them 1999-04-04 21:41:28 +00:00
sys_process.c Suser() simplification: 1999-04-27 11:18:52 +00:00
sys_socket.c Add standard padding argument to pread and pwrite syscall. That should make them 1999-04-04 21:41:28 +00:00
syscalls.c Regenerate (padding for pread and pwrite). 1999-04-04 21:43:36 +00:00
syscalls.master Add standard padding argument to pread and pwrite syscall. That should make them 1999-04-04 21:41:28 +00:00
sysv_ipc.c Suser() simplification: 1999-04-27 11:18:52 +00:00
sysv_msg.c Suser() simplification: 1999-04-27 11:18:52 +00:00
sysv_sem.c
sysv_shm.c
tty_compat.c
tty_conf.c
tty_cons.c Suser() simplification: 1999-04-27 11:18:52 +00:00
tty_pty.c Suser() simplification: 1999-04-27 11:18:52 +00:00
tty_snoop.c Suser() simplification: 1999-04-27 11:18:52 +00:00
tty_subr.c
tty_tb.c
tty_tty.c
tty.c Suser() simplification: 1999-04-27 11:18:52 +00:00
uipc_domain.c Redo domain registration to use SYSINITS rather than linker sets. 1999-04-26 08:56:09 +00:00
uipc_mbuf.c Typo in comment. 1999-04-12 10:07:15 +00:00
uipc_proto.c Register the local (unix domain) sockets ourselves. 1999-04-26 08:56:53 +00:00
uipc_sockbuf.c
uipc_socket2.c
uipc_socket.c Lite2 bugfixes merge: 1999-04-24 18:22:34 +00:00
uipc_syscalls.c
uipc_usrreq.c More consistent with surrounding style. (Hey - it looked great in the 1999-04-12 14:34:52 +00:00
vfs_aio.c Add standard padding argument to pread and pwrite syscall. That should make them 1999-04-04 21:41:28 +00:00
vfs_bio.c getnewbuf(): check return value from tsleep(). Interruptible NFS may pass 1999-04-14 18:51:52 +00:00
vfs_cache.c Fix a braino in the v_id wraparound code. Give more (current) details 1999-04-24 17:58:14 +00:00
vfs_cluster.c Reviewed by: Many at differnt times in differnt parts, 1999-03-12 02:24:58 +00:00
vfs_conf.c
vfs_default.c
vfs_export.c Reviewed by: Many at differnt times in differnt parts, 1999-03-12 02:24:58 +00:00
vfs_extattr.c Suser() simplification: 1999-04-27 11:18:52 +00:00
vfs_init.c
vfs_lookup.c
vfs_mount.c
vfs_subr.c Reviewed by: Many at differnt times in differnt parts, 1999-03-12 02:24:58 +00:00
vfs_syscalls.c Suser() simplification: 1999-04-27 11:18:52 +00:00
vfs_vnops.c Suser() simplification: 1999-04-27 11:18:52 +00:00
vnode_if.pl
vnode_if.sh
vnode_if.src Remove incorrect lock specs for vop_whiteout (introduced by Lite/2). 1999-03-27 03:08:07 +00:00