Searched refs:tty_context (Results 1 – 3 of 3) sorted by relevance
/external/selinux/policycoreutils/newrole/ |
D | newrole.c | 699 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/ |
D | selinux_check_securetty_context.c | 9 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/ |
D | selinux.h | 591 extern int selinux_check_securetty_context(const char * tty_context);
|