summaryrefslogtreecommitdiff
path: root/arch/sh/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/sh/bits
parentc35a8bf456ca6ef74e3cc7c4d8f63572bc1e1167 (diff)
downloadmusl-754f66afb76f59bb4c43f303fb9406a3841a448f.tar.gz
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/sh/bits')
-rw-r--r--arch/sh/bits/ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/bits/ioctl.h b/arch/sh/bits/ioctl.h
index 15256c51..3c7ab4bb 100644
--- a/arch/sh/bits/ioctl.h
+++ b/arch/sh/bits/ioctl.h
@@ -95,6 +95,7 @@
#define TIOCGPKT _IOR('T', 56, int)
#define TIOCGPTLCK _IOR('T', 57, int)
#define TIOCGEXCL _IOR('T', 64, int)
+#define TIOCGPTPEER _IO('T', 0x41)
#define TIOCSERCONFIG _IO('T', 83)
#define TIOCSERGWILD _IOR('T', 84, int)