Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/newrole/
Dnewrole.c699 security_context_t * tty_context, in relabel_tty() argument
758 *tty_context = tty_con; in relabel_tty()
778 security_context_t tty_context, in restore_tty_label() argument
801 if ((rc = fsetfilecon(fd, tty_context)) < 0) in restore_tty_label()
1026 security_context_t tty_context = NULL; /* current context of tty */ in main() local
1170 fd = relabel_tty(ttyn, new_context, &tty_context, &new_tty_context); in main()
1187 if (restore_tty_label(fd, ttyn, tty_context, new_tty_context)) in main()
1210 if (restore_tty_label(fd, ttyn, tty_context, new_tty_context)) { in main()
1214 freecon(tty_context); in main()
1352 freecon(tty_context); in main()
/external/selinux/libselinux/src/
Dselinux_check_securetty_context.c9 int selinux_check_securetty_context(const char * tty_context) in selinux_check_securetty_context() argument
19 context_t con = context_new(tty_context); in selinux_check_securetty_context()
/external/selinux/libselinux/include/selinux/
Dselinux.h591 extern int selinux_check_securetty_context(const char * tty_context);