/drivers/ide/ |
D | ide-ioctls.c | 45 if (!capable(CAP_SYS_ADMIN)) in ide_setting_ioctl() 252 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl() 257 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in generic_ide_ioctl() 264 if (!capable(CAP_SYS_RAWIO)) in generic_ide_ioctl() 268 if (!capable(CAP_SYS_RAWIO)) in generic_ide_ioctl() 272 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl() 276 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl() 282 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl()
|
/drivers/xen/ |
D | xen-selfballoon.c | 291 if (!capable(CAP_SYS_ADMIN)) in store_selfballooning() 319 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_interval() 341 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_downhys() 364 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_uphys() 387 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_min_usable_mb() 413 if (!capable(CAP_SYS_ADMIN)) in store_frontswap_selfshrinking() 440 if (!capable(CAP_SYS_ADMIN)) in store_frontswap_inertia() 463 if (!capable(CAP_SYS_ADMIN)) in store_frontswap_hysteresis()
|
D | xen-balloon.c | 150 if (!capable(CAP_SYS_ADMIN)) in store_target_kb() 180 if (!capable(CAP_SYS_ADMIN)) in store_target()
|
/drivers/xen/xenbus/ |
D | xenbus_dev_backend.c | 19 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_open() 27 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_ioctl() 45 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_mmap()
|
/drivers/net/wireless/b43legacy/ |
D | sysfs.c | 82 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_show() 118 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_store() 164 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_preamble_show() 189 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_preamble_store()
|
/drivers/scsi/ |
D | scsi_ioctl.c | 245 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in scsi_ioctl() 323 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in scsi_nonblockable_ioctl()
|
/drivers/s390/block/ |
D | dasd_ioctl.c | 48 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_enable() 74 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_disable() 109 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_quiesce() 130 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_resume() 209 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_format() 401 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_set_ro()
|
/drivers/pci/ |
D | syscall.c | 26 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5() 95 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
|
/drivers/net/wireless/b43/ |
D | sysfs.c | 57 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show() 100 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_store()
|
/drivers/net/ethernet/dec/ |
D | ewrk3.c | 1693 if (capable(CAP_NET_ADMIN)) { in ewrk3_ioctl() 1720 if (capable(CAP_NET_ADMIN)) { in ewrk3_ioctl() 1733 if (capable(CAP_NET_ADMIN)) { in ewrk3_ioctl() 1764 if (capable(CAP_NET_ADMIN)) { in ewrk3_ioctl() 1780 if (capable(CAP_NET_ADMIN)) { in ewrk3_ioctl() 1788 if (capable(CAP_NET_ADMIN)) { in ewrk3_ioctl() 1819 if (capable(CAP_NET_ADMIN)) { in ewrk3_ioctl() 1835 if (capable(CAP_NET_ADMIN)) { in ewrk3_ioctl() 1847 if (capable(CAP_NET_ADMIN)) { in ewrk3_ioctl() 1865 if (capable(CAP_NET_ADMIN)) { in ewrk3_ioctl() [all …]
|
/drivers/staging/octeon/ |
D | ethernet-mdio.c | 67 if (!capable(CAP_NET_ADMIN)) in cvm_oct_set_settings() 80 if (!capable(CAP_NET_ADMIN)) in cvm_oct_nway_reset()
|
/drivers/macintosh/ |
D | ans-lcd.c | 111 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl() 117 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
|
/drivers/tty/vt/ |
D | vt_ioctl.c | 296 if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 378 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 474 if(!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 516 if (!perm || !capable(CAP_KILL)) in vt_ioctl() 989 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 994 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 1181 if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG)) in vt_compat_ioctl()
|
/drivers/media/video/cx23885/ |
D | cx23885-ioctl.c | 139 if (!capable(CAP_SYS_ADMIN)) in cx23885_g_register() 190 if (!capable(CAP_SYS_ADMIN)) in cx23885_s_register()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_vlan.c | 58 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_add() 165 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_delete()
|
/drivers/media/video/ |
D | m52790.c | 90 if (!capable(CAP_SYS_ADMIN)) in m52790_g_register() 106 if (!capable(CAP_SYS_ADMIN)) in m52790_s_register()
|
D | cs5345.c | 106 if (!capable(CAP_SYS_ADMIN)) in cs5345_g_register() 119 if (!capable(CAP_SYS_ADMIN)) in cs5345_s_register()
|
D | upd64083.c | 129 if (!capable(CAP_SYS_ADMIN)) in upd64083_g_register() 142 if (!capable(CAP_SYS_ADMIN)) in upd64083_s_register()
|
D | upd64031a.c | 171 if (!capable(CAP_SYS_ADMIN)) in upd64031a_g_register() 184 if (!capable(CAP_SYS_ADMIN)) in upd64031a_s_register()
|
/drivers/base/power/ |
D | wakeup.c | 289 void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable() argument 291 if (!!dev->power.can_wakeup == !!capable) in device_set_wakeup_capable() 295 if (capable) { in device_set_wakeup_capable() 302 dev->power.can_wakeup = capable; in device_set_wakeup_capable()
|
/drivers/scsi/arcmsr/ |
D | arcmsr_attr.c | 74 if (!capable(CAP_SYS_ADMIN)) in arcmsr_sysfs_iop_message_read() 121 if (!capable(CAP_SYS_ADMIN)) in arcmsr_sysfs_iop_message_write() 169 if (!capable(CAP_SYS_ADMIN)) in arcmsr_sysfs_iop_message_clear()
|
/drivers/net/irda/ |
D | sir_dev.c | 690 if (!capable(CAP_NET_ADMIN)) in sirdev_ioctl() 700 if (!capable(CAP_NET_ADMIN)) in sirdev_ioctl() 710 if (!capable(CAP_NET_ADMIN)) in sirdev_ioctl() 721 if (!capable(CAP_NET_ADMIN)) in sirdev_ioctl() 732 if (!capable(CAP_NET_ADMIN)) in sirdev_ioctl()
|
/drivers/char/ |
D | ds1302.c | 181 if (!capable(CAP_SYS_TIME)) in rtc_ioctl() 244 if (!capable(CAP_SYS_TIME)) in rtc_ioctl()
|
/drivers/rtc/ |
D | rtc-dev.c | 237 if (!capable(CAP_SYS_TIME)) in rtc_dev_ioctl() 242 if (arg > rtc->max_user_freq && !capable(CAP_SYS_RESOURCE)) in rtc_dev_ioctl() 248 !capable(CAP_SYS_RESOURCE)) in rtc_dev_ioctl()
|
/drivers/net/ethernet/brocade/bna/ |
D | Kconfig | 9 This driver supports Brocade 1010/1020 10Gb CEE capable Ethernet
|