mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-17 08:51:09 +01:00
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.
9 lines
293 B
C
9 lines
293 B
C
#ifndef _HAPROXY_LINUXCAP_H
|
|
#define _HAPROXY_LINUXCAP_H
|
|
|
|
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 from_uid, int to_uid, const char *program_name);
|
|
|
|
#endif /* _HAPROXY_LINUXCAP_H */
|