Searched refs:uid_range_contains (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/test/ |
D | test-uid-range.c | 31 assert_se(!uid_range_contains(p, n, 499)); in TEST() 32 assert_se(uid_range_contains(p, n, 500)); in TEST() 33 assert_se(uid_range_contains(p, n, 999)); in TEST() 34 assert_se(!uid_range_contains(p, n, 1000)); in TEST() 108 assert_se(uid_range_contains(p, n, getuid())); in TEST() 129 assert_se(uid_range_contains(p, n, 0)); in TEST() 130 assert_se(uid_range_contains(p, n, 19)); in TEST() 131 assert_se(!uid_range_contains(p, n, 20)); in TEST() 133 assert_se(!uid_range_contains(p, n, 99)); in TEST() 134 assert_se(uid_range_contains(p, n, 100)); in TEST() [all …]
|
/systemd-251/src/shared/ |
D | uid-range.h | 17 static inline bool uid_range_contains(const UidRange *p, size_t n, uid_t uid) { in uid_range_contains() function
|
/systemd-251/src/sysusers/ |
D | sysusers.c | 1109 if (c <= 0 || !uid_range_contains(uid_range, n_uid_range, c)) in add_user() 1291 if (c <= 0 || !uid_range_contains(uid_range, n_uid_range, c)) in add_group()
|