Support /run/* creation for initrc_t
Get series with b4
b4 am [email protected]Versions newest first
- v4 Latest0 of 4 patches 0 repliesNew
Patches in v4 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [refpolicy] [PATCH v4 0/4] Support /run/* creation for initrc_t
Quoted 5 lines · Sven Vermeulen
Due to the introduction of /run, many init scripts need to create the daemon run dirs (such as
/run/udevfor the udev init script). To simplify this, we introduce the "daemonrundir" attribute to whichinitrc_thas the necessarycreate_dirs_permsgranted.
Quoted 8 lines
Changes since v3
----------------- Add in setattr rights towards the daemonrundir types for
initrc_t
- Add in a couple of more identified domains that need this
- Remove deprecation of previous functions, they are not used anymore, but not deprecated. The referred alternative (init_daemon_run_dir) is only when the methods were called forinitrc_t.
This set merged. It think one minor additional tweak would have init_daemon_run_dir() to call files_pid_file() since the former is a subset of the latter.
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com