Searched refs:has_cap (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/platform/x86/ |
D | acer-wmi.c | 615 static bool has_cap(u32 cap) in has_cap() function 1480 if (!has_cap(ACER_CAP_ACCEL)) in acer_gsensor_event() 1513 if (has_cap(ACER_CAP_WIRELESS)) { in acer_rfkill_update() 1523 if (has_cap(ACER_CAP_BLUETOOTH)) { in acer_rfkill_update() 1529 if (has_cap(ACER_CAP_THREEG) && wmi_has_guid(WMID_GUID3)) { in acer_rfkill_update() 1589 if (has_cap(ACER_CAP_WIRELESS)) { in acer_rfkill_init() 1598 if (has_cap(ACER_CAP_BLUETOOTH)) { in acer_rfkill_init() 1608 if (has_cap(ACER_CAP_THREEG)) { in acer_rfkill_init() 1621 has_cap(ACER_CAP_WIRELESS | ACER_CAP_BLUETOOTH | ACER_CAP_THREEG)) in acer_rfkill_init() 1628 if (has_cap(ACER_CAP_BLUETOOTH)) { in acer_rfkill_init() [all …]
|
/linux-4.1.27/security/ |
D | commoncap.c | 342 bool *has_cap) in bprm_caps_from_vfs_caps() argument 352 *has_cap = true; in bprm_caps_from_vfs_caps() 440 static int get_file_caps(struct linux_binprm *bprm, bool *effective, bool *has_cap) in get_file_caps() argument 463 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_cap); in get_file_caps() 487 bool effective, has_cap = false; in cap_bprm_set_creds() local 492 ret = get_file_caps(bprm, &effective, &has_cap); in cap_bprm_set_creds() 504 if (has_cap && !uid_eq(new->uid, root_uid) && uid_eq(new->euid, root_uid)) { in cap_bprm_set_creds()
|