/linux-2.4.37.9/fs/ |
D | attr.c | 31 attr->ia_uid != inode->i_uid) && !capable(CAP_CHOWN)) in inode_change_ok() 38 !capable(CAP_CHOWN)) in inode_change_ok() 43 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in inode_change_ok() 47 inode->i_gid) && !capable(CAP_FSETID)) in inode_change_ok() 53 if (current->fsuid != inode->i_uid && !capable(CAP_FOWNER)) in inode_change_ok() 85 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in inode_setattr()
|
/linux-2.4.37.9/drivers/block/ |
D | blkpg.c | 183 if (!capable(CAP_SYS_ADMIN)) in blkpg_ioctl() 209 if (!capable(CAP_SYS_ADMIN)) in blk_ioctl() 220 if(!capable(CAP_SYS_ADMIN)) in blk_ioctl() 232 if(!capable(CAP_SYS_ADMIN)) in blk_ioctl() 255 if (!capable(CAP_SYS_ADMIN)) in blk_ioctl() 279 if (!capable (CAP_SYS_ADMIN)) in blk_ioctl()
|
/linux-2.4.37.9/fs/ext2/ |
D | ioctl.c | 33 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in ext2_ioctl() 48 if (!capable(CAP_LINUX_IMMUTABLE)) in ext2_ioctl() 64 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in ext2_ioctl()
|
/linux-2.4.37.9/kernel/ |
D | sys.c | 236 p->uid != current->uid && !capable(CAP_SYS_NICE)) { in sys_setpriority() 242 if (niceval < p->nice && !capable(CAP_SYS_NICE)) in sys_setpriority() 294 if (!capable(CAP_SYS_BOOT)) in sys_reboot() 405 capable(CAP_SETGID)) in sys_setregid() 414 capable(CAP_SETGID)) in sys_setregid() 443 if (capable(CAP_SETGID)) in sys_setgid() 557 !capable(CAP_SETUID)) in sys_setreuid() 566 !capable(CAP_SETUID)) in sys_setreuid() 613 if (capable(CAP_SETUID)) { in sys_setuid() 646 if (!capable(CAP_SETUID)) { in sys_setresuid() [all …]
|
D | ptrace.c | 71 (current->gid != task->gid)) && !capable(CAP_SYS_PTRACE)) in ptrace_attach() 74 if (!is_dumpable(task) && !capable(CAP_SYS_PTRACE)) in ptrace_attach() 82 if (capable(CAP_SYS_PTRACE)) in ptrace_attach()
|
/linux-2.4.37.9/fs/ext3/ |
D | ioctl.c | 39 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in ext3_ioctl() 57 if (!capable(CAP_LINUX_IMMUTABLE)) in ext3_ioctl() 66 if (!capable(CAP_SYS_RESOURCE)) in ext3_ioctl() 107 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in ext3_ioctl()
|
/linux-2.4.37.9/net/bluetooth/ |
D | hci_sock.c | 178 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl() 216 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 221 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 226 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 231 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 243 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 403 !capable(CAP_NET_RAW)) { in hci_sock_sendmsg() 416 if (!capable(CAP_NET_RAW)) { in hci_sock_sendmsg() 480 if (!capable(CAP_NET_RAW)) { in hci_sock_setsockopt()
|
/linux-2.4.37.9/fs/reiserfs/ |
D | ioctl.c | 48 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in reiserfs_ioctl() 55 !capable( CAP_LINUX_IMMUTABLE ) ) in reiserfs_ioctl() 75 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in reiserfs_ioctl()
|
/linux-2.4.37.9/net/atm/ |
D | common.c | 383 if (vci > 0 && vci < ATM_NOT_RSV_VCI && !capable(CAP_NET_BIND_SERVICE)) in __vcc_connect() 702 if (!capable(CAP_NET_ADMIN)) { in vcc_ioctl() 713 if (!capable(CAP_SYS_RAWIO)) { in vcc_ioctl() 723 if (!capable(CAP_NET_ADMIN)) { in vcc_ioctl() 735 if (!capable(CAP_NET_ADMIN)) { in vcc_ioctl() 753 if (!capable(CAP_NET_ADMIN)) { in vcc_ioctl() 765 if (!capable(CAP_NET_ADMIN)) { in vcc_ioctl() 777 if (!capable(CAP_NET_ADMIN)) { in vcc_ioctl() 791 if (!capable(CAP_NET_ADMIN)) { in vcc_ioctl() 809 if (!capable(CAP_NET_ADMIN)) { in vcc_ioctl() [all …]
|
D | resources.c | 289 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl() 302 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl() 328 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl() 336 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl() 373 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
|
/linux-2.4.37.9/drivers/char/ |
D | ds1286.c | 110 if (!capable(CAP_SYS_TIME)) in ds1286_ioctl() 126 if (!capable(CAP_SYS_TIME)) in ds1286_ioctl() 142 if (!capable(CAP_SYS_TIME)) in ds1286_ioctl() 158 if (!capable(CAP_SYS_TIME)) in ds1286_ioctl() 190 if (!capable(CAP_SYS_TIME)) in ds1286_ioctl() 227 if (!capable(CAP_SYS_TIME)) in ds1286_ioctl()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | mf_proc.c | 186 if (!capable(CAP_SYS_ADMIN)) in proc_mf_dump_vmlinux() 225 if (!capable(CAP_SYS_ADMIN)) in proc_mf_change_side() 263 if (!capable(CAP_SYS_ADMIN)) in proc_mf_change_src() 287 if (!capable(CAP_SYS_ADMIN)) in proc_mf_change_cmdline() 297 if (!capable(CAP_SYS_ADMIN)) in proc_mf_change_vmlinux()
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | xfs_ioctl.c | 223 if (!capable(cap)) in xfs_vget_fsop_handlereq() 650 !capable(CAP_SYS_ADMIN)) in xfs_ioctl() 752 if (!capable(CAP_SYS_ADMIN)) in xfs_ioctl() 772 if (!capable(CAP_SYS_ADMIN)) in xfs_ioctl() 788 if (!capable(CAP_SYS_ADMIN)) in xfs_ioctl() 801 if (!capable(CAP_SYS_ADMIN)) in xfs_ioctl() 814 if (!capable(CAP_SYS_ADMIN)) in xfs_ioctl() 825 if (!capable(CAP_SYS_ADMIN)) in xfs_ioctl() 836 if (!capable(CAP_SYS_ADMIN)) in xfs_ioctl() 849 if (!capable(CAP_SYS_ADMIN)) in xfs_ioctl() [all …]
|
/linux-2.4.37.9/arch/x86_64/kernel/ |
D | ioport.c | 41 if (turn_on && !capable(CAP_SYS_RAWIO)) in sys_ioperm() 92 if (!capable(CAP_SYS_RAWIO)) in sys_iopl()
|
D | mtrr.c | 984 if (!capable(CAP_SYS_ADMIN)) in mtrr_write() 1070 if (!capable(CAP_SYS_ADMIN)) in mtrr_ioctl() 1081 if (!capable(CAP_SYS_ADMIN)) in mtrr_ioctl() 1091 if (!capable(CAP_SYS_ADMIN)) in mtrr_ioctl() 1101 if (!capable(CAP_SYS_ADMIN)) in mtrr_ioctl() 1132 if (!capable(CAP_SYS_ADMIN)) in mtrr_ioctl() 1142 if (!capable(CAP_SYS_ADMIN)) in mtrr_ioctl() 1152 if (!capable(CAP_SYS_ADMIN)) in mtrr_ioctl() 1162 if (!capable(CAP_SYS_ADMIN)) in mtrr_ioctl()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | ioport.c | 62 if (turn_on && !capable(CAP_SYS_RAWIO)) in sys_ioperm() 112 if (!capable(CAP_SYS_RAWIO)) in sys_iopl()
|
/linux-2.4.37.9/net/8021q/ |
D | vlan.c | 676 if (!capable(CAP_NET_ADMIN)) in vlan_ioctl_handler() 685 if (!capable(CAP_NET_ADMIN)) in vlan_ioctl_handler() 693 if (!capable(CAP_NET_ADMIN)) in vlan_ioctl_handler() 701 if (!capable(CAP_NET_ADMIN)) in vlan_ioctl_handler() 713 if (!capable(CAP_NET_ADMIN)) in vlan_ioctl_handler() 727 if (!capable(CAP_NET_ADMIN)) in vlan_ioctl_handler()
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | pci-noop.c | 90 if (!capable(CAP_SYS_ADMIN)) in sys_pciconfig_read() 100 if (!capable(CAP_SYS_ADMIN)) in sys_pciconfig_write()
|
/linux-2.4.37.9/drivers/pci/ |
D | syscall.c | 28 if (!capable(CAP_SYS_ADMIN)) in sys_pciconfig_read() 99 if (!capable(CAP_SYS_ADMIN)) in sys_pciconfig_write()
|
/linux-2.4.37.9/drivers/macintosh/ |
D | ans-lcd.c | 101 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl() 106 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
|
/linux-2.4.37.9/arch/parisc/hpux/ |
D | sys_hpux.c | 284 if (!capable(CAP_SYS_ADMIN)) in hpux_utssys() 298 if (!capable(CAP_SYS_ADMIN)) in hpux_utssys() 326 if (!capable(CAP_SYS_ADMIN)) in hpux_utssys() 353 if (!capable(CAP_SYS_ADMIN)) in hpux_utssys()
|
/linux-2.4.37.9/drivers/scsi/ |
D | scsi_ioctl.c | 430 if (!capable(CAP_SYS_ADMIN)) in scsi_ioctl() 438 if (!capable(CAP_SYS_ADMIN)) in scsi_ioctl() 448 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in scsi_ioctl()
|
/linux-2.4.37.9/net/core/ |
D | scm.c | 42 if ((creds->pid == current->pid || capable(CAP_SYS_ADMIN)) && in scm_check_creds() 44 creds->uid == current->suid) || capable(CAP_SETUID)) && in scm_check_creds() 46 creds->gid == current->sgid) || capable(CAP_SETGID))) { in scm_check_creds()
|
/linux-2.4.37.9/net/ax25/ |
D | ax25_uid.c | 79 if (!capable(CAP_NET_ADMIN)) in ax25_uid_ioctl() 96 if (!capable(CAP_NET_ADMIN)) in ax25_uid_ioctl()
|
/linux-2.4.37.9/net/bluetooth/bnep/ |
D | sock.c | 87 if (!capable(CAP_NET_ADMIN)) in bnep_sock_ioctl() 112 if (!capable(CAP_NET_ADMIN)) in bnep_sock_ioctl()
|