Live data from Hacker News

Killswitch: Per-function short-circuit mitigation primitive

lwn.net

21–25 of 25 posts

Re: Killswitch: Per-function short-circuit mitigation primitive

#22

Could something like this also be done via BPF?

That’s how this[0] project mitigates e.g. CopyFail.

BPF LSM if you want to return -EPERM.

Or a kprobe that kills the process via bpf_send_signal() if BPF LSM isn’t enabled.

[0] https://github.com/cozystack/copy-fail-blocker#how-it-works

Re: Killswitch: Per-function short-circuit mitigation primitive

#25

Earlier quoted context omitted.

ring0 loadable kernel modules disagree.

Only to the extent there is not a deeply embedded core, of course. Or SMM

Neither of those are LSM though right ?
Post reply on HN