Messages in this thread | | | Date | Mon, 7 Apr 2003 13:49:55 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH] Qemu support for PPC |
| |
On Mon, Apr 07, 2003 at 06:34:17PM +1000, Rusty Russell wrote: > Oh good: a serious question. Why don't we drop the personality field > in struct task_struct and just use exec_domain? Then the flags could > be unfolded from the personality number, and placed in a "flags" > element in struct exec_domain, the personality() macro would vanish, > the set_personality() macro would vanish, and things would be > generally clearer?
The personality number is exposed through sys_personality, so unfortunately we can't get rid of it. I still wonder what crack the person inviting this scheme was smoking, though..
> That applies to any kernel mod, of course. qemu is much more usable > (ie. it's sanely packagable) with this functionality, ie. it's pretty > much a requirement for increasing adoption.
You can just easily let it run in a chroot or separate namespace, you just won't get second look semantics. (Personally I think that's a benefit, but some people disagree with this).
- 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/
| |