summaryrefslogtreecommitdiff
path: root/include/linux/compiler-gcc3.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-02-18 16:37:22 -0800
committerDavid S. Miller <davem@nuts.davemloft.net>2004-02-18 16:37:22 -0800
commitc03544ddab373e1b0a07eef7bc44a02dad224ab8 (patch)
tree090b7fab6ebcaedcf0a3595fc328aa4d07c64522 /include/linux/compiler-gcc3.h
parenta177d62cba196bf5affec5f778b092f5d7c91f54 (diff)
[PATCH] prevent ptrace from altering page permissions
From: Roland McGrath <roland@redhat.com> Under some circumstances, ptrace PEEK/POKE_TEXT can cause page permissions to be permanently changed. Thsi causes changes in application behaviour when run under gdb. Fix that by only marking the pte as writeable if the vma is marked for writing. A write fault thus unshares the page but doesn't necessarily make it writeable.
Diffstat (limited to 'include/linux/compiler-gcc3.h')
0 files changed, 0 insertions, 0 deletions