Kyle Evans
57b08d98db
libutil: defer setting the MAC label until after the login class
...
MAC policies, like mac_biba(4), may forbid changing the login class once
a label has been applied. For setting up the initial login context,
this isn't really expected and in-fact may break some class-based
configuration.
Defer setting the MAC label until after the login class is set, and
remove the requirement that we have a pwd entry since the label is
pulled from the login class -- we only use pwd for syslog in this path.
Patch is largely by Kevin Barry, with some modifications and this commit
message by kevans@.
PR: 177698
Reviewed by: des, olce
Co-authored-by: Kevin Barry <ta0kira gmail com>
(cherry picked from commit 98edcbcce0 )
2026-01-19 22:05:44 -06:00
..
2023-08-17 13:48:42 +00:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:10 -06:00
2023-06-01 23:16:01 +02:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2023-08-17 15:08:30 +02:00
2023-08-17 15:08:30 +02:00
2023-08-16 11:55:15 -06:00
2023-08-16 11:54:42 -06:00
2024-10-20 03:33:44 +03:00
2024-06-28 12:17:52 +02:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:54:42 -06:00
2025-12-15 16:58:44 +00:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:15 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2023-08-17 15:08:30 +02:00
2023-08-17 15:08:30 +02:00
2023-08-16 11:54:16 -06:00
2025-08-14 14:00:09 +00:00
2023-08-16 11:54:42 -06:00
2025-08-14 14:00:09 +00:00
2024-02-01 22:28:40 +01:00
2024-02-01 22:30:20 +01:00
2024-10-05 10:08:54 +03:00
2026-01-19 22:05:44 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2025-08-14 14:00:09 +00:00
2025-08-14 14:00:09 +00:00
2023-08-16 11:55:03 -06:00
2025-08-14 14:00:08 +00:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:10 -06:00
2023-08-17 13:48:42 +00:00
2025-08-14 14:00:09 +00:00
2023-08-16 11:54:42 -06:00
2023-08-17 15:08:30 +02:00
2023-08-17 15:08:30 +02:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:54:42 -06:00
2023-08-16 11:55:10 -06:00
2023-08-16 11:54:42 -06:00
2025-08-14 14:00:09 +00:00
2023-08-16 11:54:42 -06:00