Re: [PATCH] policycoreutils/setfiles: introduce -j for skip_multilink
Stephen Smalley <[email protected]>
| Newsgroups | org.kernel.vger.selinux |
|---|---|
| Message-ID | <CAEjxPJ5YCquEY93a79JpeBXEkdunJO1syoo6QdaCwNO60Uuk9Q@mail.gmail.com> |
On Thu, Jul 9, 2026 at 4:08 PM Stephen Smalley <[email protected]> wrote: > > Introduce a new -j option to setfiles and restorecon to enable the > recently introduced SELINUX_RESTORECON_SKIP_MULTILINK flag to > selinux_restorecon(3) to detect files with multiple hard links and > skip them when relabeling to avoid unintended mislabeling of such > files. This option is recommended when relabeling user-writable > directory trees. > > Signed-off-by: Stephen Smalley <[email protected]> Merged.