Skip to content

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

Laszlo Ersek selinux 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 2 repliesIn review
  2. v15 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5setfiles: fix up inconsistent indentationpolicycoreutils/setfiles/setfiles.c+5 -50 replies
2/5setfiles: remove useless assignment and comment (after RHBZ#1926386)policycoreutils/setfiles/setfiles.c+0 -20 replies
3/5setfiles: remove useless "iamrestorecon" checks in option parsingpolicycoreutils/setfiles/setfiles.c+1 -100 replies
4/5selinux_restorecon: introduce SELINUX_RESTORECON_COUNT_ERRORSlibselinux/include/selinux/restorecon.h libselinux/man/man3/selinux_restorecon.3 libselinux/man/man3/selinux_restorecon_get_skipped_errors.3 +2 more+94 -60 replies
5/5setfiles: introduce the -C option for distinguishing file tree walk errorspolicycoreutils/setfiles/restore.c policycoreutils/setfiles/restore.h policycoreutils/setfiles/setfiles.8 +1 more+44 -90 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel BurgenerPetr Lautrbach
SeriesA-b
1/5
2/5
3/5R-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] selinux_restorecon(3), setfiles(8): skip relabeling errors
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.)

Cc "Richard W.M. Jones" <[email protected]>
Cc Petr Lautrbach <[email protected]>

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