Messages in this thread | | | Date | Wed, 23 Dec 2009 20:31:12 +0100 | From | Andi Kleen <> | Subject | Re: [PATCH] prctl: return MCE process flags through pointer |
| |
> Sorry, I wasn't aware of any published API, PR_MCE_KILL and KILL_GET just got accepted into mainline.
An API is published as soon as the kernel including it is released.
> > I just noticed that these new options didn't follow the conventions of most prctl() options. There is only one option newer than 2.3.48 that uses return-as-function-result, and that one is essentially a no-op.
We could have fixed it if you had mentioned that during code review before 2.6.32, but now it's too late (at least unless it would have been fundamentally broken or something like that, but I don't think that's the case)
-Andi
-- ak@linux.intel.com -- Speaking for myself only.
| |