Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8103E788E for ; Mon, 10 Oct 2011 12:03:50 +0000 (UTC) Received: (qmail 88063 invoked by uid 500); 10 Oct 2011 12:03:47 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 87871 invoked by uid 500); 10 Oct 2011 12:03:47 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 87861 invoked by uid 99); 10 Oct 2011 12:03:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 12:03:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.213.45] (HELO mail-yw0-f45.google.com) (209.85.213.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 12:03:40 +0000 Received: by ywm39 with SMTP id 39so6773529ywm.18 for ; Mon, 10 Oct 2011 05:03:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.191.99 with SMTP id f63mr2323034yhn.100.1318248200086; Mon, 10 Oct 2011 05:03:20 -0700 (PDT) Received: by 10.236.108.19 with HTTP; Mon, 10 Oct 2011 05:03:20 -0700 (PDT) In-Reply-To: <4E92DE93.6090508@apache.org> References: <4E92CEC3.10002@apache.org> <4E92DE93.6090508@apache.org> Date: Mon, 10 Oct 2011 14:03:20 +0200 Message-ID: Subject: Re: URL "simplification" From: Francis GALIEGUE To: Tomcat Users List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Oct 10, 2011 at 14:01, Mark Thomas wrote: [...] >> >> C (and C++ and many others) has seteuid() and fork(), Java doesn't. >> Apache starts as root, binds to port 80 (therefore opens an fd on it), >> then forks. The fd is inherited by the child, which calls seteuid(). >> Then the parent exits. Done. > > Tomcat can. > > Exactly the same process is used by the jsvc wrapper from Commons Daemon. > And jsvc is native... --=20 Francis Galiegue ONE2TEAM Ing=C3=A9nieur syst=C3=A8me Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 fge@one2team.com 40 avenue Raymond Poincar=C3=A9 75116 Paris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org