aboutsummaryrefslogtreecommitdiffstats
path: root/bash-completion
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas@t-8ch.de>2023-06-26 20:25:18 +0200
committerThomas Weißschuh <thomas@t-8ch.de>2023-07-23 21:15:41 +0200
commit65bf3c73f1b813135c47c778dd5e396d62151c35 (patch)
tree374446a9ea093f1df4ac4be3ac111c32fa4cf274 /bash-completion
parent358e3e43866913e2cb6e530f4d2530c9f4426549 (diff)
downloadutil-linux-65bf3c73f1b813135c47c778dd5e396d62151c35.tar.gz
enosys: add support for ioctl blocking
Ioctls are blocked with ENOTTY. Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Diffstat (limited to 'bash-completion')
-rw-r--r--bash-completion/enosys8
1 files changed, 8 insertions, 0 deletions
diff --git a/bash-completion/enosys b/bash-completion/enosys
index 61aff46c84..7ce7609a75 100644
--- a/bash-completion/enosys
+++ b/bash-completion/enosys
@@ -8,9 +8,15 @@ _waitpid_module()
'-s'|'--syscall')
return 0
;;
+ '-i'|'--ioctl')
+ return 0
+ ;;
'-l'|'--list')
return 0
;;
+ '-m'|'--list-ioctl')
+ return 0
+ ;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
@@ -18,7 +24,9 @@ _waitpid_module()
case $cur in
-*)
OPTS="--syscall
+ --ioctl
--list
+ --list-ioctl
--help
--version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )