> + 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 _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: [PATCH] new setprocuid syscallPeter Samuelson <peter _at_ cadcamlab.org>
- Re: [PATCH] new setprocuid syscallPeter Samuelson <peter _at_ cadcamlab.org>
- Prev by Date: Re: [lkml]2.2.19pre13: Are there network problem with a low-bandwidth link?
- Next by Date: Re: kernel problems
- Prev by thread: Re: [PATCH] new setprocuid syscall
- Next by thread: Re: [PATCH] new setprocuid syscall
- Indexes:[Main][Thread]