summaryrefslogtreecommitdiff
path: root/psutil/_pslinux.py
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2020-10-23 19:57:17 +0200
committerGitHub <noreply@github.com>2020-10-23 19:57:17 +0200
commit89ae354ab7704db69a3f6c880234d21719558511 (patch)
treeb8a87ef018d4f0e7cef48111bfe001390224ba8c /psutil/_pslinux.py
parentba083a0eea87331b67b57c3c83e8cc53faa12b10 (diff)
downloadpsutil-89ae354ab7704db69a3f6c880234d21719558511.tar.gz
[FreeBSD] process resource limits (#1859) (#809)
Diffstat (limited to 'psutil/_pslinux.py')
-rw-r--r--psutil/_pslinux.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/psutil/_pslinux.py b/psutil/_pslinux.py
index d5ce358c..683cef5d 100644
--- a/psutil/_pslinux.py
+++ b/psutil/_pslinux.py
@@ -80,12 +80,6 @@ HAS_PROC_IO_PRIORITY = hasattr(cext, "proc_ioprio_get")
HAS_CPU_AFFINITY = hasattr(cext, "proc_cpu_affinity_get")
_DEFAULT = object()
-# RLIMIT_* constants, not guaranteed to be present on all kernels
-if HAS_PRLIMIT:
- for name in dir(cext):
- if name.startswith('RLIM'):
- __extra__all__.append(name)
-
# Number of clock ticks per second
CLOCK_TICKS = os.sysconf("SC_CLK_TCK")
PAGESIZE = os.sysconf("SC_PAGE_SIZE")