mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-14 10:29:13 +02:00
MINOR: startup: use global progname variable
Let's store progname in the global variable, as it is handy to use it in different parts of code to format messages sent to stdout. This reduces the number of arguments, which we should pass to some functions.
This commit is contained in:
committed by
Willy Tarreau
parent
ef154a49e1
commit
bfe0f9d02d
@@ -22,6 +22,6 @@ static inline int capget(cap_user_header_t hdrp, const cap_user_data_t datap)
|
||||
}
|
||||
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 *progname);
|
||||
int prepare_caps_from_permitted_set(int from_uid, int to_uid);
|
||||
|
||||
#endif /* _HAPROXY_LINUXCAP_H */
|
||||
|
||||
Reference in New Issue
Block a user