Date: Tue, 27 Apr 1999 04:18:55 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha cons.c mem.c promcons.c sys_machdep.c src/sys/alpha/tlsb zs_tlsb.c src/sys/dev/ata atapi-cd.c src/sys/dev/en midway.c src/sys/dev/syscons syscons.c src/sys/dev/vinum vinum.c src/sys/dev/vn vn.c src/sys/gnu/ext2fs ... Message-ID: <199904271118.EAA49987@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1999/04/27 04:18:54 PDT Modified files: sys/alpha/alpha cons.c mem.c promcons.c sys_machdep.c sys/alpha/tlsb zs_tlsb.c sys/dev/ata atapi-cd.c sys/dev/en midway.c sys/dev/syscons syscons.c sys/dev/vinum vinum.c sys/dev/vn vn.c sys/gnu/ext2fs ext2_vnops.c sys/gnu/i386/isa dgb.c dgm.c sys/i386/i386 cons.c mem.c sys_machdep.c sys/i386/ibcs2 ibcs2_misc.c ibcs2_socksys.c ibcs2_sysi86.c sys/i386/isa atapi-cd.c cx.c cy.c fd.c if_wl.c istallion.c rc.c rp.c si.c spigot.c stallion.c wfd.c sys/i386/isa/pcvt pcvt_drv.c pcvt_ext.c sys/i386/linux linux_misc.c sys/i4b/driver i4b_ipr.c sys/isa sio.c sys/isofs/cd9660 cd9660_vfsops.c sys/kern kern_acct.c kern_exec.c kern_linker.c kern_ntptime.c kern_prot.c kern_resource.c kern_shutdown.c kern_sysctl.c kern_time.c kern_xxx.c sys_process.c sysv_ipc.c sysv_msg.c tty.c tty_pty.c tty_snoop.c vfs_syscalls.c vfs_vnops.c sys/miscfs/devfs devfs_vnops.c sys/miscfs/procfs procfs.h procfs_mem.c procfs_vnops.c sys/miscfs/umapfs umap_vfsops.c sys/msdosfs msdosfs_vnops.c sys/net if.c if_ppp.c if_sl.c if_tun.c ppp_tty.c raw_usrreq.c sys/netatalk at_control.c ddp_usrreq.c sys/netatm atm_usrreq.c sys/netinet in.c in_pcb.c ip_divert.c raw_ip.c sys/netipx ipx.c ipx_pcb.c ipx_usrreq.c sys/nfs nfs_serv.c nfs_syscalls.c sys/pc98/pc98 fd.c sio.c syscons.c sys/pccard pccard.c sys/svr4 svr4_fcntl.c svr4_misc.c svr4_stat.c sys/sys proc.h ucred.h sys/ufs/ufs ufs_vfsops.c ufs_vnops.c sys/vm vm_mmap.c vm_swap.c Log: 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. Revision Changes Path 1.4 +2 -2 src/sys/alpha/alpha/cons.c 1.6 +2 -2 src/sys/alpha/alpha/mem.c 1.5 +2 -2 src/sys/alpha/alpha/promcons.c 1.5 +2 -2 src/sys/alpha/alpha/sys_machdep.c 1.8 +2 -2 src/sys/alpha/tlsb/zs_tlsb.c 1.6 +2 -2 src/sys/dev/ata/atapi-cd.c 1.14 +2 -2 src/sys/dev/en/midway.c 1.301 +3 -3 src/sys/dev/syscons/syscons.c 1.18 +2 -2 src/sys/dev/vinum/vinum.c 1.76 +2 -2 src/sys/dev/vn/vn.c 1.45 +1 -1 src/sys/gnu/ext2fs/ext2_vnops.c 1.45 +4 -4 src/sys/gnu/i386/isa/dgb.c 1.9 +4 -4 src/sys/gnu/i386/isa/dgm.c 1.62 +2 -2 src/sys/i386/i386/cons.c 1.56 +3 -3 src/sys/i386/i386/mem.c 1.40 +2 -2 src/sys/i386/i386/sys_machdep.c 1.32 +3 -3 src/sys/i386/ibcs2/ibcs2_misc.c 1.12 +1 -1 src/sys/i386/ibcs2/ibcs2_socksys.c 1.13 +1 -1 src/sys/i386/ibcs2/ibcs2_sysi86.c 1.15 +2 -2 src/sys/i386/isa/atapi-cd.c 1.36 +1 -1 src/sys/i386/isa/cx.c 1.87 +4 -4 src/sys/i386/isa/cy.c 1.136 +2 -2 src/sys/i386/isa/fd.c 1.21 +6 -6 src/sys/i386/isa/if_wl.c 1.25 +4 -4 src/sys/i386/isa/istallion.c 1.42 +2 -2 src/sys/i386/isa/rc.c 1.24 +4 -4 src/sys/i386/isa/rp.c 1.81 +6 -6 src/sys/i386/isa/si.c 1.37 +2 -2 src/sys/i386/isa/spigot.c 1.27 +4 -4 src/sys/i386/isa/stallion.c 1.21 +4 -4 src/sys/i386/isa/wfd.c 1.52 +2 -2 src/sys/i386/isa/pcvt/pcvt_drv.c 1.16 +1 -1 src/sys/i386/isa/pcvt/pcvt_ext.c 1.55 +3 -3 src/sys/i386/linux/linux_misc.c 1.3 +2 -2 src/sys/i4b/driver/i4b_ipr.c 1.228 +4 -4 src/sys/isa/sio.c 1.53 +2 -2 src/sys/isofs/cd9660/cd9660_vfsops.c 1.20 +2 -2 src/sys/kern/kern_acct.c 1.99 +2 -2 src/sys/kern/kern_exec.c 1.30 +3 -3 src/sys/kern/kern_linker.c 1.27 +1 -1 src/sys/kern/kern_ntptime.c 1.45 +19 -12 src/sys/kern/kern_prot.c 1.46 +4 -4 src/sys/kern/kern_resource.c 1.47 +2 -2 src/sys/kern/kern_shutdown.c 1.87 +2 -2 src/sys/kern/kern_sysctl.c 1.65 +4 -4 src/sys/kern/kern_time.c 1.29 +4 -4 src/sys/kern/kern_xxx.c 1.44 +2 -2 src/sys/kern/sys_process.c 1.10 +3 -3 src/sys/kern/sysv_ipc.c 1.21 +2 -2 src/sys/kern/sysv_msg.c 1.116 +5 -5 src/sys/kern/tty.c 1.56 +2 -2 src/sys/kern/tty_pty.c 1.33 +1 -1 src/sys/kern/tty_snoop.c 1.122 +13 -13 src/sys/kern/vfs_syscalls.c 1.67 +2 -2 src/sys/kern/vfs_vnops.c 1.71 +10 -10 src/sys/miscfs/devfs/devfs_vnops.c 1.22 +2 -3 src/sys/miscfs/procfs/procfs.h 1.36 +2 -2 src/sys/miscfs/procfs/procfs_mem.c 1.65 +3 -3 src/sys/miscfs/procfs/procfs_vnops.c 1.25 +2 -2 src/sys/miscfs/umapfs/umap_vfsops.c 1.82 +5 -5 src/sys/msdosfs/msdosfs_vnops.c 1.69 +7 -7 src/sys/net/if.c 1.60 +8 -8 src/sys/net/if_ppp.c 1.74 +2 -2 src/sys/net/if_sl.c 1.54 +1 -1 src/sys/net/if_tun.c 1.39 +5 -5 src/sys/net/ppp_tty.c 1.17 +2 -2 src/sys/net/raw_usrreq.c 1.27 +1 -1 src/sys/netatalk/at_control.c 1.16 +1 -1 src/sys/netatalk/ddp_usrreq.c 1.5 +6 -6 src/sys/netatm/atm_usrreq.c 1.41 +3 -3 src/sys/netinet/in.c 1.48 +3 -3 src/sys/netinet/in_pcb.c 1.38 +2 -2 src/sys/netinet/ip_divert.c 1.58 +2 -2 src/sys/netinet/raw_ip.c 1.16 +2 -2 src/sys/netipx/ipx.c 1.16 +2 -2 src/sys/netipx/ipx_pcb.c 1.23 +2 -2 src/sys/netipx/ipx_usrreq.c 1.74 +3 -3 src/sys/nfs/nfs_serv.c 1.49 +3 -3 src/sys/nfs/nfs_syscalls.c 1.55 +2 -2 src/sys/pc98/pc98/fd.c 1.89 +5 -5 src/sys/pc98/pc98/sio.c 1.117 +3 -3 src/sys/pc98/pc98/syscons.c 1.74 +5 -5 src/sys/pccard/pccard.c 1.2 +1 -1 src/sys/svr4/svr4_fcntl.c 1.3 +1 -1 src/sys/svr4/svr4_misc.c 1.2 +2 -2 src/sys/svr4/svr4_stat.c 1.79 +2 -1 src/sys/sys/proc.h 1.11 +3 -3 src/sys/sys/ucred.h 1.14 +2 -2 src/sys/ufs/ufs/ufs_vfsops.c 1.112 +6 -6 src/sys/ufs/ufs/ufs_vnops.c 1.94 +4 -5 src/sys/vm/vm_mmap.c 1.62 +2 -2 src/sys/vm/vm_swap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904271118.EAA49987>