Messages in this thread | | | Date | Wed, 1 Dec 2004 09:38:17 +0100 (MET) | From | Jan Engelhardt <> | Subject | Re: [patch] inotify: a replacement for dnotify |
| |
>> + 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |