Skip to contentSkip to conversation

selinux_restorecon(3), setfiles(8): skip relabeling errors

PATCH Petr Lautrbach 1 participant 1 message May 4, 2022 1 message not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 14 lines · Petr Lautrbach
Quoted 12 lines · Laszlo Ersek
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1794518
v1:       https://lore.kernel.org/selinux/[email protected]/

In version 2, I've picked up Daniel Burgener's R-b for patch#3, and moved the new symbol "selinux_restorecon_get_skipped_errors" to section LIBSELINUX_3.4 of "libselinux.map" in patch#4, according to Petr's feedback.

Please CC me on all replies to the series; I'm not subscribed to the SELinux mailing list. ("CONTRIBUTING.md" does not say that subscribing is a requirement.)

Quoted 9 lines
Quoted 3 lines
Cc "Richard W.M. Jones" <[email protected]>
Cc Petr Lautrbach <[email protected]>

For all 5

And merged. Thanks!

Quoted 28 lines
Quoted 28 lines

Thanks,
Laszlo

Laszlo Ersek (5):
setfiles: fix up inconsistent indentation
setfiles: remove useless assignment and comment (after RHBZ#1926386)
setfiles: remove useless "iamrestorecon" checks in option parsing
selinux_restorecon: introduce SELINUX_RESTORECON_COUNT_ERRORS
setfiles: introduce the -C option for distinguishing file tree walk
errors

 libselinux/include/selinux/restorecon.h                     | 15 ++++++++
 libselinux/man/man3/selinux_restorecon.3                    | 22 +++++++++++-
 libselinux/man/man3/selinux_restorecon_get_skipped_errors.3 | 28 +++++++++++++++
 libselinux/src/libselinux.map                               |  1 +
 libselinux/src/selinux_restorecon.c                         | 34 +++++++++++++++---
 policycoreutils/setfiles/restore.c                          |  8 +++--
 policycoreutils/setfiles/restore.h                          |  4 ++-
 policycoreutils/setfiles/setfiles.8                         | 22 ++++++++++++
 policycoreutils/setfiles/setfiles.c                         | 36 +++++++++-----------
 9 files changed, 141 insertions(+), 29 deletions(-)
 create mode 100644 libselinux/man/man3/selinux_restorecon_get_skipped_errors.3

base-commit: 2a167d1156578fc29541f6fb60af65452f431aae

Signature · 1 line
2.19.1.3.g30247aa5d201