Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   elad
Date:           Tue Mar 13 18:41:16 UTC 2012

Modified Files:
        src/distrib/sets/lists/comp: mi
        src/share/man/man9: Makefile kauth.9
        src/sys/arch/amiga/dev: grf.c
        src/sys/arch/macppc/dev: ofb.c
        src/sys/arch/shark/ofw: vga_ofbus.c
        src/sys/arch/sparc/dev: tctrl.c
        src/sys/arch/sparc64/dev: gfb.c
        src/sys/compat/common: vfs_syscalls_50.c
        src/sys/dev: cons.c verified_exec.c
        src/sys/dev/dm: device-mapper.c
        src/sys/dev/ic: ct65550.c midway.c
        src/sys/dev/pci: genfb_pci.c if_lmc.h machfb.c pci_usrreq.c pm2fb.c
            r128fb.c radeonfb.c voodoofb.c wcfb.c
        src/sys/dev/pci/voyager: voyagerfb.c
        src/sys/dev/tc: pxg.c
        src/sys/dev/wscons: wskbd.c
        src/sys/fs/adosfs: advfsops.c advnops.c
        src/sys/fs/cd9660: cd9660_vfsops.c cd9660_vnops.c
        src/sys/fs/efs: efs_vfsops.c efs_vnops.c
        src/sys/fs/filecorefs: filecore_vfsops.c filecore_vnops.c
        src/sys/fs/hfs: hfs_vfsops.c hfs_vnops.c
        src/sys/fs/msdosfs: msdosfs_vfsops.c msdosfs_vnops.c
        src/sys/fs/nilfs: nilfs_vfsops.c nilfs_vnops.c
        src/sys/fs/ntfs: ntfs_vnops.c
        src/sys/fs/ptyfs: ptyfs_vnops.c
        src/sys/fs/smbfs: smbfs_vnops.c
        src/sys/fs/sysvbfs: sysvbfs_vfsops.c sysvbfs_vnops.c
        src/sys/fs/tmpfs: tmpfs_subr.c tmpfs_vnops.c
        src/sys/fs/udf: udf_vfsops.c udf_vnops.c
        src/sys/fs/v7fs: v7fs_vfsops.c v7fs_vnops.c
        src/sys/kern: kern_auth.c kern_exec.c kern_fork.c kern_verifiedexec.c
            sys_mqueue.c sysv_ipc.c sysv_msg.c sysv_sem.c sysv_shm.c uipc_sem.c
            vfs_init.c vfs_mount.c vfs_subr.c vfs_syscalls.c vfs_xattr.c
        src/sys/miscfs/genfs: genfs.h genfs_vnops.c
        src/sys/miscfs/kernfs: kernfs_vnops.c
        src/sys/miscfs/procfs: procfs_vnops.c
        src/sys/miscfs/umapfs: umap_vfsops.c
        src/sys/net: if_bridge.c
        src/sys/net/npf: npf.c
        src/sys/netinet6: in6.c ip6_output.c ipsec.c
        src/sys/netipsec: ipsec.c
        src/sys/netsmb: smb_conn.c smb_subr.h
        src/sys/rump/librump/rumpvfs: rumpfs.c
        src/sys/secmodel/extensions: secmodel_extensions.c
        src/sys/secmodel/securelevel: secmodel_securelevel.c
        src/sys/secmodel/suser: secmodel_suser.c
        src/sys/sys: extattr.h ipc.h kauth.h vfs_syscalls.h
        src/sys/ufs/chfs: chfs_subr.c chfs_vnode.c chfs_vnops.c
        src/sys/ufs/ext2fs: ext2fs_lookup.c ext2fs_readwrite.c ext2fs_vfsops.c
            ext2fs_vnops.c
        src/sys/ufs/ffs: ffs_snapshot.c ffs_vfsops.c
        src/sys/ufs/lfs: lfs_syscalls.c lfs_vfsops.c lfs_vnops.c
        src/sys/ufs/ufs: ufs_extattr.c ufs_lookup.c ufs_readwrite.c ufs_vnops.c
        src/sys/uvm: uvm_map.c
Added Files:
        src/share/man/man9: genfs.9

Log Message:
Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.


To generate a diff of this commit:
cvs rdiff -u -r1.1746 -r1.1747 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.363 -r1.364 src/share/man/man9/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man9/genfs.9
cvs rdiff -u -r1.97 -r1.98 src/share/man/man9/kauth.9
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/amiga/dev/grf.c
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/macppc/dev/ofb.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/shark/ofw/vga_ofbus.c
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/sparc/dev/tctrl.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/sparc64/dev/gfb.c
cvs rdiff -u -r1.16 -r1.17 src/sys/compat/common/vfs_syscalls_50.c
cvs rdiff -u -r1.68 -r1.69 src/sys/dev/cons.c
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/verified_exec.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/dm/device-mapper.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/ct65550.c
cvs rdiff -u -r1.93 -r1.94 src/sys/dev/ic/midway.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/genfb_pci.c
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/pci/if_lmc.h
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/pci/machfb.c
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/pci/pci_usrreq.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/pm2fb.c
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/pci/r128fb.c
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/pci/radeonfb.c
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/pci/voodoofb.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/wcfb.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/voyager/voyagerfb.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/tc/pxg.c
cvs rdiff -u -r1.130 -r1.131 src/sys/dev/wscons/wskbd.c
cvs rdiff -u -r1.63 -r1.64 src/sys/fs/adosfs/advfsops.c
cvs rdiff -u -r1.38 -r1.39 src/sys/fs/adosfs/advnops.c
cvs rdiff -u -r1.74 -r1.75 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -u -r1.40 -r1.41 src/sys/fs/cd9660/cd9660_vnops.c
cvs rdiff -u -r1.22 -r1.23 src/sys/fs/efs/efs_vfsops.c
cvs rdiff -u -r1.24 -r1.25 src/sys/fs/efs/efs_vnops.c
cvs rdiff -u -r1.68 -r1.69 src/sys/fs/filecorefs/filecore_vfsops.c
cvs rdiff -u -r1.33 -r1.34 src/sys/fs/filecorefs/filecore_vnops.c
cvs rdiff -u -r1.27 -r1.28 src/sys/fs/hfs/hfs_vfsops.c
cvs rdiff -u -r1.24 -r1.25 src/sys/fs/hfs/hfs_vnops.c
cvs rdiff -u -r1.93 -r1.94 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -u -r1.79 -r1.80 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -u -r1.8 -r1.9 src/sys/fs/nilfs/nilfs_vfsops.c
cvs rdiff -u -r1.16 -r1.17 src/sys/fs/nilfs/nilfs_vnops.c
cvs rdiff -u -r1.49 -r1.50 src/sys/fs/ntfs/ntfs_vnops.c
cvs rdiff -u -r1.38 -r1.39 src/sys/fs/ptyfs/ptyfs_vnops.c
cvs rdiff -u -r1.78 -r1.79 src/sys/fs/smbfs/smbfs_vnops.c
cvs rdiff -u -r1.38 -r1.39 src/sys/fs/sysvbfs/sysvbfs_vfsops.c
cvs rdiff -u -r1.40 -r1.41 src/sys/fs/sysvbfs/sysvbfs_vnops.c
cvs rdiff -u -r1.78 -r1.79 src/sys/fs/tmpfs/tmpfs_subr.c
cvs rdiff -u -r1.95 -r1.96 src/sys/fs/tmpfs/tmpfs_vnops.c
cvs rdiff -u -r1.62 -r1.63 src/sys/fs/udf/udf_vfsops.c
cvs rdiff -u -r1.69 -r1.70 src/sys/fs/udf/udf_vnops.c
cvs rdiff -u -r1.5 -r1.6 src/sys/fs/v7fs/v7fs_vfsops.c
cvs rdiff -u -r1.7 -r1.8 src/sys/fs/v7fs/v7fs_vnops.c
cvs rdiff -u -r1.67 -r1.68 src/sys/kern/kern_auth.c
cvs rdiff -u -r1.346 -r1.347 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.188 -r1.189 src/sys/kern/kern_fork.c
cvs rdiff -u -r1.128 -r1.129 src/sys/kern/kern_verifiedexec.c
cvs rdiff -u -r1.33 -r1.34 src/sys/kern/sys_mqueue.c
cvs rdiff -u -r1.23 -r1.24 src/sys/kern/sysv_ipc.c
cvs rdiff -u -r1.62 -r1.63 src/sys/kern/sysv_msg.c
cvs rdiff -u -r1.88 -r1.89 src/sys/kern/sysv_sem.c
cvs rdiff -u -r1.122 -r1.123 src/sys/kern/sysv_shm.c
cvs rdiff -u -r1.37 -r1.38 src/sys/kern/uipc_sem.c
cvs rdiff -u -r1.45 -r1.46 src/sys/kern/vfs_init.c
cvs rdiff -u -r1.12 -r1.13 src/sys/kern/vfs_mount.c
cvs rdiff -u -r1.432 -r1.433 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.449 -r1.450 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.29 -r1.30 src/sys/kern/vfs_xattr.c
cvs rdiff -u -r1.28 -r1.29 src/sys/miscfs/genfs/genfs.h
cvs rdiff -u -r1.187 -r1.188 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -u -r1.144 -r1.145 src/sys/miscfs/kernfs/kernfs_vnops.c
cvs rdiff -u -r1.182 -r1.183 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -u -r1.86 -r1.87 src/sys/miscfs/umapfs/umap_vfsops.c
cvs rdiff -u -r1.74 -r1.75 src/sys/net/if_bridge.c
cvs rdiff -u -r1.9 -r1.10 src/sys/net/npf/npf.c
cvs rdiff -u -r1.159 -r1.160 src/sys/netinet6/in6.c
cvs rdiff -u -r1.145 -r1.146 src/sys/netinet6/ip6_output.c
cvs rdiff -u -r1.144 -r1.145 src/sys/netinet6/ipsec.c
cvs rdiff -u -r1.55 -r1.56 src/sys/netipsec/ipsec.c
cvs rdiff -u -r1.27 -r1.28 src/sys/netsmb/smb_conn.c
cvs rdiff -u -r1.20 -r1.21 src/sys/netsmb/smb_subr.h
cvs rdiff -u -r1.106 -r1.107 src/sys/rump/librump/rumpvfs/rumpfs.c
cvs rdiff -u -r1.2 -r1.3 src/sys/secmodel/extensions/secmodel_extensions.c
cvs rdiff -u -r1.26 -r1.27 \
    src/sys/secmodel/securelevel/secmodel_securelevel.c
cvs rdiff -u -r1.38 -r1.39 src/sys/secmodel/suser/secmodel_suser.c
cvs rdiff -u -r1.8 -r1.9 src/sys/sys/extattr.h
cvs rdiff -u -r1.32 -r1.33 src/sys/sys/ipc.h
cvs rdiff -u -r1.68 -r1.69 src/sys/sys/kauth.h
cvs rdiff -u -r1.17 -r1.18 src/sys/sys/vfs_syscalls.h
cvs rdiff -u -r1.2 -r1.3 src/sys/ufs/chfs/chfs_subr.c \
    src/sys/ufs/chfs/chfs_vnode.c src/sys/ufs/chfs/chfs_vnops.c
cvs rdiff -u -r1.67 -r1.68 src/sys/ufs/ext2fs/ext2fs_lookup.c
cvs rdiff -u -r1.58 -r1.59 src/sys/ufs/ext2fs/ext2fs_readwrite.c
cvs rdiff -u -r1.162 -r1.163 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -u -r1.101 -r1.102 src/sys/ufs/ext2fs/ext2fs_vnops.c
cvs rdiff -u -r1.118 -r1.119 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -u -r1.275 -r1.276 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.141 -r1.142 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -u -r1.294 -r1.295 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.240 -r1.241 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.36 -r1.37 src/sys/ufs/ufs/ufs_extattr.c
cvs rdiff -u -r1.111 -r1.112 src/sys/ufs/ufs/ufs_lookup.c
cvs rdiff -u -r1.101 -r1.102 src/sys/ufs/ufs/ufs_readwrite.c
cvs rdiff -u -r1.207 -r1.208 src/sys/ufs/ufs/ufs_vnops.c
cvs rdiff -u -r1.315 -r1.316 src/sys/uvm/uvm_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index