Searched refs:CAP_SYS_TTY_CONFIG (Results 1 – 7 of 7) sorted by relevance
362 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_k_ioctl()419 if(!capable(CAP_SYS_TTY_CONFIG)) in vt_k_ioctl()749 if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl()942 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl()947 if (!capable(CAP_SYS_TTY_CONFIG)) in vt_ioctl()1072 if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG)) in vt_compat_ioctl()
2037 if (!perm || !capable(CAP_SYS_TTY_CONFIG)) in vt_do_kdsk_ioctl()2091 if (!perm || !capable(CAP_SYS_TTY_CONFIG)) in vt_do_kdgkb_ioctl()
320 #define CAP_SYS_TTY_CONFIG 26 macro
329 if (!capable(CAP_SYS_ADMIN) && !capable(CAP_SYS_TTY_CONFIG)) in ldisc_open()
492 perm = current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG); in kbd_ioctl()
1604 if (capable(CAP_SYS_TTY_CONFIG)) { in SYSCALL_DEFINE0()
3709 error = cred_has_capability(cred, CAP_SYS_TTY_CONFIG, in selinux_file_ioctl()