Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/newrole/
Dnewrole.c680 security_context_t * new_tty_context) in relabel_tty() argument
733 *new_tty_context = new_tty_con; in relabel_tty()
753 security_context_t new_tty_context) in restore_tty_label() argument
761 if (!new_tty_context) in restore_tty_label()
770 if ((rc = strcmp(chk_tty_context, new_tty_context))) { in restore_tty_label()
1001 security_context_t new_tty_context = NULL; /* new context of tty */ in main() local
1143 fd = relabel_tty(ttyn, new_context, &tty_context, &new_tty_context); in main()
1160 if (restore_tty_label(fd, ttyn, tty_context, new_tty_context)) in main()
1183 if (restore_tty_label(fd, ttyn, tty_context, new_tty_context)) { in main()
1188 freecon(new_tty_context); in main()
[all …]