|
From: Steve G <lin...@ya...> - 2003-10-14 23:15:43
|
>setuid programs can't have preloads.
That should be easy to detect at startup in valgrind proper.
stat() should have it in the st_mode variable:
stat(execname, &st);
if (st.st_mode & S_ISUID) {
puts("setuid programs cannot have LD_PRELOAD
libraries...aborting.");
exit(1);
}
-Steve Grubb
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
|