Home
last modified time | relevance | path

Searched refs:UID_NOBODY (Results 1 – 18 of 18) sorted by relevance

/systemd-251/src/test/
Dtest-namespace.c215 assert_se(setresuid(UID_NOBODY, UID_NOBODY, UID_NOBODY) >= 0); in TEST()
Dtest-user-util.c29 test_uid_to_name_one(UID_NOBODY, NOBODY_USER_NAME); in TEST()
352 … test_get_user_creds_one(NOBODY_USER_NAME, NOBODY_USER_NAME, UID_NOBODY, GID_NOBODY, "/", NOLOGIN); in TEST()
353 test_get_user_creds_one("65534", NOBODY_USER_NAME, UID_NOBODY, GID_NOBODY, "/", NOLOGIN); in TEST()
Dtest-process-util.c776 assert_se(setresuid(UID_NOBODY, UID_NOBODY, UID_NOBODY) >= 0); in TEST()
Dtest-execute.c142 p->pw_uid != UID_NOBODY || in check_nobody_user_and_group()
146 p = getpwuid(UID_NOBODY); in check_nobody_user_and_group()
149 p->pw_uid != UID_NOBODY || in check_nobody_user_and_group()
Dtest-fs-util.c168 assert_se(chown(p, UID_NOBODY, GID_NOBODY) >= 0); in TEST()
274 assert_se(chown(q, UID_NOBODY, GID_NOBODY) >= 0); in TEST()
277 assert_se(chown(p, UID_NOBODY, GID_NOBODY) >= 0); in TEST()
/systemd-251/src/basic/
Duser-util.c189 *uid = UID_NOBODY; in synthesize_user_creds()
377 uid == UID_NOBODY) in uid_to_name()
589 u == UID_NOBODY) { in get_home_dir()
646 u == UID_NOBODY) { in get_shell()
Duser-util.h67 #define UID_NOBODY ((uid_t) 65534U) macro
/systemd-251/src/home/
Dhomework-mount.c193 assert_cc(HOME_UID_MAX < UID_NOBODY); in make_userns()
208 r = append_identity_range(&text, HOME_UID_MAX, UID_NOBODY, stored_uid); in make_userns()
Dhomework-directory.c198 …r = home_shift_uid(setup->root_fd, HOME_RUNTIME_WORK_DIR, is_subvolume ? UID_NOBODY : h->uid, h->u… in home_create_directory_or_subvolume()
Dhomectl.c2781 if (uid == UID_NOBODY) in parse_argv()
Dhomework-luks.c2363 (void) home_shift_uid(setup->root_fd, NULL, UID_NOBODY, h->uid, &mount_fd); in home_create_luks()
/systemd-251/src/shared/
Duserdb.c224 if (hr->uid == UID_NOBODY) in userdb_on_query_reply()
613 JSON_BUILD_PAIR("uid", JSON_BUILD_UNSIGNED(UID_NOBODY)), in synthetic_nobody_user_build()
717 if (uid == UID_NOBODY && synthesize_nobody()) in userdb_by_uid()
786 if (pw->pw_uid == UID_NOBODY) in userdb_iterator_get()
Duser-record.c1890 if (h->uid == 0 || h->uid == UID_NOBODY) in user_record_disposition()
/systemd-251/src/nspawn/
Dnspawn-bind-user.c246 if (u->uid == UID_NOBODY || STR_IN_SET(u->user_name, NOBODY_USER_NAME, "nobody")) in bind_user_prepare()
/systemd-251/src/machine/
Dmachine.c694 if (uid_range < UID_NOBODY) in machine_get_uid_shift()
/systemd-251/src/nss-systemd/
Dnss-systemd.c47 .pw_uid = UID_NOBODY,
/systemd-251/src/coredump/
Dcoredump.c195 if (uid_is_system(uid) || uid_is_dynamic(uid) || uid == UID_NOBODY) in fix_acl()
/systemd-251/src/journal/
Djournald-server.c241 return uid_is_system(uid) || uid_is_dynamic(uid) || uid == UID_NOBODY; in uid_for_system_journal()