On Fri, 18 Dec 1998, David S. Miller wrote: > We already do stuff like this, see sys_getppid(). unrelated, but i dont think sys_getppid() is conceptually safe. We could theoretically have the parent switched twice under us, with allocation-reuse, which makes us accept a pid taken from a structure that was not allocated at the time of dereferencing ... This is extremely unlikely, and we dont care much about the parent pid in this case, but what if the invalid parent pid happens to be a pid of a security-relevant process, and the getppid() is done as root. (even more unlikely but theoretically possible ;) just nitpicking, -- mingo - Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/ To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]
- Re: [PATCH] Scheduling problems wrt SMP MOLNAR Ingo
- Re: [PATCH] Scheduling problems wrt SMP Neil Conway
- Re: [PATCH] Scheduling problems wrt SMP Rik van Riel
- Re: [PATCH] Scheduling problems wrt SMP David S. Miller
- Re: [PATCH] Scheduling problems wrt SMP Alan Cox
- Re: [PATCH] Scheduling problems wrt SMP David S. Miller
- Re: [PATCH] Scheduling problems wrt ... Alan Cox
- Re: [PATCH] Scheduling problems wrt ... MOLNAR Ingo
- Re: [PATCH] Scheduling problems ... Alan Cox
- Re: [PATCH] Scheduling problems ... Linus Torvalds
- Re: [PATCH] Scheduling problems ... MOLNAR Ingo
- Re: [PATCH] Scheduling problems ... Alan Cox
- Re: [PATCH] Scheduling problems wrt SMP Linus Torvalds
- Re: [PATCH] Scheduling problems wrt SMP MOLNAR Ingo
- Re: [PATCH] Scheduling problems wrt ... Linus Torvalds
- Re: [PATCH] Scheduling problems ... MOLNAR Ingo
- Re: [PATCH] Scheduling problems ... David S. Miller
- Re: [PATCH] Scheduling problems ... Linus Torvalds
