lkml.org 
[lkml]   [2009]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: RT scheduling and a way to make a process hang, unkillable
From
Date
Dhaval Giani <dhaval@linux.vnet.ibm.com> writes:
> new->euid = euid;
> 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 */

It's normally not a good idea to add new errnos, because old glibc's
strerror()s won't know about it.

There are also so many around that you surely will find an existing
one which sounds appropiate.
-Andi

--
ak@linux.intel.com -- Speaking for myself only.


\
 
 \ /
  Last update: 2009-02-24 17:03    [W:0.094 / U:1.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site