libbb: introduce and use chdir_or_warn()
function old new delta chdir_or_warn - 37 +37 send_cgi_and_exit 720 711 -9 xchdir 27 15 -12 setup_environment 233 217 -16 fork_job 449 433 -16 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/4 up/down: 37/-53) Total: -16 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -645,6 +645,7 @@ void xsetgid(gid_t gid) FAST_FUNC;
|
||||
void xsetuid(uid_t uid) FAST_FUNC;
|
||||
void xsetegid(gid_t egid) FAST_FUNC;
|
||||
void xseteuid(uid_t euid) FAST_FUNC;
|
||||
int chdir_or_warn(const char *path) FAST_FUNC;
|
||||
void xchdir(const char *path) FAST_FUNC;
|
||||
void xfchdir(int fd) FAST_FUNC;
|
||||
void xchroot(const char *path) FAST_FUNC;
|
||||
|
Reference in New Issue
Block a user