Home
last modified time | relevance | path

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

/systemd-251/src/shared/ !
Duser-record.c1388 } mask_field[] = { in user_group_record_mangle() local
1399 JsonVariant *array[ELEMENTSOF(mask_field) * 2]; in user_group_record_mangle()
1425 for (size_t i = 0; i < ELEMENTSOF(mask_field); i++) { in user_group_record_mangle()
1428 if (FLAGS_SET(USER_RECORD_STRIP_MASK(load_flags), mask_field[i].mask)) { in user_group_record_mangle()
1432 r = json_variant_filter(&w, STRV_MAKE(mask_field[i].name)); in user_group_record_mangle()
1439 e = json_variant_by_key_full(v, mask_field[i].name, &k); in user_group_record_mangle()
1441 if (!FLAGS_SET(USER_RECORD_ALLOW_MASK(load_flags), mask_field[i].mask)) in user_group_record_mangle()
1442 …SYNTHETIC_ERRNO(EBADMSG), "Record contains '%s' field, which is not allowed.", mask_field[i].name); in user_group_record_mangle()
1449 m |= mask_field[i].mask; in user_group_record_mangle()
1451 if (FLAGS_SET(USER_RECORD_REQUIRE_MASK(load_flags), mask_field[i].mask)) in user_group_record_mangle()
[all …]