diff options
author | znerd <znerd@FreeBSD.org> | 2002-08-29 06:54:21 +0800 |
---|---|---|
committer | znerd <znerd@FreeBSD.org> | 2002-08-29 06:54:21 +0800 |
commit | aa1d214659383e5b28a529539ac9620902ed1251 (patch) | |
tree | ce728240c2ddd6a024a7729ff6ac9d09b5d458cb /www/jakarta-tomcat41 | |
parent | 39e3c6ec4bb709ec0c29eec24e316aada2e49b09 (diff) | |
download | freebsd-ports-gnome-aa1d214659383e5b28a529539ac9620902ed1251.tar.gz freebsd-ports-gnome-aa1d214659383e5b28a529539ac9620902ed1251.tar.zst freebsd-ports-gnome-aa1d214659383e5b28a529539ac9620902ed1251.zip |
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/jakarta-tomcat41')
-rw-r--r-- | www/jakarta-tomcat41/files/daemonctl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/www/jakarta-tomcat41/files/daemonctl.c b/www/jakarta-tomcat41/files/daemonctl.c index 7ce8126de778..60bb58201a6b 100644 --- a/www/jakarta-tomcat41/files/daemonctl.c +++ b/www/jakarta-tomcat41/files/daemonctl.c @@ -4,7 +4,7 @@ * * Daemon control program. * - * $FreeBSD: /tmp/pcvs/ports/www/jakarta-tomcat41/files/Attic/daemonctl.c,v 1.8 2002-08-28 09:29:59 znerd Exp $ + * $FreeBSD: /tmp/pcvs/ports/www/jakarta-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(); |