[PATCH 1/2] maint: Add support for *_IOCTL wrappers, such as ARMADA_IOCTL and UVIO_IOCTL

Gleb Fotengauer-Malinovskiy glebfm at altlinux.org
Tue Aug 29 06:25:00 UTC 2023


* maint/ioctls_sym.sh (r_io): Add ([A-Z]+)?_S?IOCTL.
---
 maint/ioctls_sym.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maint/ioctls_sym.sh b/maint/ioctls_sym.sh
index 601368c1e..ffb731027 100755
--- a/maint/ioctls_sym.sh
+++ b/maint/ioctls_sym.sh
@@ -15,7 +15,7 @@ export LC_ALL=C
 
 r_define='^[[:space:]]*#[[:space:]]*define[[:space:]]\+'
 r_cmd_name='[A-Z][A-Z0-9_]*'
-r_io='\([A-Z]\+\)\?_S\?\(IO\|IOW\|IOR\|IOWR\|IOC\)'
+r_io='\([A-Z]\+\)\?_S\?\(IO\|IOW\|IOR\|IOWR\|IOC\|IOCTL\)'
 r_value='[[:space:]]\+'"$r_io"'[[:space:]]*([^)]'
 regexp="${r_define}${r_cmd_name}${r_value}"
 
-- 
glebfm



More information about the Strace-devel mailing list