Searched refs:UID_INVALID (Results 1 - 25 of 41) sorted by relevance

12

/systemd/src/shared/
H A Dbase-filesystem.c104 if (uid != UID_INVALID || gid != UID_INVALID) {
122 if (uid != UID_INVALID || gid != UID_INVALID) {
H A Ddev-setup.c67 if (uid != UID_INVALID || gid != GID_INVALID)
H A Dswitch-root.c112 (void) base_filesystem_create(new_root, UID_INVALID, GID_INVALID);
H A Duid-range.c167 uid_t closest = UID_INVALID, candidate;
190 if (closest == UID_INVALID)
/systemd/src/basic/
H A Duser-util.h56 #define UID_INVALID ((uid_t) -1) macro
H A Dfs-util.c279 if (uid != UID_INVALID || gid != GID_INVALID)
297 if (uid != UID_INVALID || gid != GID_INVALID)
353 if (uid != UID_INVALID || gid != GID_INVALID) {
374 return touch_file(path, false, USEC_INFINITY, UID_INVALID, GID_INVALID, MODE_INVALID);
H A Dmkdir.c45 (uid != UID_INVALID && st.st_uid != uid) ||
/systemd/src/machine/
H A Dimage-dbus.c49 UID_INVALID,
90 UID_INVALID,
131 UID_INVALID,
167 UID_INVALID,
206 UID_INVALID,
H A Dmachine-dbus.c131 UID_INVALID,
177 UID_INVALID,
497 UID_INVALID,
589 UID_INVALID,
688 UID_INVALID,
901 UID_INVALID,
1164 UID_INVALID,
/systemd/src/test/
H A Dtest-conf-files.c42 assert_se(touch_file(path, true, USEC_INFINITY, UID_INVALID, GID_INVALID, MODE_INVALID) == 0);
H A Dtest-uid-range.c42 search = UID_INVALID;
H A Dtest-cgroup-util.c190 uid_t uid = UID_INVALID;
/systemd/src/login/
H A Dlogind-dbus.c88 if (uid == UID_INVALID) {
375 r = manager_get_user_from_creds(m, message, UID_INVALID, error, &user);
962 UID_INVALID,
1093 if (uid == UID_INVALID) {
1119 UID_INVALID,
1291 UID_INVALID,
1323 UID_INVALID,
1693 r = bus_verify_polkit_async(message, CAP_SYS_BOOT, action_multiple_sessions, NULL, interactive, UID_INVALID, &m->polkit_registry, error);
1701 r = bus_verify_polkit_async(message, CAP_SYS_BOOT, action_ignore_inhibit, NULL, interactive, UID_INVALID, &m->polkit_registry, error);
1709 r = bus_verify_polkit_async(message, CAP_SYS_BOOT, action, NULL, interactive, UID_INVALID,
[all...]
H A Dlogind-seat-dbus.c209 UID_INVALID,
/systemd/src/timedate/
H A Dtimedated.c366 UID_INVALID,
434 UID_INVALID,
550 UID_INVALID,
609 UID_INVALID,
/systemd/src/bus-proxyd/
H A Dproxy.c77 b->fake_creds.uid = UID_INVALID;
79 b->fake_creds.suid = UID_INVALID;
80 b->fake_creds.fsuid = UID_INVALID;
477 uid_t sender_uid = UID_INVALID;
491 if (sender_uid == UID_INVALID || sender_gid == GID_INVALID) {
524 uid_t destination_uid = UID_INVALID;
H A Dbus-xml-policy.c720 if (filter->uid != UID_INVALID)
796 if (filter->uid != UID_INVALID) {
805 if (filter->uid != UID_INVALID && sd_uid_get_seats(filter->uid, -1, NULL) > 0)
/systemd/src/import/
H A Dimportd.c731 UID_INVALID,
796 UID_INVALID,
862 UID_INVALID,
980 UID_INVALID,
1010 UID_INVALID,
/systemd/src/hostname/
H A Dhostnamed.c441 UID_INVALID,
494 UID_INVALID,
565 UID_INVALID,
/systemd/src/core/
H A Ddbus.c1245 return bus_verify_polkit_async(call, CAP_SYS_ADMIN, "org.freedesktop.systemd1.manage-units", NULL, false, UID_INVALID, &m->polkit_registry, error);
1249 return bus_verify_polkit_async(call, CAP_SYS_ADMIN, "org.freedesktop.systemd1.manage-unit-files", NULL, false, UID_INVALID, &m->polkit_registry, error);
1253 return bus_verify_polkit_async(call, CAP_SYS_ADMIN, "org.freedesktop.systemd1.reload-daemon", NULL, false, UID_INVALID, &m->polkit_registry, error);
1257 return bus_verify_polkit_async(call, CAP_SYS_ADMIN, "org.freedesktop.systemd1.set-environment", NULL, false, UID_INVALID, &m->polkit_registry, error);
H A Dmount-setup.c390 dev_setup(NULL, UID_INVALID, GID_INVALID);
H A Dtimer.c588 touch_file(t->stamp_path, true, t->last_trigger.realtime, UID_INVALID, GID_INVALID, MODE_INVALID);
628 touch_file(t->stamp_path, true, USEC_INFINITY, UID_INVALID, GID_INVALID, MODE_INVALID);
/systemd/src/libsystemd/sd-bus/
H A Dbus-control.c451 if (mask & SD_BUS_CREDS_UID && (uid_t) item->creds.uid != UID_INVALID) {
456 if (mask & SD_BUS_CREDS_EUID && (uid_t) item->creds.euid != UID_INVALID) {
461 if (mask & SD_BUS_CREDS_SUID && (uid_t) item->creds.suid != UID_INVALID) {
466 if (mask & SD_BUS_CREDS_FSUID && (uid_t) item->creds.fsuid != UID_INVALID) {
1003 if (bus->ucred.uid != UID_INVALID) {
H A Dbus-kernel.c638 if ((uid_t) d->creds.uid != UID_INVALID) {
643 if ((uid_t) d->creds.euid != UID_INVALID) {
648 if ((uid_t) d->creds.suid != UID_INVALID) {
653 if ((uid_t) d->creds.fsuid != UID_INVALID) {
/systemd/src/locale/
H A Dlocaled.c972 UID_INVALID,
1062 UID_INVALID,
1194 UID_INVALID,

Completed in 3517 milliseconds

12