Home
last modified time | relevance | path

Searched refs:ttyname (Results 1 – 25 of 29) sorted by relevance

12

/external/ppp/pppd/plugins/radius/
Dclientid.c107 char ttyname[PATH_MAX]; in rc_map2id() local
109 *ttyname = '\0'; in rc_map2id()
111 strcpy(ttyname, "/dev/"); in rc_map2id()
113 strncat(ttyname, name, sizeof(ttyname)); in rc_map2id()
116 if (!strcmp(ttyname, p->name)) return p->id; in rc_map2id()
118 warn("rc_map2id: can't find tty %s in map database", ttyname); in rc_map2id()
/external/ppp/pppd/plugins/radius/etc/
Dport-id-map4 # This file describes the ttyname to port id mapping. The port id
7 #ttyname (as returned by ttyname(3)) port-id
Dradiusclient.conf.in18 # it may be extended by the ttyname which will result in
60 # file which specifies mapping between ttyname and NAS-Port attribute
/external/openssh/openbsd-compat/
Dbsd-cray.c176 record_failed_login(const char *user, const char *hostname, const char *ttyname) in record_failed_login() argument
249 ttyn = ttyname(0); in cray_setup()
310 if (ttyname(0) != NULL) { in cray_setup()
491 if (ttyname(0) != NULL) { in cray_setup()
492 debug("cray_setup: ttyname true case, %.100s", ttyname); in cray_setup()
563 ttyname); in cray_setup()
Dport-aix.c308 record_failed_login(const char *user, const char *hostname, const char *ttyname) in record_failed_login() argument
315 loginfailed((char *)user, (char *)hostname, (char *)ttyname, in record_failed_login()
318 loginfailed((char *)user, (char *)hostname, (char *)ttyname); in record_failed_login()
Dbsd-openpty.c144 if ((ttname = ttyname(*amaster)) == NULL) in openpty()
/external/openssh/
Dsshlogin.c143 record_utmp_only(pid_t pid, const char *ttyname, const char *user, in record_utmp_only() argument
148 li = login_alloc_entry(pid, user, host, ttyname); in record_utmp_only()
Dlogintest.c108 li1 = login_alloc_entry((int)getpid(), username, NULL, ttyname(0)); in testAPI()
Dsshpty.c84 name = ttyname(*ttyfd); in pty_allocate()
Dconfig.h.in1697 /* Define if you shouldn't strip 'tty' from your ttyname in [uw]tmp */
Dconfigure.ac708 ttyname in [uw]tmp])
/external/toybox/toys/other/
Dlogin.c96 ttyname(tty), hh ? "from " : "", hh ? TT.h : ""); in login_main()
128 ttyname(tty), hh ? "from" : "", hh ? TT.h : ""); in login_main()
/external/python/cpython3/Lib/
Dpty.py43 slave_name = os.ttyname(slave_fd)
111 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR)
/external/python/cpython2/Lib/
Dpty.py43 slave_name = os.ttyname(slave_fd)
122 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR)
/external/toybox/toys/posix/
Dtty.c27 char *tty = ttyname(0); in tty_main()
/external/toybox/toys/pending/
Dgetty.c277 xstrncpy(entry.ut_line, ttyname(STDIN_FILENO) + in utmp_entry()
287 xstrncpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen("/dev/"), UT_LINESIZE); in utmp_entry()
/external/selinux/policycoreutils/sestatus/
Dsestatus.c187 char *cterm = ttyname(0); in main()
/external/ppp/pppd/
Dtty.c423 if (!isatty(0) || (p = ttyname(0)) == NULL) { in tty_process_extra_options()
Dmain.c260 extern char *ttyname __P((int));
/external/selinux/policycoreutils/newrole/
Dnewrole.c1098 ttyn = ttyname(STDIN_FILENO); in main()
/external/autotest/client/common_lib/
Dpexpect.py612 child_name = os.ttyname(tty_fd)
/external/python/cpython2/Modules/
Dposixmodule.c1781 ret = ttyname(); in posix_ttyname()
1787 ret = ttyname(id); in posix_ttyname()
/external/compiler-rt/lib/dfsan/
Dlibc_ubuntu1404_abilist.txt3168 fun:ttyname=uninstrumented
/external/python/cpython2/Doc/library/
Dos.rst841 .. function:: ttyname(fd)
/external/python/cpython3/Modules/
Dposixmodule.c2655 ret = ttyname(fd); in os_ttyname_impl()

12