• Landlock LSM

    From Alys W to All on Mon Mar 3 07:55:13 2025
    Hello all! I wanted to start a discussion about the Landlock LSM because I got autistically obsessed over it :3

    What do you think of it?
    Do you think it's beneficial, crucial maybe?
    ┌────┐
    │ :3 │
    └────┘
  • From Karel Kral@2:423/39 to Alys W on Mon Mar 3 17:49:24 2025
    Hello Alys!

    03 Mar 25 07:55, you wrote to All:

    Hello all! I wanted to start a discussion about the Landlock LSM
    because I got autistically obsessed over it :3

    Heard first time about it. What is advantage against SELinux?

    Karel

    --- GoldED+/LNX 1.1.5-b20240209
    * Origin: Plast DATA (2:423/39)
  • From Alys W to Karel Kral on Mon Mar 3 09:24:36 2025
    Re: Re: Landlock LSM
    By: Karel Kral to Alys W on Mon Mar 03 2025 05:49 pm

    I'm pretty sure that SELinux is a bunch of kernel modifications and LSM's, whereas Landlock LSM is 1 module that can sandbox processes to mitigate fatal failure, the spread of Malware, etc...

    Feel free to correct me on any error though!
    ┌────┐
    │ :3 │
    └────┘
  • From Karel Kral@2:423/39 to Alys W on Mon Mar 3 19:28:31 2025
    Hello Alys!

    03 Mar 25 09:24, you wrote to me:

    I'm pretty sure that SELinux is a bunch of kernel modifications and
    LSM's, whereas Landlock LSM is 1 module that can sandbox processes to mitigate fatal failure, the spread of Malware, etc...

    Reading more artciles about it. Looks like the most difference is that Landlock is available for unpriviledged users to limit their processes where SELinux is managed from priveledged account (administration).

    (if documentation is actual what I see) there is some part missing to tackle: networking (at least what I see, added recently/month ago).

    Last but not least: landlock can not protect itself against beeing tampered. To protect Landlock you need admin level behind (like SELinux).

    For sure I will check that, when I have time. Thank you for tip.

    (Unfortunatelly I am not experienced enough to have deeper insigt).

    Karel

    --- GoldED+/LNX 1.1.5-b20240209
    * Origin: Plast DATA (2:423/39)
  • From Alys W to Karel Kral on Mon Mar 3 11:57:59 2025
    Re: Re: Landlock LSM
    By: Karel Kral to Alys W on Mon Mar 03 2025 07:28 pm

    Huh... I see. Didn't know that (flyread the docs) but that's cool! :3
    ┌────┐
    │ :3 │
    └────┘