Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/newrole/
Dnewrole.c684 security_context_t tty_con = NULL; in relabel_tty() local
703 if (fgetfilecon(fd, &tty_con) < 0) { in relabel_tty()
711 if (tty_con && in relabel_tty()
712 (security_compute_relabel(new_context, tty_con, in relabel_tty()
732 *tty_context = tty_con; in relabel_tty()
737 freecon(tty_con); in relabel_tty()
805 security_context_t tty_con = NULL; in parse_command_line_arguments() local
859 if (fgetfilecon(STDIN_FILENO, &tty_con) >= 0) { in parse_command_line_arguments()
861 (tty_con) < 0) { in parse_command_line_arguments()
865 freecon(tty_con); in parse_command_line_arguments()
[all …]