Home
last modified time | relevance | path

Searched refs:CAP_SYS_TTY_CONFIG (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/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()
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()
Dkeyboard.c2037 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()
/linux-6.6.21/include/uapi/linux/
Dcapability.h320 #define CAP_SYS_TTY_CONFIG 26 macro
/linux-6.6.21/drivers/net/caif/
Dcaif_serial.c329 if (!capable(CAP_SYS_ADMIN) && !capable(CAP_SYS_TTY_CONFIG)) in ldisc_open()
/linux-6.6.21/drivers/s390/char/
Dkeyboard.c492 perm = current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG); in kbd_ioctl()
/linux-6.6.21/fs/
Dopen.c1604 if (capable(CAP_SYS_TTY_CONFIG)) { in SYSCALL_DEFINE0()
/linux-6.6.21/security/selinux/
Dhooks.c3709 error = cred_has_capability(cred, CAP_SYS_TTY_CONFIG, in selinux_file_ioctl()