hyperboria / bugs

Peer-to-peer IPv6 networking, secure and near-zero-conf.
154 stars 17 forks source link

warning: process `cjdroute' used the deprecated sysctl system call with 1.40.6. #70

Closed kpcyrd closed 8 years ago

kpcyrd commented 8 years ago

A bug has been reported to the arch package:

[ 82.480304] warning: process `cjdroute' used the deprecated sysctl system call with 1.40.6.

This is triggered by crypto/random/seed/LinuxRandomUuidSysctlRandomSeed.c.

int mib[] = { CTL_KERN, KERN_RANDOM, RANDOM_UUID };
[...]
if (sysctl(mib, 3, output, &sixteen, NULL, 0)

Reference: https://lwn.net/Articles/247237/

Kubuxu commented 8 years ago

I can take that one.

Edit: after talk with cjd it isn't that easy because of sandboxing which disallows access to files, so no /proc/sys. The only option would be a compile flag to disable it.

kpcyrd commented 8 years ago

Fixed in cjdelisle/cjdns#857. Thanks @Kubuxu