selinux/policycoreutils
Laszlo Ersek b98626f15f setfiles: remove useless "iamrestorecon" checks in option parsing
Commit 219eea83ce ("policycoreutils: setfiles/restorecon: fix -r/-R
option", 2015-04-16) split the option strings between "setfiles" and
"restorecon". Since that commit, an "iamrestorecon" check has only been
necessary for an option that is (a) accepted by both "setfiles" and
"restorecon", but (b) behaves differently between "setfiles" and
"restorecon". Currently, the only such options are "-r" and "-R". Remove
the "iamrestorecon" checks from the "setfiles"-only "-c" and "-d" options,
and from the "restorecon"-only "-x" option.

Cc: "Richard W.M. Jones" <rjones@redhat.com>
Cc: Petr Lautrbach <plautrba@redhat.com>
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1794518
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-By: Daniel Burgener <dburgener@linux.microsoft.com>
2022-05-04 10:31:42 +02:00
..
.tx
hll Fix many misspellings 2019-09-18 22:47:35 +02:00
load_policy selinux: Remove legacy local boolean and user code 2019-07-29 23:46:24 +02:00
man Modified Russian and English man pages to fix typo; REQUIREUSERS -> REQUIRESEUSERS 2021-11-29 18:51:19 +01:00
newrole Correct misc typos 2022-04-12 13:09:52 -04:00
po Update translations from translate.fedoraproject.org 2022-04-06 10:53:37 +02:00
run_init Correct misc typos 2022-04-12 13:09:52 -04:00
scripts policycoreutils: drop usage of egrep in fixfiles 2022-04-12 13:09:30 -04:00
secon policycoreutils: handle argument counter of zero 2022-02-07 11:14:26 -05:00
semodule semodule: add command-line option to detect module changes 2022-02-18 11:08:41 -05:00
sestatus policycoreutils: mark local functions static 2021-11-15 16:00:54 -05:00
setfiles setfiles: remove useless "iamrestorecon" checks in option parsing 2022-05-04 10:31:42 +02:00
setsebool setsebool: report errors from commit phase 2020-04-28 09:26:26 +02:00
.gitignore Move policycoreutils/semodule_package to semodule-utils. 2016-11-16 11:19:51 -05:00
COPYING
Makefile Move policycoreutils/semodule_package to semodule-utils. 2016-11-16 11:19:51 -05:00
VERSION Update VERSIONs to 3.4-rc2 for release. 2022-04-20 21:48:57 +02:00