1--- ./test_prctl.py 2018-01-26 16:02:52.000000000 -0500
2+++ ./test_prctl.py 2018-06-21 18:26:43.370065009 -0400
3@@ -154,6 +154,7 @@
4 prctl.set_keepcaps(False)
5 self.assertEqual(prctl.get_keepcaps(), False)
6
7+ @unittest.skip("No access to /proc in the Nix build sandbox")
8 @require('set_mce_kill')
9 def test_mce_kill(self):
10 """Test the MCE_KILL setting"""
11@@ -173,6 +174,7 @@
12 prctl.set_name(name)
13 self.assertEqual(prctl.get_name(), name[:15])
14
15+ @unittest.skip("The Nix build sandbox has no_new_privs already enabled")
16 @require('get_no_new_privs')
17 def test_no_new_privs(self):
18 """Test the no_new_privs function"""
19@@ -189,6 +191,7 @@
20 self.assertNotEqual(sp.returncode, 0)
21 os._exit(0)
22
23+ @unittest.skip("No access to /proc in the Nix build sandbox")
24 def test_proctitle(self):
25 """Test setting the process title, including too long titles"""
26 title = "This is a test!"
27@@ -225,6 +228,7 @@
28 os._exit(0)
29 self.assertRaises(OSError, prctl.set_ptracer, new_pid)
30
31+ @unittest.skip("The Nix build sandbox has seccomp already enabled")
32 @require('get_seccomp')
33 def test_seccomp(self):
34 """Test manipulation of the seccomp setting"""