[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Error message for the failure to create heartbeat thread is too specific. (#540)

dcstes notifications at github.com
Thu Dec 10 19:54:27 UTC 2020


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


By the way, there seems to be an alternative to running the Squeak VM
in a profile which raises the privilege temporarily.

It also seems possible to permanently raise the privilege, for example,
in a zone by the /etc/security/policy.conf file.

   # grep proc_priocntl /etc/security/policy.conf 
     PRIV_DEFAULT=basic,proc_priocntl

By raising the PRIV_DEFAULT to also allow process/light weight processes
(threads) to set their own priority (which is not by default allowed),
it is possible to get rid of the pthread_setschedparam() warning.

Now permanently allowing this for all threads is best limited,
in a zone (a jail) inside the operating system, by setting the limit of 
the zone to:

# zonecfg -z newt info | grep limitpriv
limitpriv: default,proc_priocntl

David Stes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJf0nyPAAoJEAwpOKXMq1MaJoAIAJQwLdN/oTJTPvg4QwNdemJl
dOgB5GGlu4q8dHTb0G2lubcIXHSuQbtOOAIMsY7H3nxvYbjX91jJbeLnOp71RpGu
xq5tL8MWuTVP8ocEs+UOFkyMb+emDK9ox0OGynI/HwyWsJmpXaU8/X10NbJiPqGa
UCZ0q1CE3MEjcvGTcABIjUZ3TQdQ2Hc0XTbfNF+aZBKW9k76u7Q5/ULmvhajO0gd
SAak4I8OfoecaJenqWRK+2oi+R2Ih98DzKGtoVQnaCwmkZJGv0eBQ14+YiuKA8c7
mod4xkR7zyMu6YhaoZ3jmZNmUQ6/LZ2rITSXIHvHs3Rlq7KXKrAyaDPRnw52/Rs=
=Ihdi
-----END PGP SIGNATURE-----

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/540#issuecomment-742758712
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20201210/3bf8260e/attachment.html>


More information about the Vm-dev mailing list