Re: [PATCH RESEND] lockdown: Allow unprivileged users to see lockdown status

2020-05-14 Thread James Morris
On Thu, 14 May 2020, Jeremy Cline wrote: > A number of userspace tools, such as systemtap, need a way to see the > current lockdown state so they can gracefully deal with the kernel being > locked down. The state is already exposed in > /sys/kernel/security/lockdown, but is only readable by root.

[PATCH RESEND] lockdown: Allow unprivileged users to see lockdown status

2020-05-14 Thread Jeremy Cline
A number of userspace tools, such as systemtap, need a way to see the current lockdown state so they can gracefully deal with the kernel being locked down. The state is already exposed in /sys/kernel/security/lockdown, but is only readable by root. Adjust the permissions so unprivileged users can r