![]() | |||||||||||||
Messages in this thread |
On Thu, 25 Jun 1998, Horst von Brand wrote:
> Rik van Riel <H.H.vanRiel@phys.uu.nl> said:
>
> [...]
>
> > This would probably be the best solution possible. We can
> > have capabilities in the executable itself (tunable with
> > some utility?) without needing support inside the filesystems.
>
> With just some tiny proggie I change my files at will, and make them SUID
> root? And we don't honor SUID anymore, breaking POSIX?
if (file_is_suid_root()) {
p->euid = 0;
if (file_has_capabilities_support()) {
p->euid = p->uid;
p->capabilities = get_caps_from_file();
}
}
I believe this has answered your question :)
Rik.
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
| ||||||||||||
| Last update: 2005-03-22 12:43 [W:0.129 / U:0.170 seconds] ©2003-2008 Jasper Spaans | |||||||||||||