pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:1784: Inside #if defined(HAVE_BROKEN_LINUX_THREAD_EUID) and #if defined(HAVE_BROKEN_LINUX_THREAD_EUID)
  #endif   #ifdef HAVE_BROKEN_LINUX_THREAD_EUID    if( setegid(arg.egid) != 0 || seteuid(arg.euid) != 0 )    {    fprintf (stderr, "%s:%d: Unexpected error from setegid(2). errno=%d\n",    __FILE__, __LINE__, errno);    }   #endif   #if defined(HAVE_PRCTL) && defined(PR_SET_DUMPABLE)    if (current != -1 && prctl(PR_SET_DUMPABLE, current) == -1) { - #if defined(PIKE_DEBUG) -  fprintf (stderr, "%s:%d: Unexpected error from prctl(2). errno=%d\n", +  DWERR("%s:%d: Unexpected error from prctl(2). errno=%d\n",    __FILE__, __LINE__, errno); - #endif +     }   #endif    }   #endif /* HAVE_BROKEN_LINUX_THREAD_EUID */       /* Lock the interpreter now, but don't wait on    * threads_disabled_change since the spawning thread might be    * holding it. */    low_mt_lock_interpreter();