Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/newrole/
Dnewrole.c685 security_context_t new_tty_con = NULL; in relabel_tty() local
713 string_to_security_class("chr_file"), &new_tty_con) < 0)) { in relabel_tty()
721 if (new_tty_con) in relabel_tty()
722 if (fsetfilecon(fd, new_tty_con) < 0) { in relabel_tty()
726 freecon(new_tty_con); in relabel_tty()
727 new_tty_con = NULL; in relabel_tty()
733 *new_tty_context = new_tty_con; in relabel_tty()