Back to index

glibc  2.9
readonly-area.c File Reference
#include <stdlib.h>

Go to the source code of this file.


int __readonly_area (const void *ptr, size_t size)

Function Documentation

int __readonly_area ( const void *  ptr,
size_t  size 

Definition at line 25 of file readonly-area.c.

  /* We cannot determine in general whether memory is writable or not.
     This must be handled in a system-dependent manner.  to not
     unconditionally break code we need to return here a positive
     answer.  This disables this security measure but that is the
     price people have to pay for using systems without a real
     implementation of this interface.  */
  return 1;