Re: [PATCH] Add restorecon -x to not cross FS boundaries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, Stephen, I will give that a shot. Don't use an email client
generally, good to have the instructions.

P

Peter Whittaker
EdgeKeep Inc.
www.edgekeep.com
+1 613 864 5337
+1 613 864 KEEP


Peter Whittaker
EdgeKeep Inc.
www.edgekeep.com
+1 613 864 5337
+1 613 864 KEEP



On Mon, May 18, 2020 at 11:20 AM Stephen Smalley
<stephen.smalley.work@xxxxxxxxx> wrote:
>
> On Fri, May 15, 2020 at 4:09 PM Peter Whittaker <pww@xxxxxxxxxxxx> wrote:
> >
> > Folks, the following patch adds a -x option to restorecon to prevent
> > it from crossing filesystem boundaries, as requested in
> > https://github.com/SELinuxProject/selinux/issues/208.
> >
> > As per Stephen Smalley's suggestion, this is accomplished using
> > r_opts.xdev = SELINUX_RESTORECON_XDEV;
> >
> > Please do let me know if there are any errors in this, it's been over
> > two decades since I've lurked in majordomo lists and about as long
> > since I've contributed a patch via email. (In particular, I am having
> > issues with sending plaintext, so spaces in the patch are munged; any
> > pointers on correcting than in the gmail web client would be more than
> > welcome.)
>
> Send your patch via git send-email instead.  You can have it send via
> gmail's smtp server as per the documentation
> (https://git-scm.com/docs/git-send-email).  Alternatively use a mail
> client that is known to work,
> https://www.kernel.org/doc/html/latest/process/email-clients.html.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux