Re: Non-executable stack

看板FB_security作者時間20年前 (2005/11/03 22:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串15/18 (看更多)
Dag-Erling Sm鷨grav wrote: >db <db@traceroute.dk> writes: > > >>Memory on ia32 can be writable and readable. When it is readable it >>is also executable. On other arch's like AMD64 and IA64, I believe >>memory can be readable, writable and executable. >> >> > >Not quite. IA32 can make individual segments readable, writable and / >or executable, but lacks the ability to do so on a per-page basis. >Since we have trampoline code at the top of the stack, the entire >stack segment must be executable. Moving the trampoline off the stack >would solve the problem on all platforms. > > There has been recent talk of a shared kernel/user memory page.. that could be used for trampoline code. >W^X across the board is not an option - it would break HotSpot and >other JIT-based software. > >DES > > _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #13QXZU00 (FB_security)
討論串 (同標題文章)
文章代碼(AID): #13QXZU00 (FB_security)