Landlock was released in Linux 5.13, in 2021. Pledge was released in OpenBSD 5.9, in 2016. As far as I'm aware, Pledge is the first of its kind.
Landlock was released in Linux 5.13, in 2021. Pledge was released in OpenBSD 5.9, in 2016. As far as I'm aware, Pledge is the first of its kind.
I found the announcement email for Landlock posted to the lkml[1] where the author compares the project to Pledge. There's also his talk[2] from 2016 if you're interested. I was certain landlock predated pledge, as I thought the website or earliest talk was from late 2015, but I am less certain now, indeed I seem to have been wrong in my claim.
As for either being the first, at the very least Seatbelt from Apple has a paper dated 2011[3] and was released with macOS 10.5.
[1] https://lwn.net/Articles/700607/
[2] https://archives.kernel-recipes.org/document/landlock-lsm-un...
[3] https://www.ise.io/wp-content/uploads/2017/07/apple-sandbox....
https://www.openbsd.org/papers/tame-fsec2015/
I'll concede that's less likely and I'm probably just wrong and misremembering though.