Home
last modified time | relevance | path

Searched refs:ptmx (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/tools/testing/selftests/filesystems/
Ddevpts_pts.c100 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-6.1.9/Documentation/filesystems/
Ddevpts.rst11 All mounts of the devpts filesystem now create a ``/dev/pts/ptmx`` node
14 To retain backwards compatibility the a ptmx device node (aka any node
16 of devpts under the name ``pts`` in the same directory as the ptmx device
19 As an option instead of placing a ``/dev/ptmx`` device node at ``/dev/ptmx``
20 it is possible to place a symlink to ``/dev/pts/ptmx`` at ``/dev/ptmx`` or
21 to bind mount ``/dev/ptx/ptmx`` to ``/dev/ptmx``. If you opt for using
23 the ``ptmxmode=0666``, or ``chmod 0666 /dev/pts/ptmx`` should be called.
Dproc.rst1433 /dev/ptmx /dev/ptmx 5 2 system
/linux-6.1.9/Documentation/admin-guide/
Ddevices.rst263 device, ``/dev/ptmx``, to all the masters (opening it will automatically
Ddevices.txt46 master multiplex (/dev/ptmx) to acquire a PTY on
156 2 = /dev/ptmx PTY master multiplex
1992 /dev/ptmx cloning interface.
/linux-6.1.9/drivers/tty/
DKconfig114 pseudo terminal, a process opens /dev/ptmx; the number of the pseudo