Diff for /src/sys/libkern/stack_protector.c between versions 1.1 and 1.2

version 1.1, 2003/12/10 22:27:27 version 1.2, 2003/12/27 03:12:56
Line 28 Line 28
   
 #include <sys/param.h>  #include <sys/param.h>
   
int __guard = '\0\0\n\377';void __stack_smash_handler(int damaged, char func[]);
   
void __stack_smash_handler (int damaged, char func[])#define  __guard = '\0\0\n\377';
 
 void 
 __stack_smash_handler(int damaged, char func[])
 {  {
     panic ("stack overflow in function %s", func);      panic ("stack overflow in function %s", func);
 }  }
   

Removed from v.1.1  
changed lines
  Added in v.1.2