Branch: Tag:

2014-10-03

2014-10-03 16:16:13 by Per Hedbor <ph@opera.com>

Removed security system (on this branch)

28:   #include "stuff.h"   #include "mapping.h"   #include "cyclic.h" - #include "pike_security.h" +    #include "pike_types.h"   #include "opcodes.h"   #include "version.h"
2866:       GC_ALLOC(p);    p->id=++current_program_id; -  INIT_PIKE_MEMOBJ(p, T_PROGRAM); +  p->refs=1;       DOUBLELINK(first_program, p);    ACCURATE_GETTIMEOFDAY(& p->timestamp);
2991:    Pike_compiler->fake_object->program_id=p->id;   #endif    - #ifdef PIKE_SECURITY -  Pike_compiler->fake_object->prot=0; - #endif -  +     debug_malloc_touch(Pike_compiler->fake_object);    debug_malloc_touch(Pike_compiler->fake_object->storage);   
3300:   #include "program_areas.h"    }    -  EXIT_PIKE_MEMOBJ(p); -  +     GC_FREE(p);   }