Home
last modified time | relevance | path

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

12345678910>>...14

/drivers/ide/
Dide-ioctls.c55 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/
Dxenbus_dev_backend.c24 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/
Ddasd_ioctl.c49 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/
Dsysfs.c71 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/
Dvt_ioctl.c362 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/
Dsysfs.c44 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show()
87 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_store()
/drivers/pci/
Dsyscall.c27 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
96 if (!capable(CAP_SYS_ADMIN) || in SYSCALL_DEFINE5()
/drivers/platform/x86/
Ddell-smbios-base.c250 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/
Dbond_sysfs.c537 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/
Dans-lcd.c112 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
118 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
/drivers/staging/wfx/
Dhif_tx_mib.c162 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/
Dxen-balloon.c169 if (!capable(CAP_SYS_ADMIN)) in store_target_kb()
199 if (!capable(CAP_SYS_ADMIN)) in store_target()
/drivers/infiniband/ulp/ipoib/
Dipoib_vlan.c175 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_add()
253 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_delete()
/drivers/scsi/
Dscsi_ioctl.c231 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in scsi_ioctl_common()
/drivers/scsi/arcmsr/
Darcmsr_attr.c76 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/
DKconfig6 This driver supports AMD NTB on capable Zeppelin hardware.
/drivers/ntb/hw/intel/
DKconfig6 This driver supports Intel NTB on capable Xeon and Atom hardware.
/drivers/firmware/efi/
Defivars.c305 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/
Ddev.c224 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/
DKconfig7 SoC drivers for SiFive Linux-capable SoCs.
/drivers/net/ethernet/brocade/bna/
DKconfig10 This driver supports QLogic BR-series 1010/1020/1860 10Gb CEE capable
/drivers/char/
Dds1620.c251 if (!capable(CAP_SYS_ADMIN)) in ds1620_ioctl()
305 if (!capable(CAP_SYS_ADMIN)) in ds1620_ioctl()
/drivers/parisc/
Dpdc_stable.c462 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/
DKconfig11 that is capable of generic hardware handling of IP packets,
/drivers/infiniband/hw/hfi1/
Duser_pages.c78 bool can_lock = capable(CAP_IPC_LOCK); in hfi1_can_pin_pages()

12345678910>>...14