Searched refs:aslave (Results 1 – 3 of 3) sorted by relevance
/external/openssh/openbsd-compat/ |
D | bsd-openpty.c | 73 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/ |
D | cve-2014-0196.c | 61 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/ |
D | msan_interceptors.cc | 1222 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()
|