Searched refs:uid_range_covers (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/test/ |
D | test-uid-range.c | 22 assert_se(uid_range_covers(p, n, 0, 0)); in TEST() 23 assert_se(!uid_range_covers(p, n, 0, 1)); in TEST() 24 assert_se(!uid_range_covers(p, n, 100, UINT32_MAX)); in TEST() 36 assert_se(!uid_range_covers(p, n, 100, 150)); in TEST() 37 assert_se(!uid_range_covers(p, n, 400, 200)); in TEST() 38 assert_se(!uid_range_covers(p, n, 499, 1)); in TEST() 39 assert_se(uid_range_covers(p, n, 500, 1)); in TEST() 40 assert_se(uid_range_covers(p, n, 501, 10)); in TEST() 41 assert_se(uid_range_covers(p, n, 999, 1)); in TEST() 42 assert_se(!uid_range_covers(p, n, 999, 2)); in TEST() [all …]
|
/systemd-251/src/shared/ |
D | uid-range.h | 15 bool uid_range_covers(const UidRange *p, size_t n, uid_t start, uid_t nr); 18 return uid_range_covers(p, n, uid, 1); in uid_range_contains()
|
D | uid-range.c | 182 bool uid_range_covers(const UidRange *p, size_t n, uid_t start, uid_t nr) { in uid_range_covers() function
|
/systemd-251/src/userdb/ |
D | userdbctl.c | 184 …!uid_range_covers(p, n, uid_range_table[i].first, uid_range_table[i].last - uid_range_table[i].fir… in table_add_uid_boundaries() 547 !uid_range_covers(p, n, uid_range_table[i].first, uid_range_table[i].last)) in table_add_gid_boundaries()
|
/systemd-251/src/core/ |
D | manager.c | 4466 return !uid_range_covers(p, n, 0, 65535); in short_uid_range()
|