Searched refs:ptmx (Results 1 – 10 of 10) sorted by relevance
/external/ltp/testcases/kernel/pty/ |
D | pty02.c | 25 int ptmx, pts; in do_test() local 29 ptmx = SAFE_OPEN("/dev/ptmx", O_WRONLY); in do_test() 31 if (tcgetattr(ptmx, &io) != 0) in do_test() 36 TEST(tcsetattr(ptmx, TCSANOW, &io)); in do_test() 43 if (unlockpt(ptmx) != 0) in do_test() 46 pts = SAFE_OPEN(ptsname(ptmx), O_RDONLY); in do_test() 48 SAFE_WRITE(1, ptmx, "A\n", 2); in do_test() 54 SAFE_CLOSE(ptmx); in do_test()
|
/external/linux-kselftest/tools/testing/selftests/filesystems/ |
D | devpts_pts.c | 100 static int do_tiocgptpeer(char *ptmx, char *expected_procfd_contents) in do_tiocgptpeer() argument 105 master = open(ptmx, O_RDWR | O_NOCTTY | O_CLOEXEC); in do_tiocgptpeer() 107 fprintf(stderr, "Failed to open \"%s\": %s\n", ptmx, in do_tiocgptpeer() 192 char ptmx[] = P_tmpdir "/devpts_fs_XXXXXX/ptmx"; in verify_non_standard_devpts_mount() local 220 ret = snprintf(ptmx, sizeof(ptmx), "%s/ptmx", devpts); in verify_non_standard_devpts_mount() 221 if (ret < 0 || (size_t)ret >= sizeof(ptmx)) { in verify_non_standard_devpts_mount() 226 ret = do_tiocgptpeer(ptmx, mntpoint); in verify_non_standard_devpts_mount() 256 char ptmx[] = P_tmpdir "/devpts_ptmx_XXXXXX"; in verify_invalid_ptmx_bind_mount() local 258 mntpoint_fd = mkstemp(ptmx); in verify_invalid_ptmx_bind_mount() 265 ret = mount("/dev/pts/ptmx", ptmx, NULL, MS_BIND, NULL); in verify_invalid_ptmx_bind_mount() [all …]
|
/external/bcc/tools/ |
D | filetop_example.txt | 103 12421 sshd 14101 0 225616 0 O ptmx 104 12296 sshd 4 0 64 0 O ptmx 112 12421 sshd 9159 0 146544 0 O ptmx 121 12421 sshd 26166 0 418656 0 O ptmx 123 12296 sshd 1 0 16 0 O ptmx
|
/external/python/cpython2/ |
D | pyconfig.h.in | 200 /* Define to 1 if you have the /dev/ptmx device file. */
|
D | configure.ac | 4700 AC_MSG_CHECKING([for /dev/ptmx]) 4711 AC_CHECK_FILE(/dev/ptmx, [], []) 4714 [Define to 1 if you have the /dev/ptmx device file.])
|
/external/openssh/ |
D | configure.ac | 4792 AC_MSG_WARN([cross compiling: Disabling /dev/ptmx test]) 4797 AC_CHECK_FILE(["/dev/ptmx"], 4800 [Define if you have /dev/ptmx])
|
/external/python/cpython3/ |
D | pyconfig.h.in | 256 /* Define to 1 if you have the /dev/ptmx device file. */
|
D | configure.ac | 5305 AC_MSG_CHECKING([for /dev/ptmx]) 5316 AC_CHECK_FILE(/dev/ptmx, [], []) 5319 [Define to 1 if you have the /dev/ptmx device file.])
|
/external/python/cpython2/Misc/ |
D | HISTORY | 5286 - posix.openpty now works on all systems that have /dev/ptmx.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 22670 - posix.openpty now works on all systems that have /dev/ptmx.
|