mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05:00
BUILD: linuxcap: Properly declare prepare_caps_from_permitted_set()
Expected arguments were not specified in the
prepare_caps_from_permitted_set() function declaration. It is an issue for
some compilers, for instance clang. But at the end, it is unexpected and
deprecated.
No backport needed, except if f0b6436f57 ("MEDIUM: capabilities: check
process capabilities sets") is backported.
This commit is contained in:
parent
494bc03ff7
commit
9b3a27f70c
1 changed files with 1 additions and 1 deletions
|
|
@ -3,6 +3,6 @@
|
|||
|
||||
int prepare_caps_for_setuid(int from_uid, int to_uid);
|
||||
int finalize_caps_after_setuid(int from_uid, int to_uid);
|
||||
int prepare_caps_from_permitted_set();
|
||||
int prepare_caps_from_permitted_set(int from_uid, int to_uid, const char *program_name);
|
||||
|
||||
#endif /* _HAPROXY_LINUXCAP_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue