diff options
author | Ernst de Haan <znerd@FreeBSD.org> | 2002-08-28 22:54:21 +0000 |
---|---|---|
committer | Ernst de Haan <znerd@FreeBSD.org> | 2002-08-28 22:54:21 +0000 |
commit | 8960bcb67e8820840f706ccf207c4b09ef8eab55 (patch) | |
tree | d5c52c34d322fadef6c32cf5c082ed84a77f5cdd | |
parent | db3951437b244dd0eee52030616e13afac547863 (diff) | |
download | ports-8960bcb67e8820840f706ccf207c4b09ef8eab55.tar.gz ports-8960bcb67e8820840f706ccf207c4b09ef8eab55.zip |
Notes
-rw-r--r-- | www/jakarta-tomcat4/files/daemonctl.c | 5 | ||||
-rw-r--r-- | www/jakarta-tomcat41/files/daemonctl.c | 5 | ||||
-rw-r--r-- | www/tomcat41/files/daemonctl.c | 5 |
3 files changed, 3 insertions, 12 deletions
diff --git a/www/jakarta-tomcat4/files/daemonctl.c b/www/jakarta-tomcat4/files/daemonctl.c index 1bc36368241f..765a870fd4e8 100644 --- a/www/jakarta-tomcat4/files/daemonctl.c +++ b/www/jakarta-tomcat4/files/daemonctl.c @@ -4,7 +4,7 @@ * * Daemon control program. * - * $FreeBSD: /tmp/pcvs/ports/www/jakarta-tomcat4/files/Attic/daemonctl.c,v 1.8 2002-08-28 09:29:59 znerd Exp $ + * $FreeBSD: /tmp/pcvs/ports/www/jakarta-tomcat4/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(); 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(); 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 <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(); |