libc: silence get(e)gid, get(e)uid, getppid

These dummies spam the log when running bash + make, like in the
genodians.org scenario.

Issue #3578
This commit is contained in:
Norman Feske 2019-12-04 16:30:50 +01:00 committed by Christian Helmuth
parent e8878eee8a
commit ae64830bd5

View File

@ -100,20 +100,20 @@ DUMMY_SILENT(long , -1, _fpathconf, (int, int))
DUMMY(long , -1, fpathconf, (int, int))
DUMMY(int , -1, freebsd7___semctl, (void))
DUMMY(int , -1, getcontext, (ucontext_t *))
DUMMY(gid_t , 0, getegid, (void))
DUMMY(uid_t , 0, geteuid, (void))
DUMMY(gid_t , 0, getgid, (void))
DUMMY_SILENT(gid_t , 0, getegid, (void))
DUMMY_SILENT(uid_t , 0, geteuid, (void))
DUMMY_SILENT(gid_t , 0, getgid, (void))
DUMMY(int , -1, getgroups, (int, gid_t *))
DUMMY(struct hostent *, 0, gethostbyname, (const char *))
DUMMY(char *, 0, _getlogin, (void))
DUMMY(int , -1, getnameinfo, (const sockaddr *, socklen_t, char *, size_t, char *, size_t, int))
DUMMY(struct servent *, 0, getservbyname, (const char *, const char *))
DUMMY(int , -1, getsid, (pid_t))
DUMMY(pid_t , -1, getppid, (void))
DUMMY_SILENT(pid_t , -1, getppid, (void))
DUMMY(pid_t , -1, getpgrp, (void))
DUMMY(int , -1, getpriority, (int, int))
DUMMY(int , -1, getrusage, (int, rusage *))
DUMMY(uid_t , 0, getuid, (void))
DUMMY_SILENT(uid_t , 0, getuid, (void))
DUMMY_SILENT(int , 1, isatty, (int))
DUMMY(int , -1, link, (const char *, const char *))
DUMMY(int , 0, minherit, (void *, size_t, int))