summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-sql
diff options
context:
space:
mode:
authorAmbroz Bizjak <ambrop7@gmail.com>2017-04-02 20:29:30 +0200
committerAmbroz Bizjak <ambrop7@gmail.com>2017-04-02 21:44:06 +0200
commit35e0eea053d81f7aa933cd2747f43d3b4524c326 (patch)
tree985b3a7c5c4bd7e6cfcf476da06cedca471a7e95 /pkgs/development/python-modules/python-sql
parenta77571399d71167bf16b4183090a6f7e203d7e0f (diff)
ntpd: Allow additional syscalls in seccomp filter.
Fixes issue #21136. The problem is that the seccomp system call filter configured by ntpd did not include some system calls that were apparently needed. For example the program hanged in getpid just after the filter was installed: prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 seccomp(SECCOMP_SET_MODE_STRICT, 1, NULL) = -1 EINVAL (Invalid argument) seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=41, filter=0x5620d7f0bd90}) = 0 getpid() = ? I do not know exactly why this is a problem on NixOS only, perhaps we have getpid caching disabled. The fcntl and setsockopt system calls also had to be added.
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
0 files changed, 0 insertions, 0 deletions