[Vm-dev] Pi vm builds need a priority checker applet
tim at rowledge.org
Wed Aug 17 22:17:05 UTC 2016
A persistent problem with the PI vm is that users of xrdp need to wrap the start-up in ‘sudo -E’ because.. well, never mind, unix is just plain stupid. Whatever the issue, we can test for the problem of needing to use sudo by running a trivial test program in the shell script; all it does is try changing a thread priority and returns whether it worked or not.
So far as I know this is only an issue on the Pi but then I don’t use an x86 linux machine. I’d imagine any machine with an older kernel might need the check too but others will have to say. If it is of use to general linux machines then it is pretty obvious that we should put the source in platforms/unix/vm and add the build to the general make process. It if is really only a Pi issue then maybe someone has a strong view on having the source/build elsewhere. Any thoughts?
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: SDP: Search and Destroy Pointer
More information about the Vm-dev