/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 | 266 if (!capable(CAP_SYS_ADMIN)) in store_selfballooning() 296 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_interval() 320 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_downhys() 345 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_uphys() 370 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_min_usable_mb() 396 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_reserved_mb() 424 if (!capable(CAP_SYS_ADMIN)) in store_frontswap_selfshrinking() 453 if (!capable(CAP_SYS_ADMIN)) in store_frontswap_inertia() 478 if (!capable(CAP_SYS_ADMIN)) in store_frontswap_hysteresis()
|
D | xen-balloon.c | 146 if (!capable(CAP_SYS_ADMIN)) in store_target_kb() 176 if (!capable(CAP_SYS_ADMIN)) in store_target()
|
/drivers/xen/xenbus/ |
D | xenbus_dev_backend.c | 23 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_open() 76 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_ioctl() 95 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_mmap()
|
/drivers/net/wireless/broadcom/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/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() 153 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_abortio() 187 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_allowio() 268 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_format() 502 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/broadcom/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/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 | 360 if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 442 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 538 if(!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 580 if (!perm || !capable(CAP_KILL)) in vt_ioctl() 1020 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 1025 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 1212 if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG)) in vt_compat_ioctl()
|
/drivers/net/bonding/ |
D | bond_sysfs.c | 537 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_actor_key() 557 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_key() 577 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_mac() 686 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_sys_prio() 700 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_system() 715 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_user_port_key()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_vlan.c | 126 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_add() 181 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_delete()
|
/drivers/scsi/ |
D | scsi_ioctl.c | 237 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in scsi_ioctl()
|
/drivers/ntb/hw/amd/ |
D | Kconfig | 5 This driver supports AMD NTB on capable Zeppelin hardware.
|
/drivers/char/ |
D | ds1302.c | 181 if (!capable(CAP_SYS_TIME)) in rtc_ioctl() 244 if (!capable(CAP_SYS_TIME)) in rtc_ioctl()
|
/drivers/scsi/arcmsr/ |
D | arcmsr_attr.c | 76 if (!capable(CAP_SYS_ADMIN)) in arcmsr_sysfs_iop_message_read() 123 if (!capable(CAP_SYS_ADMIN)) in arcmsr_sysfs_iop_message_write() 170 if (!capable(CAP_SYS_ADMIN)) in arcmsr_sysfs_iop_message_clear()
|
/drivers/net/irda/ |
D | sir_dev.c | 691 if (!capable(CAP_NET_ADMIN)) in sirdev_ioctl() 701 if (!capable(CAP_NET_ADMIN)) in sirdev_ioctl() 711 if (!capable(CAP_NET_ADMIN)) in sirdev_ioctl() 722 if (!capable(CAP_NET_ADMIN)) in sirdev_ioctl() 733 if (!capable(CAP_NET_ADMIN)) in sirdev_ioctl()
|
/drivers/ntb/hw/intel/ |
D | Kconfig | 5 This driver supports Intel NTB on capable Xeon and Atom hardware.
|
/drivers/lightnvm/ |
D | core.c | 906 if (!capable(CAP_SYS_ADMIN)) in nvm_ioctl_info() 947 if (!capable(CAP_SYS_ADMIN)) in nvm_ioctl_get_devices() 992 if (!capable(CAP_SYS_ADMIN)) in nvm_ioctl_dev_create() 1016 if (!capable(CAP_SYS_ADMIN)) in nvm_ioctl_dev_remove() 1083 if (!capable(CAP_SYS_ADMIN)) in nvm_ioctl_dev_init() 1104 if (!capable(CAP_SYS_ADMIN)) in nvm_ioctl_dev_factory()
|
/drivers/firmware/efi/ |
D | efivars.c | 357 if (!capable(CAP_SYS_ADMIN)) in efivar_attr_show() 373 if (!capable(CAP_SYS_ADMIN)) in efivar_attr_store() 428 if (!capable(CAP_SYS_ADMIN)) in efivar_create() 495 if (!capable(CAP_SYS_ADMIN)) in efivar_delete()
|
/drivers/base/power/ |
D | wakeup.c | 411 void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable() argument 413 if (!!dev->power.can_wakeup == !!capable) in device_set_wakeup_capable() 417 if (capable) { in device_set_wakeup_capable() 424 dev->power.can_wakeup = capable; in device_set_wakeup_capable()
|
/drivers/rtc/ |
D | rtc-dev.c | 239 if (!capable(CAP_SYS_TIME)) in rtc_dev_ioctl() 244 if (arg > rtc->max_user_freq && !capable(CAP_SYS_RESOURCE)) in rtc_dev_ioctl() 250 !capable(CAP_SYS_RESOURCE)) in rtc_dev_ioctl()
|
/drivers/net/ethernet/brocade/bna/ |
D | Kconfig | 9 This driver supports QLogic BR-series 1010/1020/1860 10Gb CEE capable
|
/drivers/parisc/ |
D | pdc_stable.c | 475 if (!capable(CAP_SYS_ADMIN)) in pdcspath_attr_store() 763 if (!capable(CAP_SYS_ADMIN)) in pdcs_auto_write() 864 if (!capable(CAP_SYS_ADMIN)) in pdcs_osdep1_write() 903 if (!capable(CAP_SYS_ADMIN)) in pdcs_osdep2_write()
|
/drivers/cpufreq/ |
D | Kconfig | 96 you to get a full dynamic frequency capable system by simply 108 you to get a full dynamic frequency capable system by simply 120 you to get a full dynamic cpu frequency capable system by simply 367 itself if the CPU in question is not capable of rate rounding. 381 which are capable of changing the CPU's frequency dynamically.
|