diff options
Diffstat (limited to 'daemon/realpath.c')
-rw-r--r-- | daemon/realpath.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/daemon/realpath.c b/daemon/realpath.c index c081a458..706af427 100644 --- a/daemon/realpath.c +++ b/daemon/realpath.c @@ -28,13 +28,10 @@ #include "actions.h" char * -do_realpath (char *path) +do_realpath (const char *path) { char *ret; - NEED_ROOT (return NULL); - ABS_PATH (path, return NULL); - CHROOT_IN; ret = realpath (path, NULL); CHROOT_OUT; |