cvs commit: src/sys/compat/linux linux_misc.c linux_uid16.c src/sys/compat/opensolaris/kern opensolaris_policy.c src/sys/compat/svr4 svr4_fcntl.c svr4_misc.c src/sys/fs/devfs devfs_vnops.c src/sys/fs/msdosfs msdosfs_vnops.c src/sys/fs/procfs ...

Robert Watson rwatson at FreeBSD.org
Tue Jun 12 00:12:02 UTC 2007


rwatson     2007-06-12 00:12:01 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_misc.c linux_uid16.c 
    sys/compat/opensolaris/kern opensolaris_policy.c 
    sys/compat/svr4      svr4_fcntl.c svr4_misc.c 
    sys/fs/devfs         devfs_vnops.c 
    sys/fs/msdosfs       msdosfs_vnops.c 
    sys/fs/procfs        procfs_ioctl.c 
    sys/gnu/fs/ext2fs    ext2_vnops.c 
    sys/kern             kern_exec.c kern_fork.c kern_ktrace.c 
                         kern_priv.c kern_prot.c kern_resource.c 
                         kern_sysctl.c subr_acl_posix1e.c 
                         sysv_ipc.c sysv_msg.c uipc_mqueue.c 
                         vfs_mount.c vfs_subr.c vfs_syscalls.c 
    sys/netinet          in_pcb.c raw_ip.c sctp_pcb.c 
                         sctp_usrreq.c tcp_subr.c udp_usrreq.c 
    sys/netinet6         in6_pcb.c in6_src.c raw_ip6.c 
                         sctp6_usrreq.c udp6_usrreq.c 
    sys/netipsec         ipsec_osdep.h 
    sys/security/mac_portacl mac_portacl.c 
    sys/security/mac_seeotheruids mac_seeotheruids.c 
    sys/sys              priv.h systm.h 
    sys/ufs/ffs          ffs_alloc.c ffs_vnops.c 
    sys/ufs/ufs          ufs_quota.c ufs_vnops.c 
  Log:
  Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in
  some cases, move to priv_check() if it was an operation on a thread and
  no other flags were present.
  
  Eliminate caller-side jail exception checking (also now-unused); jail
  privilege exception code now goes solely in kern_jail.c.
  
  We can't yet eliminate suser() due to some cases in the KAME code where
  a privilege check is performed and then used in many different deferred
  paths.  Do, however, move those prototypes to priv.h.
  
  Reviewed by:    csjp
  Obtained from:  TrustedBSD Project
  
  Revision  Changes    Path
  1.213     +1 -2      src/sys/compat/linux/linux_misc.c
  1.22      +1 -2      src/sys/compat/linux/linux_uid16.c
  1.2       +13 -18    src/sys/compat/opensolaris/kern/opensolaris_policy.c
  1.40      +1 -2      src/sys/compat/svr4/svr4_fcntl.c
  1.97      +1 -2      src/sys/compat/svr4/svr4_misc.c
  1.147     +2 -4      src/sys/fs/devfs/devfs_vnops.c
  1.170     +4 -8      src/sys/fs/msdosfs/msdosfs_vnops.c
  1.19      +1 -2      src/sys/fs/procfs/procfs_ioctl.c
  1.110     +6 -12     src/sys/gnu/fs/ext2fs/ext2_vnops.c
  1.305     +1 -2      src/sys/kern/kern_exec.c
  1.278     +1 -2      src/sys/kern/kern_fork.c
  1.119     +2 -3      src/sys/kern/kern_ktrace.c
  1.2       +0 -10     src/sys/kern/kern_priv.c
  1.211     +20 -39    src/sys/kern/kern_prot.c
  1.177     +1 -2      src/sys/kern/kern_resource.c
  1.176     +1 -2      src/sys/kern/kern_sysctl.c
  1.52      +5 -7      src/sys/kern/subr_acl_posix1e.c
  1.34      +3 -6      src/sys/kern/sysv_ipc.c
  1.70      +1 -2      src/sys/kern/sysv_msg.c
  1.25      +3 -6      src/sys/kern/uipc_mqueue.c
  1.260     +1 -1      src/sys/kern/vfs_mount.c
  1.705     +5 -5      src/sys/kern/vfs_subr.c
  1.440     +5 -10     src/sys/kern/vfs_syscalls.c
  1.192     +3 -3      src/sys/netinet/in_pcb.c
  1.176     +2 -7      src/sys/netinet/raw_ip.c
  1.36      +2 -8      src/sys/netinet/sctp_pcb.c
  1.31      +4 -10     src/sys/netinet/sctp_usrreq.c
  1.287     +2 -4      src/sys/netinet/tcp_subr.c
  1.210     +1 -2      src/sys/netinet/udp_usrreq.c
  1.79      +2 -2      src/sys/netinet6/in6_pcb.c
  1.44      +1 -2      src/sys/netinet6/in6_src.c
  1.68      +1 -1      src/sys/netinet6/raw_ip6.c
  1.27      +1 -7      src/sys/netinet6/sctp6_usrreq.c
  1.72      +4 -2      src/sys/netinet6/udp6_usrreq.c
  1.6       +1 -3      src/sys/netipsec/ipsec_osdep.h
  1.15      +1 -2      src/sys/security/mac_portacl/mac_portacl.c
  1.15      +1 -2      src/sys/security/mac_seeotheruids/mac_seeotheruids.c
  1.13      +12 -0     src/sys/sys/priv.h
  1.258     +0 -6      src/sys/sys/systm.h
  1.146     +2 -2      src/sys/ufs/ffs/ffs_alloc.c
  1.172     +2 -4      src/sys/ufs/ffs/ffs_vnops.c
  1.95      +6 -12     src/sys/ufs/ufs/ufs_quota.c
  1.291     +6 -14     src/sys/ufs/ufs/ufs_vnops.c


More information about the cvs-src mailing list