Re: [boinc_dev] Environment variables : suggestions

2011-02-22 Thread Bernd Machenschalk
Nicolás Alvarez wrote, On 22.02.11 04:19:

 Huh? Linux passes environment variables to setuid-root processes too.

[...]

 The security comes from the fact that LD_LIBRARY_PATH and LD_PRELOAD
 are ignored by the dynamic loader (regardless of who set them) if the
 binary has the setuid or setgid bits on.

Thanks for the clarification. I remember hving seen some code that 
filters the environment for variables like LD_LIBRARY_PATH, possibly in 
BSD Unix, maybe pretty old.

Anyway, the point remains that passing LD_LIBRARY_PATH and 
DYLD_LIBRARY_PATH to setuid root programs on Mac OS X doesn't have the 
desired effect, and this is not a bug, but an intentional security 
feature of the OS.

Best,
Bernd

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Re: [boinc_dev] Linux driver detection

2011-02-22 Thread David Anderson
The NVIDIA Linux drivers don't return driver version for some reason.
But they return CUDA version, which is the important part anyway.
-- David

On 22-Feb-2011 4:34 AM, Bernd Machenschalk wrote:
 Hi!

 It looks like the NVidia driver version detection in the BOINC doesn't
 work at least for the new Linux Beta driver version 270 from NVidia.

 (http://einstein.phys.uwm.edu/forum_thread.php?id=8761#110707)

 Is this limited to certain versions of the BOINC Core Client, and is
 there something (workaround?) a project could do about this?

 Best,
 Bernd

 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.