Details
[Home]
Issue of the Standard # S0807
Brief
LSB sysconf specification is not safe relative to POSIX update
Detailed Description
LSB sysconf specification refers POSIX-2004 that reads:
_POSIX_ADVISORY_INFO The implementation supports the Advisory Information option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.
At the same POSIX-2008 reads as follows:
_POSIX_ADVISORY_INFO The implementation supports the Advisory Information option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200809L. The value of this symbol reported by sysconf() shall either be -1 or 200809L.
glibc since version 2.10 has been already switched to the new POSIX, so values returned by sysconf() on leading edge distributions contradicts to formal LSB requirements.
Problem location(s) in the standard
Linux Standard Base Core Specification 4.0
Accepted
LSB Bugzilla, 2701
[Home]
»