Support /run/* creation for initrc_t
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 0 repliesNew
- v33 patches 0 repliesSuperseded
Changes in v4 from the cover letter
----------------
- 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 for initrc_t.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Introduce init_daemon_run_dir transformationpolicy/ policy/ | +33 | 0 replies | |
| 2/4 | Use the init_daemon_run_dir interface for udevpolicy/ policy/ | +1 | 0 replies | |
| 3/4 | Allow initrc_t to create run dirs for core modulespolicy/ | +1 | 0 replies | |
| 4/4 | Allow initrc_t to create run dirs for contrib modulesasterisk.te consolekit.te dbus.te +3 more | +6 | 1 reply | |
| 4/4 | Allow initrc_t to create run dirs for contrib modules | +0 | 0 replies |
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
Due to the introduction of /run, many init scripts need to create the daemon run dirs (such as /run/udev for the udev init script). To simplify this, we introduce the "daemonrundir" attribute to which initrc_t has the necessary create_dirs_perms granted.
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 for initrc_t.