Home
last modified time | relevance | path

Searched refs:capable (Results 1 – 25 of 435) sorted by relevance

12345678910>>...18

/linux-2.4.37.9/fs/
Dattr.c31 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/
Dblkpg.c183 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/
Dioctl.c33 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/
Dsys.c236 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 …]
Dptrace.c71 (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/
Dioctl.c39 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/
Dhci_sock.c178 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/
Dioctl.c48 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/
Dcommon.c383 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 …]
Dresources.c289 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/
Dds1286.c110 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/
Dmf_proc.c186 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/
Dxfs_ioctl.c223 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/
Dioport.c41 if (turn_on && !capable(CAP_SYS_RAWIO)) in sys_ioperm()
92 if (!capable(CAP_SYS_RAWIO)) in sys_iopl()
Dmtrr.c984 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/
Dioport.c62 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/
Dvlan.c676 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/
Dpci-noop.c90 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/
Dsyscall.c28 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/
Dans-lcd.c101 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/
Dsys_hpux.c284 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/
Dscsi_ioctl.c430 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/
Dscm.c42 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/
Dax25_uid.c79 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/
Dsock.c87 if (!capable(CAP_NET_ADMIN)) in bnep_sock_ioctl()
112 if (!capable(CAP_NET_ADMIN)) in bnep_sock_ioctl()

12345678910>>...18