Re: [PATCH] new setprocuid syscall

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 20 Feb 2001 11:42:36 +0000 (GMT)


> + if (task)
> + task->fsuid = task->euid = task->suid = task->uid = attr->ia_uid;
> + read_unlock (&tasklist_lock);

There is an assumption in the kernel that only the task changes its own uid
and other related data.

Alan

-
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/