about summary refs log tree commit diff
path: root/arch/generic
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2017-09-11 22:38:05 +0000
committerRich Felker <dalias@aerifal.cx>2017-11-05 18:41:22 -0500
commit754f66afb76f59bb4c43f303fb9406a3841a448f (patch)
tree08f489821e6779761f345f74e0c8e2afd962d031 /arch/generic
parentc35a8bf456ca6ef74e3cc7c4d8f63572bc1e1167 (diff)
downloadmusl-754f66afb76f59bb4c43f303fb9406a3841a448f.tar.gz
musl-754f66afb76f59bb4c43f303fb9406a3841a448f.tar.xz
musl-754f66afb76f59bb4c43f303fb9406a3841a448f.zip
ioctl TIOCGPTPEER from linux v4.13
added for safe opening of peer end of pty in a mount namespace.
new in linux commit c6325179238f1d4683edbec53d8322575d76d7e2
Diffstat (limited to 'arch/generic')
-rw-r--r--arch/generic/bits/ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/generic/bits/ioctl.h b/arch/generic/bits/ioctl.h
index 44deb11a..42a8f1a2 100644
--- a/arch/generic/bits/ioctl.h
+++ b/arch/generic/bits/ioctl.h
@@ -63,6 +63,7 @@
 #define TIOCGPKT	0x80045438
 #define TIOCGPTLCK	0x80045439
 #define TIOCGEXCL	0x80045440
+#define TIOCGPTPEER	0x5441
 
 #define FIONCLEX	0x5450
 #define FIOCLEX		0x5451