Commit 92e54bf
committed
Allow systemd-machined read svirt process state
As a result of systemd commit 119d332d9c2c [1] ("machine: do not allow
unprivileged users to register other users' processes as machines"),
additional checks for unprivileged users are now performed in machined.
[1] systemd/systemd@119d332
The commit addresses the following AVC denials:
type=AVC msg=audit(1761761320.303:568): avc: denied { search } for pid=1490 comm="systemd-machine" name="19272" dev="proc" ino=31558 scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:system_r:svirt_t:s0:c825,c980 tclass=dir permissive=0
type=AVC msg=audit(1761787546.949:757): avc: denied { open } for pid=1075 comm="systemd-machine" path="/proc/32908/stat" dev="proc" ino=169265 scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:system_r:svirt_t:s0:c274,c314 tclass=file permissive=0
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=24072061 parent 6b9f0bb commit 92e54bf
2 files changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2237 | 2237 | | |
2238 | 2238 | | |
2239 | 2239 | | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
2240 | 2259 | | |
2241 | 2260 | | |
2242 | 2261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
634 | 635 | | |
635 | 636 | | |
636 | 637 | | |
| |||
0 commit comments