From 754f66afb76f59bb4c43f303fb9406a3841a448f Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Mon, 11 Sep 2017 22:38:05 +0000 Subject: ioctl TIOCGPTPEER from linux v4.13 added for safe opening of peer end of pty in a mount namespace. new in linux commit c6325179238f1d4683edbec53d8322575d76d7e2 --- arch/sh/bits/ioctl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/sh/bits') 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) -- cgit v1.2.1