Home
last modified time | relevance | path

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

12345678910>>...13

/drivers/ide/
Dide-ioctls.c45 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/
Dxen-selfballoon.c267 if (!capable(CAP_SYS_ADMIN)) in store_selfballooning()
297 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_interval()
321 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_downhys()
346 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_uphys()
371 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_min_usable_mb()
397 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_reserved_mb()
425 if (!capable(CAP_SYS_ADMIN)) in store_frontswap_selfshrinking()
454 if (!capable(CAP_SYS_ADMIN)) in store_frontswap_inertia()
479 if (!capable(CAP_SYS_ADMIN)) in store_frontswap_hysteresis()
Dxen-balloon.c152 if (!capable(CAP_SYS_ADMIN)) in store_target_kb()
182 if (!capable(CAP_SYS_ADMIN)) in store_target()
/drivers/xen/xenbus/
Dxenbus_dev_backend.c25 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_open()
78 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_ioctl()
97 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_mmap()
/drivers/net/wireless/b43legacy/
Dsysfs.c82 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/
Ddasd_ioctl.c48 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()
272 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_format()
466 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_set_ro()
/drivers/scsi/
Dscsi_ioctl.c250 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in scsi_ioctl()
328 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in scsi_nonblockable_ioctl()
/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-module.c140 if (!capable(CAP_SYS_ADMIN)) in libcfs_ioctl()
154 if (!capable(CFS_CAP_SYS_BOOT)) in libcfs_ioctl()
159 if (!capable(CFS_CAP_SYS_ADMIN)) in libcfs_ioctl()
/drivers/pci/
Dsyscall.c26 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
95 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
/drivers/net/wireless/b43/
Dsysfs.c57 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show()
100 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_store()
/drivers/macintosh/
Dans-lcd.c111 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
117 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
/drivers/staging/octeon/
Dethernet-mdio.c68 if (!capable(CAP_NET_ADMIN)) in cvm_oct_set_settings()
81 if (!capable(CAP_NET_ADMIN)) in cvm_oct_nway_reset()
/drivers/tty/vt/
Dvt_ioctl.c360 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()
1026 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl()
1031 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl()
1218 if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG)) in vt_compat_ioctl()
/drivers/infiniband/ulp/ipoib/
Dipoib_vlan.c126 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_add()
178 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_delete()
/drivers/base/power/
Dwakeup.c293 void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable() argument
295 if (!!dev->power.can_wakeup == !!capable) in device_set_wakeup_capable()
299 if (capable) { in device_set_wakeup_capable()
306 dev->power.can_wakeup = capable; in device_set_wakeup_capable()
/drivers/char/
Dds1302.c181 if (!capable(CAP_SYS_TIME)) in rtc_ioctl()
244 if (!capable(CAP_SYS_TIME)) in rtc_ioctl()
Dds1620.c250 if (!capable(CAP_SYS_ADMIN)) in ds1620_ioctl()
304 if (!capable(CAP_SYS_ADMIN)) in ds1620_ioctl()
Defirtc.c194 if (!capable(CAP_SYS_TIME)) return -EACCES; in efi_rtc_ioctl()
212 if (!capable(CAP_SYS_TIME)) return -EACCES; in efi_rtc_ioctl()
/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/net/irda/
Dsir_dev.c690 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/firmware/efi/
Defivars.c357 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/rtc/
Drtc-dev.c239 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/
DKconfig9 This driver supports Brocade 1010/1020 10Gb CEE capable Ethernet
/drivers/parisc/
Dpdc_stable.c475 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/staging/iio/trigger/
DKconfig12 Provides support for using periodic capable real time

12345678910>>...13