Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dgroup-record.c190 UserRecordLoadFlags load_flags) { in group_record_load() argument
218 JsonDispatchFlags json_flags = USER_RECORD_LOAD_FLAGS_TO_JSON_DISPATCH_FLAGS(load_flags); in group_record_load()
226 if ((USER_RECORD_REQUIRE_MASK(load_flags) & (USER_RECORD_SECRET|USER_RECORD_PRIVILEGED))) in group_record_load()
229 r = user_group_record_mangle(v, load_flags, &h->json, &h->mask); in group_record_load()
Duser-record.c1381 UserRecordLoadFlags load_flags, in user_group_record_mangle() argument
1397 JsonDispatchFlags json_flags = USER_RECORD_LOAD_FLAGS_TO_JSON_DISPATCH_FLAGS(load_flags); in user_group_record_mangle()
1404 … assert((load_flags & _USER_RECORD_MASK_MAX) == 0); /* detect mistakes when accidentally passing in user_group_record_mangle()
1418 if (USER_RECORD_ALLOW_MASK(load_flags) == 0) /* allow nothing? */ in user_group_record_mangle()
1421 if (USER_RECORD_STRIP_MASK(load_flags) == _USER_RECORD_MASK_MAX) /* strip everything? */ in user_group_record_mangle()
1428 if (FLAGS_SET(USER_RECORD_STRIP_MASK(load_flags), mask_field[i].mask)) { in user_group_record_mangle()
1441 if (!FLAGS_SET(USER_RECORD_ALLOW_MASK(load_flags), mask_field[i].mask)) in user_group_record_mangle()
1444 if (FLAGS_SET(load_flags, USER_RECORD_STRIP_REGULAR)) { in user_group_record_mangle()
1451 if (FLAGS_SET(USER_RECORD_REQUIRE_MASK(load_flags), mask_field[i].mask)) in user_group_record_mangle()
1456 if (FLAGS_SET(load_flags, USER_RECORD_STRIP_REGULAR)) { in user_group_record_mangle()
[all …]
Duser-record.h432 int user_group_record_mangle(JsonVariant *v, UserRecordLoadFlags load_flags, JsonVariant **ret_vari…