* [refpolicy] [PATCH 0/3] Re-work of patch related to files created in /run/user/$(UID)/
@ 2017-12-08 13:01 David Sugar
0 siblings, 0 replies; only message in thread
From: David Sugar @ 2017-12-08 13:01 UTC (permalink / raw)
To: refpolicy
This is a re-work of the patches previously submitted based on feedback from Dominick. Changes in userdomain to create an attribute (user_runtime_content_type) for files in /run/user/%(UID)/. Then changes in systemd_logind to use interfaces to delete various types with this attribute.
I think this is basically what Dominick was suggesting, but please comment if I have gotten something wrong or misinterpreted the suggestion.
While I have tested the changes I made I don't know what side effects this may have had on other domains that create directories and files in /run/user/%(UID)/*.
policy/modules/services/xserver.te | 9 +++
policy/modules/system/systemd.te | 4 ++
policy/modules/system/userdomain.if | 126 ++++++++++++++++++++++++++++++++++--
policy/modules/system/userdomain.te | 4 ++
4 files changed, 138 insertions(+), 5 deletions(-)
--
2.13.6
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-08 13:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-08 13:01 [refpolicy] [PATCH 0/3] Re-work of patch related to files created in /run/user/$(UID)/ David Sugar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).