Re: [patch] inotify: a replacement for dnotify

From: Jan Engelhardt
Date: Wed Dec 01 2004 - 03:42:04 EST


>> + user = find_user(current->user->uid);
>> + if (!user)
>> + return -ENOMEM;
>
>Can just be:
>
> get_uid(current->user);

What about current->euid?



Jan Engelhardt
--
ENOSPC
-
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/