diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-06-15 11:54:33 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-06-15 11:54:33 +0000 |
commit | 540009244c7c9f1aec64af6fb1efba7245ed8bb3 (patch) | |
tree | 6083ccee6a49eea6b46b4b7f9d613015dbf68036 /nscd/nscd.c | |
parent | 28e351249e754446ab86c9cdc5bdbe2747cff998 (diff) | |
download | glibc-540009244c7c9f1aec64af6fb1efba7245ed8bb3.zip glibc-540009244c7c9f1aec64af6fb1efba7245ed8bb3.tar.gz glibc-540009244c7c9f1aec64af6fb1efba7245ed8bb3.tar.bz2 |
Update.
1999-06-14 Thorsten Kukuk <kukuk@suse.de>
* nscd/connections.c (handle_request): Only root is allowed to
send GETSTAT request in non secure mode.
* nscd/nscd.c: Print error message if other then root try to
use getstat.
1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
Closes PR libc/1164, reported by sascha@schumann.2ns.de.
Diffstat (limited to 'nscd/nscd.c')
-rw-r--r-- | nscd/nscd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nscd/nscd.c b/nscd/nscd.c index af5ce42..8c61406 100644 --- a/nscd/nscd.c +++ b/nscd/nscd.c @@ -205,6 +205,8 @@ parse_opt (int key, char *arg, struct argp_state *state) } case 'g': + if (getuid () != 0) + error (EXIT_FAILURE, 0, _("Only root is allowed to use this option!")); receive_print_stats (); /* Does not return. */ |