All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: eparis@redhat.com
Cc: selinux@tycho.nsa.gov
Subject: [PATCH 11/74] Patch to change *setfilecon to not return ENOSUP if
Date: Thu, 24 Oct 2013 09:51:54 -0400	[thread overview]
Message-ID: <526925FA.9000309@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This patch might be somewhat controversial, basically makes *setfilecon
commands not fail if the caller tries to set the file context on a file system
that does not support XATTRs, and the file context it is trying to set matches
the current file context.

setfilecon("/mnt/nfshare/dwalsh", "system_u:object_r:nfs_t:s0")

Would not fail for example.


   This patch looks good to me. acked.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJpJfoACgkQrlYvE4MpobO99QCcDi2w/WdXxj7E7xj9gq8am85x
4j8AoNQZm75o1mV5WtbzvE3Zamxw5I24
=Spvh
-----END PGP SIGNATURE-----

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0011-Patch-to-change-setfilecon-to-not-return-ENOSUP-if-c.patch --]
[-- Type: text/x-patch; name="0011-Patch-to-change-setfilecon-to-not-return-ENOSUP-if-c.patch", Size: 0 bytes --]



                 reply	other threads:[~2013-10-24 13:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=526925FA.9000309@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=eparis@redhat.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.