News for hackers. Stuff that matters.
Re:No More Blue Fridays by xg15 on Monday July 22, 2024 @08:51AM (#41033795)
> In the future, computers will not crash due to bad software updates, even those updates that involve kernel code. In the future, these updates will push eBPF code.

Assuming every security critical system will be on a recent enough kernel to support this...

Re:No More Blue Fridays by dredmorbius on Monday July 22, 2024 @10:05AM (#41034528)
Considering the number of systems running very obsolete OSes these days: WinNT (4x or 3x), Windows, DOS, or various proprietary Unixen, stale Linux flavours, etc., etc., ... yes, quite.
Re:No More Blue Fridays by dijit on Monday July 22, 2024 @09:07AM (#41033905)
And assuming there's no bugs in the BPF code...

Oh wait: https://news.ycombinator.com/item?id=41031699

Re:No More Blue Fridays by efee22 on Monday July 22, 2024 @09:13AM (#41033978)
RHEL kernel.. right. Imho, I'd trust an upstream stable kernel far more than a RHEL one for production which has dozen of feature backports and an internal kABI to maintain.. granted RH has a QA team, but it is still impossible to test everything beforehand.
Re:No More Blue Fridays by worthless-trash on Monday July 22, 2024 @09:36AM (#41034213)
On the upside, non root users can't insert ebpf code, so its a priv'ed operation, not like other distros.
Re:No More Blue Fridays by nequo on Monday July 22, 2024 @10:18AM (#41034690)
Isn’t it tied to CAP_BPF on every distro since the 5.8 kernel?

https://mdaverde.com/posts/cap-bpf/

Re:No More Blue Fridays by worthless-trash on Tuesday July 23, 2024 @04:20AM (#41043826)
Rhel8 is based on 4.18 RHEL9 is based on 5.14 , i think it still has the same restriction ( kernel.unprivileged_bpf_disabled ).

I reckon Red Hat may duplicate upstreams behavior by RHEL10.

Re:No More Blue Fridays by efee22 on Monday July 22, 2024 @09:04AM (#41033887)
I think with a LTS distribution you should get very far these days when it comes to implementing such sensors.
Re:No More Blue Fridays by chasil on Monday July 22, 2024 @10:37AM (#41034933)
On rhel8 variants, you can use the Oracle UEK to get eBPF.

https://blogs.oracle.com/linux/post/oracle-linux-and-bpf

  $ cat /etc/redhat-release /etc/oracle-release /proc/version
  Red Hat Enterprise Linux release 8.10 (Ootpa)
  Oracle Linux Server release 8.10
  Linux version 5.15.0-203.146.5.1.el8uek.x86_64 (mockbuild@host-100-100-224-48) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9.2.0.1), GNU ld version 2.36.1-4.0.1.el8_6) #2 SMP Thu Feb 8 17:14:39 PST 2024