Name: Anonymous 2009-03-06 13:07
Quick question /prog/
Say you have a program with the setuid bit on to allow others to read from a protected logfile. If you use setuid(getuid()) right after opening the file as read-only, will you still be able to read from the file?
Say you have a program with the setuid bit on to allow others to read from a protected logfile. If you use setuid(getuid()) right after opening the file as read-only, will you still be able to read from the file?