[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#297769: glibc: sched_setaffinity() provides obsolete interface



Package: glibc
Severity: grave
Justification: renders package unusable


The current Sarge glibc still provides the obsolete 2-argument
interface for sched_setaffinity().  As more software is starting to
use this system call, this is becoming a real issue because developers
will have to create a special version just for Debian.

Specifically, <sched.h> in libc6{,.1} currently declares:

 extern int sched_setaffinity (__pid_t __pid, __const cpu_set_t *__mask)
     __THROW;

whereas the proper interface has 3 arguments:

 extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
			       __const cpu_set_t *__cpuset) __THROW;

(likewise for sched_getaffinity()).

Please fix this problem before Sarge goes out the door.

	--david

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: ia64
Kernel: Linux 2.6.11-rc2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)



Reply to: