On Tue, 2009-02-24 at 16:58 +0100, Andi Kleen wrote:Dhaval Giani <dhaval@xxxxxxxxxxxxxxxxxx> writes:new->euid = euid;It's normally not a good idea to add new errnos, because old glibc's
Index: linux-2.6/include/asm-generic/errno.h
===================================================================
--- linux-2.6.orig/include/asm-generic/errno.h
+++ linux-2.6/include/asm-generic/errno.h
@@ -106,4 +106,6 @@
#define EOWNERDEAD 130 /* Owner died */
#define ENOTRECOVERABLE 131 /* State not recoverable */
+#define ENOTIME 132 /* No time available to run process */
strerror()s won't know about it.
There are also so many around that you surely will find an existing
one which sounds appropiate.
Feel free to suggest one, I've read over all these error thingies
several times and non really stood out.
We tried ENOSPC, but people thought that weird too.