netmon - I'll fix libpcap-ringbuffer Thanks to Ned
libpcap-ringbuffer fixed
Created attachment 60518 [details, diff] system.h.diff
Patch looks good, thanks, what version of headers you need this applying to? Will 2.6.11 be sufficient?
actually, upon further thinking using 'awx' is not the best solution either, it will produce RWE PT_LOAD segments, which is not nice (albeit it happens to work even under PaX as no code is actually executed from there). the best solution would be to simply not expose the alternative() macro to userland at all, after all there's noone in userland who would actually make use of it (the kernel itself has special processing on boot that does the insn substitution when run on the proper CPU). short of that, use 'aw' everywhere.
confession - I don't know much about the asm alternate stuff at all. I was just going of the refurl.
There seems to be some confusion as to what would be the right way of doing things, so if somebody can attach an updated patch or comment if the current patch is correct and reopen I'll gladly add this in. Thanks!
as i suggested, use "aw" section flags in all 4 places, i.e., the attached patch gets half of that right, the other half should be changed from "awx" into "aw".