diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-01 15:27:30 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-01 15:27:30 +0000 |
commit | ecd93961665fe972cae803dbba2b5fb21e608256 (patch) | |
tree | db630c8dd425df4c54c6d80f0b6e4c1d5df7e04f /sbin/restore/tape.c | |
parent | edbbae34be5abfdacdcf17e49eda7fb16054efac (diff) |
lose setuid
Diffstat (limited to 'sbin/restore/tape.c')
-rw-r--r-- | sbin/restore/tape.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index 6ca315c651a..4be709de8c8 100644 --- a/sbin/restore/tape.c +++ b/sbin/restore/tape.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tape.c,v 1.2 1996/03/21 00:16:32 niklas Exp $ */ +/* $OpenBSD: tape.c,v 1.3 1996/09/01 15:27:29 deraadt Exp $ */ /* $NetBSD: tape.c,v 1.20 1996/03/15 22:39:41 scottr Exp $ */ /* @@ -91,9 +91,6 @@ int oldinofmt; /* old inode format conversion required */ int Bcvt; /* Swap Bytes (for CCI or sun) */ static int Qcvt; /* Swap quads (for sun) */ -extern uid_t uid; /* real uid */ -extern uid_t euid; /* effective uid */ - #define FLUSHTAPEBUF() blkcnt = ntrec + 1 static void accthdr __P((struct s_spcl *)); @@ -155,7 +152,6 @@ setinput(source) } pipein++; } - (void) setuid(uid); /* rmthost() is the only reason to be setuid */ (void) strcpy(magtape, source); } |