diff options
author | znerd <znerd@FreeBSD.org> | 2002-08-28 22:54:21 +0000 |
---|---|---|
committer | znerd <znerd@FreeBSD.org> | 2002-08-28 22:54:21 +0000 |
commit | aa1d214659383e5b28a529539ac9620902ed1251 (patch) | |
tree | ce728240c2ddd6a024a7729ff6ac9d09b5d458cb /www/tomcat41 | |
parent | 39e3c6ec4bb709ec0c29eec24e316aada2e49b09 (diff) | |
download | FreeBSD-ports-aa1d214659383e5b28a529539ac9620902ed1251.zip FreeBSD-ports-aa1d214659383e5b28a529539ac9620902ed1251.tar.gz |
Reverting to revision 1.7. This change should first be audited by
audit@ since it may be bypassing security restrictions.
Pointed out by: kris
Diffstat (limited to 'www/tomcat41')
-rw-r--r-- | www/tomcat41/files/daemonctl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/www/tomcat41/files/daemonctl.c b/www/tomcat41/files/daemonctl.c index a1e280b..260e156 100644 --- a/www/tomcat41/files/daemonctl.c +++ b/www/tomcat41/files/daemonctl.c @@ -4,7 +4,7 @@ * * Daemon control program. * - * $FreeBSD: /tmp/pcvs/ports/www/tomcat41/files/Attic/daemonctl.c,v 1.8 2002-08-28 09:29:59 znerd Exp $ + * $FreeBSD: /tmp/pcvs/ports/www/tomcat41/files/Attic/daemonctl.c,v 1.9 2002-08-28 22:54:21 znerd Exp $ */ #include <assert.h> @@ -78,9 +78,6 @@ int main(int argc, char *argv[]) { return 0; } - /* Set the UID to the effective UID to fix SUID */ - setuid(geteuid()); - argument = argv[1]; if (strcmp("start", argument) == 0) { start(); |