components/samba/samba/samba36/patches/nocoredump.patch
changeset 4371 29fdb14099eb
parent 2184 32c5cf5b5dc1
equal deleted inserted replaced
4370:7043c27399f1 4371:29fdb14099eb
       
     1 This is the in-house patch which changes the build option DUMP_CORE to prevent Samba
       
     2 to dump the core on internal error conditions (i.e. # of groups > NGROUP_MAX).
       
     3 ...see the original comment which remains in code.
       
     4 
       
     5 --- a/source3/include/local.h	2014-06-22 23:03:27.000000000 -0700
       
     6 +++ samba-3.6.24/source3/include/local.h	2014-10-29 10:00:48.268346403 -0700
       
     7 @@ -142,7 +142,7 @@
       
     8  /* do you want to dump core (carefully!) when an internal error is
       
     9     encountered? Samba will be careful to make the core file only
       
    10     accessible to root */
       
    11 -#define DUMP_CORE 1
       
    12 +#define DUMP_CORE 0
       
    13  
       
    14  /* shall we support browse requests via a FIFO to nmbd? */
       
    15  #define ENABLE_FIFO 1