Re: [PATCH V35 23/29] bpf: Restrict bpf when kernel lockdown is in confidentiality mode

From
Matthew Garrett <hidden>
Date
2019-07-16 20:32:47
Also in
linux-api, lkml, netdev
Reply to
Daniel Borkmann, 2019-07-15
On Mon, Jul 15, 2019 at 3:54 PM Daniel Borkmann [off-list ref] wrote:
Hmm, does security_locked_down() ever return a code > 0 or why do you
have the double check on return code? If not, then for clarity the
ret code from security_locked_down() should be checked as 'ret < 0'
as well and out label should be at the memset directly instead.
It doesn't, so I'll update. Thanks!
Thread (38 messages) 38 messages, 6 authors, last reply 2019-07-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help