[PATCH 0/2] selinux: Add features to find security.restorecon_last entries

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

 



This patch adds a new selinux_restorecon_xattr(3) function and a
supporting utility restorecon_xattr(8) to find and/or remove
security.restorecon_last entries added by setfiles(8) or
restorecon(8).

Richard Haines (2):
  libselinux: Add function to find security.restorecon_last entries
  policycoreutils: setfiles - Utility to find security.restorecon_last
    entries

 libselinux/include/selinux/restorecon.h            |  48 +++++
 libselinux/man/man3/selinux_restorecon.3           |   2 +
 .../man/man3/selinux_restorecon_default_handle.3   |   6 +-
 .../man/man3/selinux_restorecon_set_alt_rootpath.3 |   4 +-
 .../man/man3/selinux_restorecon_set_exclude_list.3 |   4 +-
 .../man/man3/selinux_restorecon_set_sehandle.3     |   9 +-
 libselinux/man/man3/selinux_restorecon_xattr.3     | 170 ++++++++++++++++
 libselinux/src/selinux_restorecon.c                | 207 +++++++++++++++++++
 policycoreutils/setfiles/Makefile                  |  10 +-
 policycoreutils/setfiles/restore.h                 |   1 +
 policycoreutils/setfiles/restorecon_xattr.8        | 119 +++++++++++
 policycoreutils/setfiles/restorecon_xattr.c        | 221 +++++++++++++++++++++
 12 files changed, 789 insertions(+), 12 deletions(-)
 create mode 100644 libselinux/man/man3/selinux_restorecon_xattr.3
 create mode 100644 policycoreutils/setfiles/restorecon_xattr.8
 create mode 100644 policycoreutils/setfiles/restorecon_xattr.c

-- 
2.7.4

_______________________________________________
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