Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/newrole/
Dnewrole.c185 int authenticate_via_pam(const char *ttyn, pam_handle_t * pam_handle) in authenticate_via_pam() argument
192 if (ttyn) { in authenticate_via_pam()
193 if (strncmp(ttyn, "/dev/", 5) == 0) in authenticate_via_pam()
194 tty_name = ttyn + 5; in authenticate_via_pam()
196 tty_name = ttyn; in authenticate_via_pam()
627 security_context_t new_context, const char *ttyn) in send_audit_message() argument
645 msg, NULL, NULL, ttyn, success); in send_audit_message()
663 __attribute__ ((unused)), const char *ttyn in send_audit_message() argument
678 static int relabel_tty(const char *ttyn, security_context_t new_context, in relabel_tty() argument
687 if (!ttyn) in relabel_tty()
[all …]
/external/openssh/openbsd-compat/
Dbsd-cray.c132 fsent.ttyn = "sshd"; in cray_login_failure()
205 char *ttyn = NULL; /* ttyname or command name*/ in cray_setup() local
250 ttyn = ttyname(0); in cray_setup()
252 if (ttyn != NULL) in cray_setup()
253 secstatrc = secstat(ttyn, &secinfo); in cray_setup()
262 if ((ttyn == NULL) && ((char *)command != NULL)) in cray_setup()
263 ttyn = (char *)command; in cray_setup()
270 usent.ttyn = ttyn; in cray_setup()
392 fsent.ttyn = ttyn; in cray_setup()
428 fsent.ttyn = ttyn; in cray_setup()
[all …]
/external/openssh/
Daudit-linux.c44 const char *hostname, const char *ip, const char *ttyn, int success) in linux_audit_record_event() argument
58 username == NULL ? uid : -1, hostname, ip, ttyn, success); in linux_audit_record_event()
Dloginrec.c1659 const char *ttyn) in record_failed_login() argument