Searched refs:short_tty (Results 1 – 3 of 3) sorted by relevance
/busybox-1.35.0/libbb/ |
D | securetty.c | 10 int FAST_FUNC is_tty_secure(const char *short_tty) in is_tty_secure() argument 15 if (strcmp(buf, short_tty) == 0) in is_tty_secure()
|
/busybox-1.35.0/loginutils/ |
D | login.c | 335 char *short_tty; in login_main() local 392 short_tty = skip_dev_pfx(full_tty); in login_main() 395 fromhost = xasprintf(" on '%s' from '%s'", short_tty, opt_host); in login_main() 397 fromhost = xasprintf(" on '%s'", short_tty); in login_main() 419 pamret = pam_set_item(pamh, PAM_TTY, short_tty); in login_main() 502 if (pw->pw_uid == 0 && !is_tty_secure(short_tty)) in login_main() 538 update_utmp(my_pid, USER_PROCESS, short_tty, username, run_by_root ? opt_host : NULL); in login_main()
|
/busybox-1.35.0/include/ |
D | libbb.h | 1750 int is_tty_secure(const char *short_tty) FAST_FUNC; 1752 static ALWAYS_INLINE int is_tty_secure(const char *short_tty UNUSED_PARAM) { return 1; } in is_tty_secure()
|