Home
last modified time | relevance | path

Searched refs:aslave (Results 1 – 3 of 3) sorted by relevance

/external/openssh/openbsd-compat/
Dbsd-openpty.c73 openpty(int *amaster, int *aslave, char *name, struct termios *termp, in openpty() argument
87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { in openpty()
119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty()
129 ioctl(*aslave, I_PUSH, "ptem"); in openpty()
130 ioctl(*aslave, I_PUSH, "ldterm"); in openpty()
132 ioctl(*aslave, I_PUSH, "ttcompat"); in openpty()
146 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty()
169 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) { in openpty()
203 if ((*aslave = open(ttbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty()
/external/ltp/testcases/cve/
Dcve-2014-0196.c61 static void create_pty(int *amaster, int *aslave) in create_pty() argument
63 if (openpty(amaster, aslave, NULL, NULL, NULL) == -1) in create_pty()
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc1222 INTERCEPTOR(int, openpty, int *amaster, int *aslave, char *name, in INTERCEPTOR() argument
1226 int res = REAL(openpty)(amaster, aslave, name, termp, winp); in INTERCEPTOR()
1229 __msan_unpoison(aslave, sizeof(*aslave)); in INTERCEPTOR()