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

Bug#834706: libc6-dev: needs versioned dependency on linux-libc-dev for SYS_getrandom



On 2016-08-18 09:53, Lionel Elie Mamane wrote:
> Package: libc6-dev
> Version: 2.23-4
> Severity: serious
> Justification: Policy 3.5
> 
> /usr/include/x86_64-linux-gnu/bits/syscall.h
> contains
> #define SYS_getrandom __NR_getrandom
> but that is not defined in stable's linux-libc-dev (version
> 3.16.7-ckt25-2 and security update 3.16.7-ckt25-2+deb8u3).

bits/syscall.h is autogenerated from linux-libc-dev, so it indeeds
contains the latest definition from this fine. This is not something
new, this has always been like that.

> For this #define to work, libc6-dev needs a versioned depends on a
> newer version of linux-libc-dev. The version now in sid and testing
> (4.6.4-1) works but probably the requirement is more lax than that.

I am not sure about that. This kind of new features are usually detected
by the configure scripts of the software, given anyway that the presence
of the syscall definition doesn't imply that the running kernel has
support for it. Also I am not sure Policy 3.5 applies there, most of the
packages work correctly there, so the dependency is not "required" for
packages to "work correctly".

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: