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

Bug#908570: linux 4.18: dmesg readable as normal user



Source: linux
Version: 4.18.6-1

Unfortunately I have experienced this on a rebuilt package and cannot easily test with the one actually in Debian unstable, but for me dmesg seems to work as a normal user again. "cat /dev/kmsg" just works:

[...]
open("/dev/kmsg", O_RDONLY|O_NONBLOCK)  = 3
lseek(3, 0, SEEK_DATA)                  = 0
read(3, "5,0,0,-;Linux version 4.18.0-1ro"..., 8191) = 157
[...]

% grep DMESG /boot/config-4.18.0-1rodete1-amd64
CONFIG_SECURITY_DMESG_RESTRICT=y

(We do very, very minimal patching to the kernel to make it work for us, hence the different ABI version. And it'd really help us if the ABI version were to be bumped with every upload.)

Kind regards and thanks
Philipp Kern


Reply to: