mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-05 03:29:35 +00: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
@ -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 New Issue
Block a user