Searched refs:cap_last_cap (Results 1 - 8 of 8) sorted by relevance

/systemd/src/basic/
H A Dcapability-util.h32 unsigned long cap_last_cap(void);
55 m = (UINT64_C(1) << (cap_last_cap() + 1)) - 1;
H A Dcapability-util.c50 unsigned long cap_last_cap(void) { function
61 r = read_one_line_file("/proc/sys/kernel/cap_last_cap", &content);
103 for (i = 0; i < cap_last_cap(); i++) {
139 for (i = 0; i < cap_last_cap(); i++) {
191 for (i = 0; i <= cap_last_cap(); i++) {
/systemd/src/test/
H A Dtest-cap-list.c72 /* verify cap_last_cap() against /proc/sys/kernel/cap_last_cap */
78 r = read_one_line_file("/proc/sys/kernel/cap_last_cap", &content);
84 assert_se(val == cap_last_cap());
87 /* verify cap_last_cap() against syscall probing */
102 assert_se(p == cap_last_cap());
/systemd/src/libsystemd/sd-bus/
H A Dbus-creds.c678 if ((unsigned) capability > cap_last_cap())
681 sz = DIV_ROUND_UP(cap_last_cap(), 32U);
733 max = DIV_ROUND_UP(cap_last_cap(), 32U);
1273 n->capability = memdup(c->capability, DIV_ROUND_UP(cap_last_cap(), 32U) * 4 * 4);
H A Dbus-dump.c306 last_cap = cap_last_cap();
H A Dbus-control.c561 if (item->caps.last_cap != cap_last_cap() ||
H A Dbus-kernel.c725 if (d->caps.last_cap != cap_last_cap() ||
/systemd/src/core/
H A Dexecute.c2584 for (l = 0; l <= cap_last_cap(); l++)
2595 for (l = 0; l <= cap_last_cap(); l++)

Completed in 33 milliseconds