Ignore:
Timestamp:
Apr 25, 2007, 9:44:55 AM (14 years ago)
Author:
Paul Smedley
Message:

Code updated to Samba 3.0.25rc2 level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/lib/fault.c

    r26 r30  
    162162
    163163#if DUMP_CORE
     164        /* If we're running as non root we might not be able to dump the core
     165         * file to the corepath.  There must not be an unbecome_root() before
     166         * we call abort(). */
     167        if (geteuid() != 0) {
     168                become_root();
     169        }
     170
    164171        if (*corepath != '\0') {
    165172                /* The chdir might fail if we dump core before we finish
Note: See TracChangeset for help on using the changeset viewer.