On Wed, Dec 05, 2001 at 10:01:38AM +1100, John Clarke wrote: > On Tue, Dec 04, 2001 at 07:11:08PM +1100, Andrew Bennetts wrote: > > > If it's dynamically linked, he could write an LD_PRELOAD wrapper that > > sets SO_REUSEADDR when the program calls socket(2) or bind(2) or > > something like that. > > Except if the server is running as root ... isn't LD_PRELOAD ignored for > root, or is that just suid root programs?
Just for suid, I believe, but I could be wrong. It's pretty easy to see why it's ignored for suid; if you could override arbitrary functionality of an suid program, you'd have a really easy way to run stuff as root. -Andrew. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
