MCPcopy Create free account
hub / github.com/pydata/numexpr / sestatus_allow_execmem

Method sestatus_allow_execmem

numexpr3/cpuinfo.py:150–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148
149 @staticmethod
150 def sestatus_allow_execmem():
151 return run_and_get_stdout(['sestatus', '-b'], ['grep', '-i', '"allow_execmem"'])[1].strip().lower().endswith('on')
152
153 @staticmethod
154 def dmesg_a():

Callers 1

__init__Method · 0.80

Calls 1

run_and_get_stdoutFunction · 0.85

Tested by

no test coverage detected