Searched refs:tty_name (Results 1 – 9 of 9) sorted by relevance
/external/toybox/toys/pending/ |
D | getty.c | 38 char *tty_name, buff[128]; 61 if (strcmp(TT.tty_name, "-")) { in open_tty() 62 if (*(TT.tty_name) != '/') TT.tty_name = xmprintf("/dev/%s", TT.tty_name); in open_tty() 69 xopen_stdio(TT.tty_name, O_RDWR|O_NDELAY|O_CLOEXEC); in open_tty() 74 if (!isatty(0)) perror_exit("/dev/%s: not a tty", TT.tty_name); in open_tty() 75 chown(TT.tty_name, 0, 0); // change ownership, Hope login will change this in open_tty() 76 chmod(TT.tty_name, 0620); in open_tty() 152 if (*ch == 'l') fputs(TT.tty_name, stdout); in write_issue() 220 if (*++toys.optargs) TT.tty_name = xmprintf("%s", *toys.optargs); in getty_main() 222 TT.tty_name = xmprintf("%s", *toys.optargs); in getty_main()
|
D | init.c | 126 char *p, *q, *extracted_token, *tty_name = NULL, *command = NULL, *tmp; in inittab_parsing() local 144 tty_name = command = NULL; in inittab_parsing() 152 tty_name = xmprintf("%s",extracted_token); in inittab_parsing() 153 else tty_name = xmprintf("/dev/%s",extracted_token); in inittab_parsing() 154 } else tty_name = xstrdup(""); in inittab_parsing() 178 free(tty_name); in inittab_parsing() 182 if (action) add_new_action(action, command, tty_name); in inittab_parsing() 183 free(tty_name); in inittab_parsing()
|
D | telnetd.c | 151 char tty_name[30]; //tty name length. in new_session() local 161 if ((TT.fork_pid = forkpty(&fd, tty_name, NULL, NULL)) > 0) return fd; in new_session() 168 write_issue(tty_name); in new_session()
|
/external/python/cpython2/Lib/ |
D | pty.py | 58 tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) 61 return master_fd, tty_name 72 def slave_open(tty_name): argument 78 result = os.open(tty_name, os.O_RDWR)
|
/external/python/cpython3/Lib/ |
D | pty.py | 62 def slave_open(tty_name): argument 68 result = os.open(tty_name, os.O_RDWR)
|
/external/selinux/policycoreutils/newrole/ |
D | newrole.c | 190 const char *tty_name; in authenticate_via_pam() local 194 tty_name = ttyn + 5; in authenticate_via_pam() 196 tty_name = ttyn; in authenticate_via_pam() 198 pam_rc = pam_set_item(pam_handle, PAM_TTY, tty_name); in authenticate_via_pam()
|
/external/toybox/android/linux/generated/ |
D | globals.h | 701 char *tty_name, buff[128]; member
|
/external/toybox/android/device/generated/ |
D | globals.h | 701 char *tty_name, buff[128]; member
|
/external/toybox/android/mac/generated/ |
D | globals.h | 701 char *tty_name, buff[128]; member
|