Searched refs:arg_uid (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/notify/ |
D | notify.c | 29 static uid_t arg_uid = UID_INVALID; variable 156 r = get_user_creds(&u, &arg_uid, &arg_gid, NULL, NULL, 0); in parse_argv() 158 r = parse_uid(u, &arg_uid); in parse_argv() 254 if (arg_uid != UID_INVALID && in run() 255 setreuid(arg_uid, UID_INVALID) < 0) in run()
|
/systemd-251/src/mount/ |
D | mount-tool.c | 69 static uid_t arg_uid = UID_INVALID; variable 261 r = get_user_creds(&user, &arg_uid, &arg_gid, NULL, NULL, 0); in parse_argv() 486 if (arg_uid != UID_INVALID) { in transient_mount_set_properties() 489 arg_uid, arg_gid, in transient_mount_set_properties() 1518 arg_uid != UID_INVALID && in run()
|
/systemd-251/src/machine/ |
D | machinectl.c | 83 static const char *arg_uid = NULL; variable 1279 if (arg_uid && !_uid) { in parse_machine_uid() 1280 _uid = strdup(arg_uid); in parse_machine_uid() 1302 if (!strv_isempty(arg_setenv) || arg_uid) in login_machine() 2764 arg_uid = optarg; in parse_argv()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 131 static uid_t arg_uid = UID_INVALID; variable 3435 if (uid_is_valid(arg_uid) || gid_is_valid(arg_gid)) in inner_child() 3436 …r = change_uid_gid_raw(arg_uid, arg_gid, arg_supplementary_gids, arg_n_supplementary_gids, arg_con… in inner_child() 3457 if (home || !uid_is_valid(arg_uid) || arg_uid == 0) in inner_child() 3461 if (arg_user || !uid_is_valid(arg_uid) || arg_uid == 0) in inner_child() 4339 arg_uid = settings->uid; in merge_settings()
|