HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
landlock-lsm
linux
C2025–2025
landlock-lsm / linux

linux

Linux kernel - See Landlock issues

2Distinct people
2Mentions
0Explicit recommenders
48GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Linux kernel - See Landlock issues

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2025-11-30 10:12:04 UTC to 2025-11-30 18:08:54 UTC.

012025-11-30 10:00:00 UTC to 2025-11-30 11:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsNov 30, 10:002025-11-30 11:00:00 UTC to 2025-11-30 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-30 12:00:00 UTC to 2025-11-30 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-30 13:00:00 UTC to 2025-11-30 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-30 14:00:00 UTC to 2025-11-30 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsNov 30, 14:002025-11-30 15:00:00 UTC to 2025-11-30 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-30 16:00:00 UTC to 2025-11-30 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-30 17:00:00 UTC to 2025-11-30 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-30 18:00:00 UTC to 2025-11-30 19:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsNov 30, 18:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Nov 30, 10:002025-11-30 10:00:00 UTC2025-11-30 11:00:00 UTC101
Nov 30, 11:002025-11-30 11:00:00 UTC2025-11-30 12:00:00 UTC000
Nov 30, 12:002025-11-30 12:00:00 UTC2025-11-30 13:00:00 UTC000
Nov 30, 13:002025-11-30 13:00:00 UTC2025-11-30 14:00:00 UTC000
Nov 30, 14:002025-11-30 14:00:00 UTC2025-11-30 15:00:00 UTC000
Nov 30, 15:002025-11-30 15:00:00 UTC2025-11-30 16:00:00 UTC000
Nov 30, 16:002025-11-30 16:00:00 UTC2025-11-30 17:00:00 UTC000
Nov 30, 17:002025-11-30 17:00:00 UTC2025-11-30 18:00:00 UTC000
Nov 30, 18:002025-11-30 18:00:00 UTC2025-11-30 19:00:00 UTC101

What Hacker News says

2 sources
It's not all roses unfortunately. See discussions https://github.com/landlock-lsm/linux/issues/28 and https://lore.kernel.org/all/CAG48ez1O0VTwEiRd3KqexoF78WR+cmP... Even the example code builds a somewhat questionable 'sandbox' that hits a problem discussed in those threads. Say we're ok with an app having r-w access to home except for a couple of places such as ~/.ssh. Now you could try to add a rule to exclude access to ~/.ssh, but the security object must exist when the policy is being established (the rules refer to directories by fds). As such, no .ssh directory, means not rules denying access. You start a sandboxed app thinking you've set up a tight sandbox, at some point ~/.ssh gets created, and now the untrusted app can read your ssh keys.
In Landlock-Ing Linux
It's just incomplete and very early days for landlock. Landlock requires you to commit upfront to what is "deny-default"ed but they only added a control for TCP socket bind and nothing else. So you can "default-deny" tcp bind but all the other socket paths in the kernel are not guarded by landlock. It tries really hard to have the commit of features be an integral part of the landlock API so that you can have an application able to run on multiple kernel versions that support different parts of the landlock spec. But that means that as they develop the API the older versions of landlock need to be less restrictive than newer versions otherwise programs dont work across kernel versions. That way, a program that is very restrictive on say kernel 6.30 can also run on kernel 6.1 with less restrictions. The program keeps functioning the same
Read the rest
way (never break userspace). The only way to do that is to have the developer tell what parts need to be restricted explicitly and you can't restrict what isn't implemented yet. They're planning to extend it to all socket types. This is also mentioned in the linked article https://github.com/landlock-lsm/linux/issues/6 I guess if you want to run without networking at all today you can just unshare into a fresh network namespace, or maybe use seccomp strict mode
In Landlock-Ing Linux

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.