On Wed, 2004-04-21 at 15:56, Stephen Smalley wrote:
In the short term, if you want to have it fall back to the Linux uid
for
authentication purposes if the SELinux user identity is
SELINUX_DEFAULTUSER (defined in include/selinux/get_context_list.h),
then that is fine. Just don't use the Linux uid as the user identity
for the new context.
Ah, I didn't know about SELINUX_DEFAULTUSER. Cool. Patch attached
then. Tested in both the explicit user identity and default cases.