Searched refs:ptmx (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/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 …]
|
/Linux-v5.4/Documentation/filesystems/ |
D | devpts.txt | 5 All mounts of the devpts filesystem now create a /dev/pts/ptmx node 8 To retain backwards compatibility the a ptmx device node (aka any node 10 of devpts under the name "pts" in the same directory as the ptmx device 13 As an option instead of placing a /dev/ptmx device node at /dev/ptmx 14 it is possible to place a symlink to /dev/pts/ptmx at /dev/ptmx or 15 to bind mount /dev/ptx/ptmx to /dev/ptmx. If you opt for using 17 the ptmxmode=0666, or chmod 0666 /dev/pts/ptmx should be called.
|
D | proc.txt | 1339 /dev/ptmx /dev/ptmx 5 2 system
|
/Linux-v5.4/Documentation/admin-guide/ |
D | devices.rst | 264 device, ``/dev/ptmx``, to all the masters (opening it will automatically
|
D | devices.txt | 46 master multiplex (/dev/ptmx) to acquire a PTY on 156 2 = /dev/ptmx PTY master multiplex 2001 /dev/ptmx cloning interface.
|
/Linux-v5.4/drivers/tty/ |
D | Kconfig | 115 pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
|