From: Sergey Poznyakoff Date: Sat, 4 Oct 2003 18:18:02 +0000 (+0000) Subject: Moved system dependencies to system.c X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=a0d91086c4a7a7cf8ad933b8ac1dd238d55d43a0;p=chaz%2Ftar Moved system dependencies to system.c --- diff --git a/src/rtapelib.c b/src/rtapelib.c index ce141b4..dcf2477 100644 --- a/src/rtapelib.c +++ b/src/rtapelib.c @@ -482,10 +482,7 @@ rmt_open__ (const char *path, int open_mode, int bias, const char *remote_shell) close (from_remote[remote_pipe_number][PREAD]); close (from_remote[remote_pipe_number][PWRITE]); -#if !MSDOS - setuid (getuid ()); - setgid (getgid ()); -#endif + sys_reset_uid_gid (); if (remote_user) execl (remote_shell, remote_shell_basename, remote_host,