From 8960bcb67e8820840f706ccf207c4b09ef8eab55 Mon Sep 17 00:00:00 2001 From: Ernst de Haan Date: Wed, 28 Aug 2002 22:54:21 +0000 Subject: Reverting to revision 1.7. This change should first be audited by audit@ since it may be bypassing security restrictions. Pointed out by: kris --- www/tomcat41/files/daemonctl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'www/tomcat41/files') diff --git a/www/tomcat41/files/daemonctl.c b/www/tomcat41/files/daemonctl.c index a1e280b5a715..260e156807f7 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 @@ -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(); -- cgit v1.2.3