This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1184] User stack data corruption by calling sched_getaffinity() and limitation of number of cpus
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 28 Sep 2005 05:33:23 -0000
- Subject: [Bug libc/1184] User stack data corruption by calling sched_getaffinity() and limitation of number of cpus
- References: <20050809003728.1184.fenghua.yu@intel.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2005-09-28 05:33 -------
The cpu_set_t type is currently 1024 bits and can only ever grow. This is why
there is a size parameter. It does not exist to allow a programmer to pass in a
pointer to an object other than cpu_set_t. Therefore every program which sees
problems is broken.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=1184
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.