Home
last modified time | relevance | path

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

/systemd-251/src/test/ !
Dtest-uid-range.c31 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/ !
Duid-range.h17 static inline bool uid_range_contains(const UidRange *p, size_t n, uid_t uid) { in uid_range_contains() function
/systemd-251/src/sysusers/ !
Dsysusers.c1109 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()