/drivers/ide/ |
D | ide-ioctls.c | 55 if (!capable(CAP_SYS_ADMIN)) in ide_setting_ioctl() 266 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl() 271 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in generic_ide_ioctl() 281 if (!capable(CAP_SYS_RAWIO)) in generic_ide_ioctl() 285 if (!capable(CAP_SYS_RAWIO)) in generic_ide_ioctl() 289 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl() 293 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl() 299 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl()
|
/drivers/xen/xenbus/ |
D | xenbus_dev_backend.c | 24 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_open() 77 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_ioctl() 96 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_mmap()
|
/drivers/s390/block/ |
D | dasd_ioctl.c | 49 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_enable() 72 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_disable() 105 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_quiesce() 126 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_resume() 150 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_abortio() 184 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_allowio() 265 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_format() 353 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_release_space() 542 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_set_ro()
|
/drivers/net/wireless/broadcom/b43legacy/ |
D | sysfs.c | 71 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_show() 107 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_store() 152 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_preamble_show() 177 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_preamble_store()
|
/drivers/tty/vt/ |
D | vt_ioctl.c | 362 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_k_ioctl() 419 if(!capable(CAP_SYS_TTY_CONFIG)) in vt_k_ioctl() 455 if (!perm || !capable(CAP_KILL)) in vt_k_ioctl() 749 if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 940 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 945 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl() 1071 if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG)) in vt_compat_ioctl()
|
/drivers/net/wireless/broadcom/b43/ |
D | sysfs.c | 44 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show() 87 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_store()
|
/drivers/pci/ |
D | syscall.c | 27 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5() 96 if (!capable(CAP_SYS_ADMIN) || in SYSCALL_DEFINE5()
|
/drivers/platform/x86/ |
D | dell-smbios-base.c | 250 capable(token_whitelist[i].need_capability)) { in dell_smbios_call_filter() 264 capable(call_whitelist[i].need_capability)) { in dell_smbios_call_filter() 276 if (capable(CAP_SYS_RAWIO)) { in dell_smbios_call_filter() 439 if (!capable(CAP_SYS_ADMIN)) in location_show() 453 if (!capable(CAP_SYS_ADMIN)) in value_show()
|
/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/macintosh/ |
D | ans-lcd.c | 112 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl() 118 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
|
/drivers/staging/wfx/ |
D | hif_tx_mib.c | 162 int hif_set_mfp(struct wfx_vif *wvif, bool capable, bool required) in hif_set_mfp() argument 166 WARN(required && !capable, "incoherent arguments"); in hif_set_mfp() 167 if (capable) { in hif_set_mfp()
|
/drivers/xen/ |
D | xen-balloon.c | 169 if (!capable(CAP_SYS_ADMIN)) in store_target_kb() 199 if (!capable(CAP_SYS_ADMIN)) in store_target()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_vlan.c | 175 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_add() 253 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_delete()
|
/drivers/scsi/ |
D | scsi_ioctl.c | 231 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in scsi_ioctl_common()
|
/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/ntb/hw/amd/ |
D | Kconfig | 6 This driver supports AMD NTB on capable Zeppelin hardware.
|
/drivers/ntb/hw/intel/ |
D | Kconfig | 6 This driver supports Intel NTB on capable Xeon and Atom hardware.
|
/drivers/firmware/efi/ |
D | efivars.c | 305 if (!capable(CAP_SYS_ADMIN)) in efivar_attr_show() 321 if (!capable(CAP_SYS_ADMIN)) in efivar_attr_store() 376 if (!capable(CAP_SYS_ADMIN)) in efivar_create() 443 if (!capable(CAP_SYS_ADMIN)) in efivar_delete()
|
/drivers/rtc/ |
D | dev.c | 224 if (!capable(CAP_SYS_TIME)) in rtc_dev_ioctl() 229 if (arg > rtc->max_user_freq && !capable(CAP_SYS_RESOURCE)) in rtc_dev_ioctl() 235 !capable(CAP_SYS_RESOURCE)) in rtc_dev_ioctl()
|
/drivers/clk/sifive/ |
D | Kconfig | 7 SoC drivers for SiFive Linux-capable SoCs.
|
/drivers/net/ethernet/brocade/bna/ |
D | Kconfig | 10 This driver supports QLogic BR-series 1010/1020/1860 10Gb CEE capable
|
/drivers/char/ |
D | ds1620.c | 251 if (!capable(CAP_SYS_ADMIN)) in ds1620_ioctl() 305 if (!capable(CAP_SYS_ADMIN)) in ds1620_ioctl()
|
/drivers/parisc/ |
D | pdc_stable.c | 462 if (!capable(CAP_SYS_ADMIN)) in pdcspath_attr_store() 750 if (!capable(CAP_SYS_ADMIN)) in pdcs_auto_write() 851 if (!capable(CAP_SYS_ADMIN)) in pdcs_osdep1_write() 890 if (!capable(CAP_SYS_ADMIN)) in pdcs_osdep2_write()
|
/drivers/net/ipa/ |
D | Kconfig | 11 that is capable of generic hardware handling of IP packets,
|
/drivers/infiniband/hw/hfi1/ |
D | user_pages.c | 78 bool can_lock = capable(CAP_IPC_LOCK); in hfi1_can_pin_pages()
|