From deb6bd966f6b26a0892e4b35069aafb1abe38dd2 Mon Sep 17 00:00:00 2001 From: Jeffy Chen Date: Thu, 17 Sep 2020 17:51:12 +0800 Subject: [PATCH 5/5] uapi: ioctls.h: Add TIOCGPTPEER from upstream No functional changes. Change-Id: Ie31d5e668347c2ee1125c5741d30bbda6ef1ed4c Signed-off-by: Jeffy Chen --- include/uapi/asm-generic/ioctls.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/asm-generic/ioctls.h b/include/uapi/asm-generic/ioctls.h index 143dacbb7d9a..14baf9f23a14 100644 --- a/include/uapi/asm-generic/ioctls.h +++ b/include/uapi/asm-generic/ioctls.h @@ -77,6 +77,7 @@ #define TIOCGPKT _IOR('T', 0x38, int) /* Get packet mode state */ #define TIOCGPTLCK _IOR('T', 0x39, int) /* Get Pty lock state */ #define TIOCGEXCL _IOR('T', 0x40, int) /* Get exclusive mode state */ +#define TIOCGPTPEER _IO('T', 0x41) /* Safely open the slave */ #define FIONCLEX 0x5450 #define FIOCLEX 0x5451 -- 2.20.1