aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/prctl/prctl.pyx
diff options
context:
space:
mode:
authorqrort <qrort@yandex-team.com>2022-12-02 11:31:25 +0300
committerqrort <qrort@yandex-team.com>2022-12-02 11:31:25 +0300
commitb1f4ffc9c8abff3ba58dc1ec9a9f92d2f0de6806 (patch)
tree2a23209faf0fea5586a6d4b9cee60d1b318d29fe /library/python/prctl/prctl.pyx
parent559174a9144de40d6bb3997ea4073c82289b4974 (diff)
downloadydb-b1f4ffc9c8abff3ba58dc1ec9a9f92d2f0de6806.tar.gz
remove kikimr/driver DEPENDS
Diffstat (limited to 'library/python/prctl/prctl.pyx')
-rw-r--r--library/python/prctl/prctl.pyx14
1 files changed, 0 insertions, 14 deletions
diff --git a/library/python/prctl/prctl.pyx b/library/python/prctl/prctl.pyx
deleted file mode 100644
index 707a79c22f..0000000000
--- 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)