mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
execute: add one more assert()
This commit is contained in:
@@ -2412,6 +2412,8 @@ static int setup_private_users(uid_t ouid, gid_t ogid, uid_t uid, gid_t gid) {
|
||||
}
|
||||
|
||||
static bool exec_directory_is_private(const ExecContext *context, ExecDirectoryType type) {
|
||||
assert(context);
|
||||
|
||||
if (!context->dynamic_user)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user