diff options
Diffstat (limited to 'library/python/prctl')
| -rw-r--r-- | library/python/prctl/prctl.pyx | 14 | ||||
| -rw-r--r-- | library/python/prctl/ya.make | 9 |
2 files changed, 0 insertions, 23 deletions
diff --git a/library/python/prctl/prctl.pyx b/library/python/prctl/prctl.pyx deleted file mode 100644 index 707a79c22f1..00000000000 --- a/library/python/prctl/prctl.pyx +++ /dev/null @@ -1,14 +0,0 @@ -cdef extern from "<sys/prctl.h>": - int prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5); - - -PR_SET_PDEATHSIG = 1 -PR_SET_CHILD_SUBREAPER = 36 - - -def set_pdeathsig(signum): - return prctl(PR_SET_PDEATHSIG, signum, 0, 0, 0) - - -def set_child_subreaper(val): - return prctl(PR_SET_CHILD_SUBREAPER, val, 0, 0, 0) diff --git a/library/python/prctl/ya.make b/library/python/prctl/ya.make deleted file mode 100644 index 163626e91db..00000000000 --- a/library/python/prctl/ya.make +++ /dev/null @@ -1,9 +0,0 @@ -PY23_LIBRARY() - -PY_SRCS( - prctl.pyx -) - -BUILD_ONLY_IF(WARNING LINUX) - -END() |
