Re: [RFC PATCH V3] libselinux: Add selabel_digest function

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

 



On 10/12/2015 08:26 AM, Richard Haines wrote:





On Friday, 9 October 2015, 20:46, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
On 09/30/2015 11:29 AM, Richard Haines wrote:
  selabel_digest(3) if enabled by the SELABEL_OPT_DIGEST option during
  selabel_open(3) will return an SHA1 digest of the spec files, plus
  a list of the specfiles used to calculate the digest. There is a
  test utility supplied that will demonstrate the functionality.

  The use case for selabel_digest(3) is to implement an selinux_restorecon
  function based on the Android version that writes a hash of the
  file_contexts files to an extended attribute to enhance performance
  (see external/libselinux/src/android.c selinux_android_restorecon()).

  Signed-off-by: Richard Haines <richard_c_haines@xxxxxxxxxxxxxx>

Seems sane to me.  Is there a reason it is still an RFC?



No - Would you like it submitted without the RFC

No need, applied.


_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.



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

  Powered by Linux