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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.