This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PRIO_MAX value incorrect on Linux


2014-02-08 22:44 GMT+04:00 Phillip Susi <psusi@ubuntu.com>:
> PRIO_MAX



# grep -rnHw PRIO_MAX /usr/include/
/usr/include/linux/resource.h:55:#define PRIO_MAX 20
/usr/include/x86_64-linux-gnu/sys/resource.h:93:   priority.
Priorities range from PRIO_MIN to PRIO_MAX (above).  */
/usr/include/x86_64-linux-gnu/bits/resource.h:288:#define PRIO_MAX 20
/* Maximum priority a process can have.  */

# dpkg -S /usr/include/linux/resource.h
linux-libc-dev:amd64: /usr/include/linux/resource.h

# dpkg -s linux-libc-dev
Package: linux-libc-dev
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 3259
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: amd64
Multi-Arch: same
Source: linux
Version: 3.12.9-1
Replaces: linux-kernel-headers
Provides: linux-kernel-headers
Conflicts: linux-kernel-headers
Description: Linux support headers for userspace development
 This package provides userspaces headers from the Linux kernel.  These
 headers are used by the installed headers for GNU libc and other system
 libraries.
Homepage: https://www.kernel.org/


>From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=89089:
Something else must be wrong then, because in the kernel source (for
2.2.x and 2.4.x) it also defines it to 20 in linux/resource.h. So glibc
is just remaining consistent with the kernel headers.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]