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:	Wed, 04 Apr 2007 18:36:47 -0400
From:	Valdis.Kletnieks@...edu
To:	William Lee Irwin III <wli@...omorphy.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: per-thread rusage

On Wed, 04 Apr 2007 10:29:31 PDT, William Lee Irwin III said:

> Index: anon/include/linux/resource.h
> ===================================================================
> --- anon.orig/include/linux/resource.h	2007-04-04 09:57:41.239118534 -
0700
> +++ anon/include/linux/resource.h	2007-04-04 09:57:59.840178548 -0700
> @@ -18,7 +18,8 @@
>   */
>  #define	RUSAGE_SELF	0
>  #define	RUSAGE_CHILDREN	(-1)
> -#define RUSAGE_BOTH	(-2)		/* sys_wait4() uses this */
> +#define RUSAGE_THREAD	(-2)
> +#define RUSAGE_BOTH	(-3)		/* sys_wait4() uses this */

Umm.. I'm having a high-idiot-quotient day today, but don't you want to
leave _BOTH at -2 and put _THREAD at -3, to avoid an ABI breakage?

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ