diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-09-17 12:20:07 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-09-17 12:20:07 +0200 |
commit | a82ac1f413712a375d5e14ef7641ce0abf7a6543 (patch) | |
tree | 9f5b8441eb6e15b26460d3417417b0c1e5e1859b /testsuite/systemtap.examples | |
parent | 6ad6cb16ba7624c66e3c173f66e44a9ba34c9cd4 (diff) | |
download | systemtap-steved-a82ac1f413712a375d5e14ef7641ce0abf7a6543.tar.gz systemtap-steved-a82ac1f413712a375d5e14ef7641ce0abf7a6543.tar.xz systemtap-steved-a82ac1f413712a375d5e14ef7641ce0abf7a6543.zip |
PR10595 Work around uprobe2 causing selinux failures for kernel 2.6.28+.
We allocate a "fake" unlinked shmem file because anonymous
memory might not be granted execute permission when the selinux
security hooks have their way. Only do this for 2.6.28 or higher
since shmem_file_setup() isn't exported before that.
* runtime/uprobes2/uprobes.c (uprobe_setup_ssol_vma): Use shmem_file_setup
to setup the ssol vma area when using 2.6.28+.
Diffstat (limited to 'testsuite/systemtap.examples')
0 files changed, 0 insertions, 0 deletions