lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 24 Feb 2009 13:29:10 -0600
From:	"Chris Friesen" <cfriesen@...tel.com>
To:	Peter Zijlstra <peterz@...radead.org>
CC:	Andi Kleen <andi@...stfloor.org>,
	Dhaval Giani <dhaval@...ux.vnet.ibm.com>,
	Corey Hickey <bugfood-ml@...ooh.org>,
	linux-kernel@...r.kernel.org,
	Bharata B Rao <bharata@...ux.vnet.ibm.com>,
	Balbir Singh <balbir@...ibm.com>,
	Srivatsa Vaddagiri <vatsa@...ux.vnet.ibm.com>,
	Ingo Molnar <mingo@...e.hu>, mtk.manpages@...il.com,
	Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: RT scheduling and a way to make a process hang, unkillable

Peter Zijlstra wrote:
> On Tue, 2009-02-24 at 16:58 +0100, Andi Kleen wrote:
>> Dhaval Giani <dhaval@...ux.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.
> 
> 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.

What about EDQUOT, as in "the user you're trying to become has no quota".

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ