[patch] PROT_SAO flag for mmap/mprotect on linux

simon at transitive.com simon at transitive.com
Mon Aug 11 14:41:36 UTC 2008


Adds suppport for PROT_SAO (strong access ordering) for mmap/mprotect on platforms that support it as per:
http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=aba46c5027cb59d98052231b36efcbbde9c77a1d

Regards,
Si

diff -cr a/mem.c b/mem.c
*** a/mem.c	Tue May 20 02:11:56 2008
--- b/mem.c	Mon Aug 11 15:16:34 2008
***************
*** 96,101 ****
--- 96,104 ----
  #ifdef PROT_GROWSUP
  	{ PROT_GROWSUP, "PROT_GROWSUP"	},
  #endif
+ #ifdef PROT_SAO
+ 	{ PROT_SAO,	"PROT_SAO"	},
+ #endif
  	{ 0,		NULL		},
  };
  




More information about the Strace-devel mailing list