Branch: Tag:

1999-04-03

1999-04-03 06:10:06 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

more security stuff

Rev: src/builtin_functions.c:1.165
Rev: src/security.c:1.12
Rev: src/security.h:1.4

5:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.164 1999/03/26 23:40:53 grubba Exp $"); + RCSID("$Id: builtin_functions.c,v 1.165 1999/04/03 06:10:04 hubbe Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
1353:       o=fp->current_object;    } + #ifdef PIKE_SECURITY +  if(!CHECK_DATA_SECURITY(o, SECURITY_BIT_DESTRUCT)) +  error("Destruct permission denied.\n"); + #endif    destruct(o);    pop_n_elems(args);   }