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