Set user xattrs and patch cffi for PaX

Information

ID: 210
PHID: PHID-TASK-xuufugvactrf5zh2fvu5
Author: John
Status at Migration Time: invalid
Priority at Migration Time: Wishlist

Description

Currently, whonixcheck and sdwdate don’t work with a kernel patched with grsecurity. This is because of two problems:

  • /usr/bin/python2.7 is not labelled with user.pax.flags=‘E’
  • cffi tries to create rwx pages

The first is easy to fix, just setfattr -n user.pax.flags -v E /usr/bin/python2.7

The second requires a patch¹. Given that Whonix uses Debian stable, I’m guessing that it will take a Very Long Time Indeed until a working release ends up in Whonix without preemptive action.

¹ https://bitbucket.org/cffi/cffi/issue/177/foo-segfaults-with-grsec-denied-rwx-mmap

Comments


Patrick

2015-03-03 15:20:09 UTC


John

2015-03-04 08:32:18 UTC


Patrick

2015-03-04 16:22:40 UTC


John

2015-03-23 02:21:10 UTC


HulaHoop

2015-05-20 13:16:36 UTC


John

2015-05-21 21:24:35 UTC


HulaHoop

2015-05-22 02:15:49 UTC


John

2015-05-22 02:52:38 UTC


HulaHoop

2015-05-22 05:28:02 UTC


John

2015-05-22 05:56:30 UTC


HulaHoop

2017-04-29 16:20:49 UTC