python-prctl icon indicating copy to clipboard operation
python-prctl copied to clipboard

Wrapping prctl for python

Results 10 python-prctl issues
Sort by recently updated
recently updated
newest added

I guess you may ignore this if you want But we are trying to build this for conda-forge and pypy and are running into troubles because this seems to use...

After upgrading to Python 3.10, I think this library doesn't working...

Closes https://github.com/seveas/python-prctl/issues/35 - Used the compiler set by `CC` - Taking into account the `CPPFLAGS` - Ensure to test for "truthyness" of environment variables more correctly. - Enable users to...

When trying to build the package on a non-standard system, the helpful error messages make the build process fail prematurely. The issue is that on certain build system, one needs...

My program crashed if `Py_DEBUG` is enabled. This is because `Py_XDECREF(bytesstr)` in `Py_DEBUG` mode: dealloceted memory and fills it with `0xDD` (`DEADBYTE`) As a consequence `str` indicates garbage -> segfault

test_speculation_ctrl calls `prctl(PR_SET_SPECULATION_CTRL, PR_SPEC_STORE_BYPASS, PR_SPEC_ENABLE)`, but when running on a kernel where someone has previously called `prctl(PR_SET_SPECULATION_CTRL, PR_SPEC_STORE_BYPASS, PR_SPEC_FORCE_DISABLE)`, this will always fail. We ran into this in the Nix...

Avoids test failure on environments where PR_SPEC_FORCE_DISABLE is already set by skipping the enable step. Fixes: https://github.com/seveas/python-prctl/issues/31

8192 is hardcoded in https://github.com/seveas/python-prctl/blob/main/_prctlmodule.c#L467