about summary refs log tree commit diff
path: root/arch/powerpc64/bits
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/powerpc64/bits
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/powerpc64/bits')
-rw-r--r--arch/powerpc64/bits/ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc64/bits/ioctl.h b/arch/powerpc64/bits/ioctl.h
index d3771dd3..47586234 100644
--- a/arch/powerpc64/bits/ioctl.h
+++ b/arch/powerpc64/bits/ioctl.h
@@ -104,6 +104,7 @@
 #define TIOCGPKT	_IOR('T', 0x38, int)
 #define TIOCGPTLCK	_IOR('T', 0x39, int)
 #define TIOCGEXCL	_IOR('T', 0x40, int)
+#define TIOCGPTPEER	_IO('T', 0x41)
 
 #define TIOCSERCONFIG	0x5453
 #define TIOCSERGWILD	0x5454