Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.823 2003/03/03 18:07:47 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.824 2003/03/05 13:47:26 mast Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:56:   #else   # define SSL3_WERR(X)   #endif      #ifdef THREAD_DEBUG   # define THREAD_WERR(X) report_debug("Thread: "+X+"\n")   #else   # define THREAD_WERR(X)   #endif    - // Needed to get core dumps of seteuid()'ed processes on Linux. - #if constant(System.dumpable) - #define enable_coredumps(X) System.dumpable(X) - #else - #define enable_coredumps(X) - #endif -  +    #define DDUMP(X) sol( combine_path( __FILE__, "../../" + X ), dump )   static function sol = master()->set_on_load;      #ifdef TEST_EUID_CHANGE   int test_euid_change;   #endif      string md5( string what )   {    return Gmp.mpz(Crypto.md5()->update( what )->digest(),256)
Roxen.git/server/base_server/roxen.pike:3775: Inside #if undefined(__NT__)
   string u, g;    int uid, gid;    array pw;       if (from_handler_thread && geteuid()) {    // The euid switch in the backend thread worked here too, so    // there's no need to do anything.   #ifdef TEST_EUID_CHANGE    werror ("euid change effective in handler thread.\n");   #endif +  enable_coredumps (1);    return 1;    }       u=query("User");    sscanf(u, "%s:%s", u, g);    if(strlen(u))    {    if(getuid())    {    if (!from_handler_thread)