Re: [PATCH, local root on 2.4, 2.6?] compute_creds race

From: Chris Wright
Date: Fri Apr 09 2004 - 15:45:11 EST


* Andy Lutomirski (luto@xxxxxxxxxxxxx) wrote:
> The setuid program is now running with uid=euid=500 but full permitted
> capabilities.

Yes, dropping and regaining the lock is asking for trouble. Thank you for
catching this. I don't have an issue with changing the interface name.
I guess the only question I have is if it's better to leave the setuid
handling in the core, and move the newly named hook under the task_lock()?

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/