[Hackrf-dev] Python JIT memory alloc error

Rick "Zero_Chaos" Farina zerochaos at gentoo.org
Wed Mar 11 23:06:24 EDT 2015


On 03/10/15 23:25, Daniel De Jager wrote:
> I believe I've found a solution.
> It's actually rather simple
> Just execute the following two commands
> 
thanks for posting this.  This is a problem caused by grsec tightening
security on systems.  While this is not very standard across linux
systems, Pentoo in particular does this by default (although a
non-hardened option is available).  In pentoo, it is possible to disable
most of the grsec protections with the handy script "toggle_hardened".
Using this script to temporarily disable hardening for certain tasks,
and then reenable it after you are done is an additional option for
users to consider.  Both should work, however, each has benefits and
drawbacks.
> 
>> paxctl -m `which python`
this shouldn't be needed at all, all gnuradio type stuff is python 2.7
at this time.
>> paxctl -m `which python2.7`
This works, however the following command is more preferred:
paxctl-ng -m `which python2.7`

Thanks,
Zero_Chaos
> 
> 
> This alters the memory protection on the python executibles and allows it
> (or its heirs) to allocate RWX
> Is it the best or most secure solution? Hell no.
> But it gets the system working for those of us that don't want to go
> patching random libraries just to do a few SDR lessons :)
> 
> Daniel De Jager|Chief Science Officer
> phone:
> (253) 693-8774
> email:
> danielmiester at gmail.com
> 
> 
> 
> _______________________________________________
> HackRF-dev mailing list
> HackRF-dev at greatscottgadgets.com
> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20150311/60881cd5/attachment.pgp>


More information about the HackRF-dev mailing list