diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 9535f5fb3..95a7470a8 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1475,6 +1475,15 @@ const char *get_shell_name(void) FAST_FUNC; | |||
1475 | 1475 | ||
1476 | unsigned cap_name_to_number(const char *cap) FAST_FUNC; | 1476 | unsigned cap_name_to_number(const char *cap) FAST_FUNC; |
1477 | void printf_cap(const char *pfx, unsigned cap_no) FAST_FUNC; | 1477 | void printf_cap(const char *pfx, unsigned cap_no) FAST_FUNC; |
1478 | void drop_capability(int cap_ordinal) FAST_FUNC; | ||
1479 | /* Structures inside "struct caps" are Linux-specific and libcap-specific: */ | ||
1480 | #define DEFINE_STRUCT_CAPS \ | ||
1481 | struct caps { \ | ||
1482 | struct __user_cap_header_struct header; \ | ||
1483 | unsigned u32s; \ | ||
1484 | struct __user_cap_data_struct data[2]; \ | ||
1485 | } | ||
1486 | void getcaps(void *caps) FAST_FUNC; | ||
1478 | 1487 | ||
1479 | unsigned cap_name_to_number(const char *name) FAST_FUNC; | 1488 | unsigned cap_name_to_number(const char *name) FAST_FUNC; |
1480 | void printf_cap(const char *pfx, unsigned cap_no) FAST_FUNC; | 1489 | void printf_cap(const char *pfx, unsigned cap_no) FAST_FUNC; |