]> git.wh0rd.org - dump.git/commitdiff
Added missing prototype. release_0_4b15
authorStelian Pop <stelian@popies.net>
Thu, 2 Mar 2000 12:07:36 +0000 (12:07 +0000)
committerStelian Pop <stelian@popies.net>
Thu, 2 Mar 2000 12:07:36 +0000 (12:07 +0000)
Document the revert to read uid/gid in dump man page.

dump/dump.8.in
dump/tape.c

index 9085f1a11a1be85a7742ca01dbceb862611f728e..50c8fdea27d3d6210831607fdef213b3cba4c5a5 100644 (file)
@@ -30,7 +30,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"    $Id: dump.8.in,v 1.12 2000/03/02 11:34:51 stelian Exp $
+.\"    $Id: dump.8.in,v 1.13 2000/03/02 12:07:36 stelian Exp $
 .\"
 .Dd __DATE__
 .Dt DUMP 8
 .\"
 .Dd __DATE__
 .Dt DUMP 8
@@ -195,11 +195,18 @@ program is
 this can be overridden by the environment variable
 .Ev RMT .
 .It Fl F Ar script
 this can be overridden by the environment variable
 .Ev RMT .
 .It Fl F Ar script
-Run script at the end of each tape. The script must return 0
-if the dump should continue without asking the user to change
-the tape, 1 if the dump should continue but ask the user
-to change the tape. Any other exit code will cause dump to
-abort.
+Run script at the end of each tape. The script must return 0 if 
+.Nm
+should continue without asking the user to change the tape, 1 if 
+.Nm
+dump should continue but ask the user to change the tape. 
+Any other exit code will cause
+.Nm
+to abort.
+For security reasons,
+.Nm
+reverts back to the real user ID and the real group ID before 
+running the script.
 .It Fl k
 Use Kerberos authentication to talk to remote tape servers.  (Only
 available if this option was enabled when
 .It Fl k
 Use Kerberos authentication to talk to remote tape servers.  (Only
 available if this option was enabled when
index 34779491504f6526e0eff171ebc73d0973ce28b1..aa8f7306edc5e408091c1b3e92fe472d7872df05 100644 (file)
@@ -40,7 +40,7 @@
 
 #ifndef lint
 static const char rcsid[] =
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: tape.c,v 1.15 2000/03/02 11:34:51 stelian Exp $";
+       "$Id: tape.c,v 1.16 2000/03/02 12:07:36 stelian Exp $";
 #endif /* not lint */
 
 #ifdef __linux__
 #endif /* not lint */
 
 #ifdef __linux__
@@ -107,6 +107,7 @@ static      void enslave __P((void));
 static void flushtape __P((void));
 static void killall __P((void));
 static void rollforward __P((void));
 static void flushtape __P((void));
 static void killall __P((void));
 static void rollforward __P((void));
+static int system_command __P((const char *command));
 
 /*
  * Concurrent dump mods (Caltech) - disk block reading and tape writing
 
 /*
  * Concurrent dump mods (Caltech) - disk block reading and tape writing