]> sourceware.org Git - systemtap.git/commit
PR10595 Work around uprobe2 causing selinux failures for kernel 2.6.28+.
authorMark Wielaard <mjw@redhat.com>
Thu, 17 Sep 2009 10:20:07 +0000 (12:20 +0200)
committerMark Wielaard <mjw@redhat.com>
Thu, 17 Sep 2009 10:20:07 +0000 (12:20 +0200)
commita82ac1f413712a375d5e14ef7641ce0abf7a6543
tree9f5b8441eb6e15b26460d3417417b0c1e5e1859b
parent6ad6cb16ba7624c66e3c173f66e44a9ba34c9cd4
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+.
runtime/uprobes2/uprobes.c
This page took 0.028332 seconds and 5 git commands to generate.