util_nw.c revision e970053cef302d9a33c4d6f848adc004cc2e916d
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke/* ====================================================================
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * The Apache Software License, Version 1.1
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * Copyright (c) 2000-2001 The Apache Software Foundation. All rights
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * Redistribution and use in source and binary forms, with or without
b72a390042c19e630cf221494b60c9df2a60d187Dominik Luecke * modification, are permitted provided that the following conditions
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * 1. Redistributions of source code must retain the above copyright
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * notice, this list of conditions and the following disclaimer.
2af38fde95f93562f2124ec615fba0e509c8202eDominik Luecke * 2. Redistributions in binary form must reproduce the above copyright
2af38fde95f93562f2124ec615fba0e509c8202eDominik Luecke * notice, this list of conditions and the following disclaimer in
cf04ba46b9eb495d334466e24e082e391055ca7bDominik Luecke * the documentation and/or other materials provided with the
2af38fde95f93562f2124ec615fba0e509c8202eDominik Luecke * distribution.
2af38fde95f93562f2124ec615fba0e509c8202eDominik Luecke * 3. The end-user documentation included with the redistribution,
2af38fde95f93562f2124ec615fba0e509c8202eDominik Luecke * if any, must include the following acknowledgment:
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * "This product includes software developed by the
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * Apache Software Foundation (http://www.apache.org/)."
59917a4f0a6a20f5a20bcab1f2a0a0774db56807Dominik Luecke * Alternately, this acknowledgment may appear in the software itself,
59917a4f0a6a20f5a20bcab1f2a0a0774db56807Dominik Luecke * if and wherever such third-party acknowledgments normally appear.
59917a4f0a6a20f5a20bcab1f2a0a0774db56807Dominik Luecke * 4. The names "Apache" and "Apache Software Foundation" must
59917a4f0a6a20f5a20bcab1f2a0a0774db56807Dominik Luecke * not be used to endorse or promote products derived from this
59917a4f0a6a20f5a20bcab1f2a0a0774db56807Dominik Luecke * software without prior written permission. For written
59917a4f0a6a20f5a20bcab1f2a0a0774db56807Dominik Luecke * permission, please contact apache@apache.org.
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * 5. Products derived from this software may not be called "Apache",
fcac596b16bb10f475066c323b9b1ca44db2b755Dominik Luecke * nor may "Apache" appear in their name, without prior written
fcac596b16bb10f475066c323b9b1ca44db2b755Dominik Luecke * permission of the Apache Software Foundation.
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
08056875f5f633ef432598d5245ea41c112d2178Dominik Luecke * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
fcac596b16bb10f475066c323b9b1ca44db2b755Dominik Luecke * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
fcac596b16bb10f475066c323b9b1ca44db2b755Dominik Luecke * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
cf04ba46b9eb495d334466e24e082e391055ca7bDominik Luecke * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
ad270004874ce1d0697fb30d7309f180553bb315Christian Maeder * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
cf04ba46b9eb495d334466e24e082e391055ca7bDominik Luecke * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
08056875f5f633ef432598d5245ea41c112d2178Dominik Luecke * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
08056875f5f633ef432598d5245ea41c112d2178Dominik Luecke * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
08056875f5f633ef432598d5245ea41c112d2178Dominik Luecke * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
08056875f5f633ef432598d5245ea41c112d2178Dominik Luecke * SUCH DAMAGE.
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * ====================================================================
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * This software consists of voluntary contributions made by many
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * individuals on behalf of the Apache Software Foundation. For more
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * information on the Apache Software Foundation, please see
b72a390042c19e630cf221494b60c9df2a60d187Dominik Luecke * Portions of this software are based upon public domain software
fcac596b16bb10f475066c323b9b1ca44db2b755Dominik Luecke * originally written at the National Center for Supercomputing Applications,
fcac596b16bb10f475066c323b9b1ca44db2b755Dominik Luecke * University of Illinois, Urbana-Champaign.
08056875f5f633ef432598d5245ea41c112d2178Dominik LueckeAP_DECLARE(apr_status_t) ap_os_create_privileged_process(
08056875f5f633ef432598d5245ea41c112d2178Dominik Luecke const char * const *args,
08056875f5f633ef432598d5245ea41c112d2178Dominik Luecke const char * const *env,