Home
last modified time | relevance | path

Searched refs:clean_ipc (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/core/
Dmanager.h550 int manager_ref_uid(Manager *m, uid_t uid, bool clean_ipc);
553 int manager_ref_gid(Manager *m, gid_t gid, bool clean_ipc);
Dunit.c4900 bool clean_ipc, in unit_ref_uid_internal() argument
4901 int (*_manager_ref_uid)(Manager *m, uid_t uid, bool clean_ipc)) { in unit_ref_uid_internal()
4926 r = _manager_ref_uid(u->manager, uid, clean_ipc); in unit_ref_uid_internal()
4934 static int unit_ref_uid(Unit *u, uid_t uid, bool clean_ipc) { in unit_ref_uid() argument
4935 return unit_ref_uid_internal(u, &u->ref_uid, uid, clean_ipc, manager_ref_uid); in unit_ref_uid()
4938 static int unit_ref_gid(Unit *u, gid_t gid, bool clean_ipc) { in unit_ref_gid() argument
4939 … return unit_ref_uid_internal(u, (uid_t*) &u->ref_gid, (uid_t) gid, clean_ipc, manager_ref_gid); in unit_ref_gid()
4942 static int unit_ref_uid_gid_internal(Unit *u, uid_t uid, gid_t gid, bool clean_ipc) { in unit_ref_uid_gid_internal() argument
4950 r = unit_ref_uid(u, uid, clean_ipc); in unit_ref_uid_gid_internal()
4956 q = unit_ref_gid(u, gid, clean_ipc); in unit_ref_uid_gid_internal()
Dmanager.c4295 bool clean_ipc) { in manager_ref_uid_internal() argument
4324 c = n | (c & DESTROY_IPC_FLAG) | (clean_ipc ? DESTROY_IPC_FLAG : 0); in manager_ref_uid_internal()
4329 int manager_ref_uid(Manager *m, uid_t uid, bool clean_ipc) { in manager_ref_uid() argument
4330 return manager_ref_uid_internal(&m->uid_refs, uid, clean_ipc); in manager_ref_uid()
4333 int manager_ref_gid(Manager *m, gid_t gid, bool clean_ipc) { in manager_ref_gid() argument
4334 return manager_ref_uid_internal(&m->gid_refs, (uid_t) gid, clean_ipc); in manager_ref_gid()