summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_killall2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 04bf9c026..c68c8e05c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2019-12-01  Oliver Kiddle  <okiddle@yahoo.co.uk>
 
+	* unposted: Completion/Unix/Command/_killall: another place
+	to complete selinux contexts that was missed in 44781
+
 	* 44968: Completion/Unix/Command/_objdump,
 	Completion/Unix/Command/_readelf: cleanup and update objdump
 	and readelf completions
diff --git a/Completion/Unix/Command/_killall b/Completion/Unix/Command/_killall
index 6fdb0f277..36accb2e0 100644
--- a/Completion/Unix/Command/_killall
+++ b/Completion/Unix/Command/_killall
@@ -32,7 +32,7 @@ if _pick_variant psmisc=PSmisc unix --version; then
     "*: :_process_names $opts"
   )
   [[ $CURRENT = 2 || ( $CURRENT = 3 && $words[2] = (-Z|--context) ) ]] && \
-    args+=( '(-Z --context)'{-Z+,--context=}'[specify SELinux security context]:regex pattern: ' )
+    args+=( '(-Z --context)'{-Z+,--context=}'[specify SELinux security context]:regex pattern:_selinux_contexts' )
 
   _arguments -s -S -C : $args && ret=0