/systemd-251/src/test/ |
D | test-user-util.c | 55 TEST(parse_uid) { in TEST() argument 59 r = parse_uid("0", &uid); in TEST() 63 r = parse_uid("1", &uid); in TEST() 67 r = parse_uid("01", &uid); in TEST() 71 r = parse_uid("001", &uid); in TEST() 75 r = parse_uid("100", &uid); in TEST() 79 r = parse_uid("65535", &uid); in TEST() 83 r = parse_uid("0x1234", &uid); in TEST() 87 r = parse_uid("0o1234", &uid); in TEST() 91 r = parse_uid("0b1234", &uid); in TEST() [all …]
|
/systemd-251/src/shared/ |
D | uid-range.c | 126 r = parse_uid(b, &start); in uid_range_add_str() 130 r = parse_uid(t+1, &end); in uid_range_add_str() 139 r = parse_uid(s, &start); in uid_range_add_str()
|
D | uid-alloc-range.c | 22 r = parse_uid(t, &uid); in parse_alloc_uid()
|
/systemd-251/src/basic/ |
D | user-util.c | 45 int parse_uid(const char *s, uid_t *ret) { in parse_uid() function 91 r = parse_uid(word, &l); in parse_uid_range() 103 r = parse_uid(s, &u); in parse_uid_range() 238 if (parse_uid(*username, &u) >= 0) { in get_user_creds() 739 …if (parse_uid(u, NULL) >= 0) /* Something that parses as numeric UID string is valid exactly when … in valid_user_group_name()
|
D | user-util.h | 29 int parse_uid(const char *s, uid_t* ret_uid); 33 return parse_uid(s, (uid_t*) ret_gid); in parse_gid()
|
D | audit-util.c | 61 r = parse_uid(s, &u); in audit_loginuid_from_pid()
|
D | cgroup-util.c | 1268 if (parse_uid(buf, NULL) < 0) in skip_user_manager() 1432 if (parse_uid(start, uid) < 0) in cg_path_get_owner_uid()
|
/systemd-251/src/nspawn/ |
D | test-patch-uid.c | 22 r = parse_uid(argv[2], &shift); in main()
|
D | nspawn-setuid.c | 172 r = parse_uid(u, &uid); in change_uid_gid()
|
D | nspawn-settings.c | 647 r = parse_uid(shift, &sh); in config_parse_private_users()
|
/systemd-251/src/libsystemd/sd-login/ |
D | sd-login.c | 519 return parse_uid(s, uid); in sd_session_get_uid() 638 r = parse_uid(t, uid); in sd_seat_get_active() 696 r = parse_uid(word, &uids[n++]); in sd_seat_get_sessions() 796 k = parse_uid(de->d_name, &uid); in sd_get_uids()
|
/systemd-251/src/notify/ |
D | notify.c | 158 r = parse_uid(u, &arg_uid); in parse_argv()
|
/systemd-251/src/login/ |
D | user-runtime-dir.c | 173 if (parse_uid(user, &uid) < 0) { in do_umount()
|
D | logind-user-dbus.c | 292 r = parse_uid(p, &uid); in user_object_find()
|
D | logind-inhibit.c | 240 r = parse_uid(uid, &i->uid); in inhibitor_load()
|
/systemd-251/src/coredump/ |
D | coredump-vacuum.c | 66 return parse_uid(u, uid); in uid_from_file_name()
|
D | coredumpctl.c | 506 (void) parse_uid(uid, &uid_as_int); in print_list() 612 if (parse_uid(uid, &n) >= 0) { in print_info() 682 if (parse_uid(owner_uid, &n) >= 0) { in print_info()
|
D | coredump.c | 360 r = parse_uid(context->meta[META_ARGV_UID], &uid); in save_external_coredump() 745 r = parse_uid(context->meta[META_ARGV_UID], &uid); in change_uid_gid()
|
/systemd-251/src/libsystemd/sd-id128/ |
D | sd-id128.c | 222 r = parse_uid(u + 1, &uid); in get_invocation_from_keyring()
|
/systemd-251/src/machine/ |
D | machined-varlink.c | 110 if (parse_uid(d + 1, &uid) < 0) in user_lookup_name()
|
/systemd-251/src/core/ |
D | manager-serialize.c | 263 r = parse_uid(value, &uid); in manager_deserialize_uid_refs_one_internal()
|
D | dynamic-user.c | 424 r = parse_uid(d->name, &num); in dynamic_user_realize()
|
D | unit-serialize.c | 441 r = parse_uid(v, &uid); in unit_deserialize()
|
/systemd-251/src/home/ |
D | homed-home-bus.c | 740 if (parse_uid(e, &uid) >= 0) in bus_home_object_find()
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-private.c | 157 r = parse_uid(uid, &u); in device_set_devuid()
|