Fair enough, however by hard coding a lot of new pointers and links everywhere
you are making the task unnecessarily more difficult for the person who
*does* want to look at the filesystem point of view. Please could you at
least hide the details of the location of all these elements in
macros/inlined functions.
IOW: if you could write something like
x = current_fsuid();
set_current_euid(y);
instead of
x = current->cred->fsuid;
current->cred->euid = y;
then this would make a later transition to current->cred->ucred a lot easier.
In addition, it might also make it possible to share future code with 2.4.x
via a set of compatibility routines.
Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/