> On Mar 24, 2016, at 00:50, Simon Lees <sfl...@suse.de> wrote: > > > >> On 03/24/2016 03:09 PM, Carsten Haitzler (The Rasterman) wrote: >> On Wed, 23 Mar 2016 19:15:38 -0400 Eric McCorkle <e...@metricspace.net> said: >> >>> Ok, I cracked it. >>> >>> modules/cpufreq/e_mod_main.c >>> >>> In _cpufreq_face_update_available >>> >>> If count is 0, then you get an integer underflow and end up passing a huge >>> number to malloc. The code probably ought to check for 0 and do nothing in >>> that case. >>> >>> It looks like there is a little suid program that reads the frequency, and >>> my >>> system is set up with nosuid on the lib directory. That's one theory as to >>> why this problem emerges with ZFS. I'll try turning off nosuid and see what >>> happens. >> >> 1b73bedd4d796b530c0afca29532290b7ebed373 >> >> will make it "handle" the lack of frequencies - but you still have a bug >> thanks >> to no setuid bit. we cant help you there. :) need it to mess with cpu power >> management for the user. > > One mans bug is another mans security feature, you only need to fix it > if you want to manually play with your CPU's frequencies, If your happy > for the kernel to do that for you automagically the widget will still > give you nice frequency readings without enabling the suid bit.
The BSDs tend to make stricter assumptions about UNIX conventions. In this case, the expectation is that programs like this would live in /usr/local/libexec, and indeed, that one has suid enabled. Note: I'm not saying you should reorganize everything this way, just explaining why you'd see this on BSDs. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users