LWN: Comments on "Impedance matching for BPF and LSM" https://lwn.net/Articles/813261/ This is a special feed containing comments posted to the individual LWN article titled "Impedance matching for BPF and LSM". en-us Tue, 28 Oct 2025 00:53:24 +0000 Tue, 28 Oct 2025 00:53:24 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Impedance matching for BPF and LSM https://lwn.net/Articles/813760/ https://lwn.net/Articles/813760/ frostsnow <div class="FormattedComment"> As a counter to all the "we use Linux in enforcing mode" comments, at my current position we systematically disable SELinux &amp; in order to not run into arcane permission issues.<br> </div> Tue, 03 Mar 2020 17:45:36 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813570/ https://lwn.net/Articles/813570/ zlynx <div class="FormattedComment"> <font class="QuotedText">&gt; SELinux still fails within environments that require flexibility or extensibility.</font><br> <p> Only with administrators who can't be bothered to learn how it works.<br> <p> This reminds me of PHP web developers who can't be bothered to learn Unix file permissions and mark everything chmod 777.<br> </div> Sat, 29 Feb 2020 20:45:30 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813565/ https://lwn.net/Articles/813565/ cpitrat <div class="FormattedComment"> Reading this thread gives me the impression that you talked about niche usage not knowing it was widely used and are now calling anything that uses it a niche usage just to avoid admitting you're wrong. I may be wrong of course, but your definition of niche usage seems very unusual. I'd say your usage of niche is a niche usage.<br> </div> Sat, 29 Feb 2020 12:31:48 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813557/ https://lwn.net/Articles/813557/ Rudd-O <div class="FormattedComment"> All my machines run Fedora, and all run in enforcing mode.<br> <p> Perhaps the "niche" is only on your mind, brah.<br> </div> Sat, 29 Feb 2020 02:14:21 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813467/ https://lwn.net/Articles/813467/ beagnach <div class="FormattedComment"> <font class="QuotedText">&gt; Android is a niche system, it's not a general-purpose operating system. </font><br> <p> Again... "niche" and billions just don't seem to fit together. If you're wanting to contrast with "general purpose" why not just use the term "special purpose"?<br> <p> Sorry to be nit-picky but I find your use of that term in this context quite jarring.<br> </div> Thu, 27 Feb 2020 22:34:28 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813459/ https://lwn.net/Articles/813459/ rahulsundaram <div class="FormattedComment"> <font class="QuotedText">&gt;I've yet to see Enterprise RedHat with SELinux in enforcing mode. I've only heard that they exist somewhere.</font><br> <p> I have worked in multiple large enterprises which had SELinux in enforcing mode. I am not sure what this argument is about<br> </div> Thu, 27 Feb 2020 20:59:09 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813457/ https://lwn.net/Articles/813457/ Cyberax <div class="FormattedComment"> <font class="QuotedText">&gt; As a binary rebuild of RHEL, Scientifix Linux supports whatever the equivalent RHEL does.</font><br> <font class="QuotedText">&gt; I have no idea in what sense it could be said to "pretty much ignore SELinux".</font><br> The problem is that SL doesn't do anything with SELinux. If you use it as a RHEL rebuild it works just as RHEL.<br> <p> However, plenty of software doesn't support it. Like SUN (RIP) Grid Engine forks, or good old Hadoop.<br> </div> Thu, 27 Feb 2020 20:46:43 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813453/ https://lwn.net/Articles/813453/ mohg <div class="FormattedComment"> I've used Scientific Linux (6, 7) and CentOS (8) with SELinux enforcing (on 7 and 8; can't remember about 6) for 6+ years. Works fine for me. I find it a well documented and implented feature.<br> <p> As a binary rebuild of RHEL, Scientifix Linux supports whatever the equivalent RHEL does.<br> I have no idea in what sense it could be said to "pretty much ignore SELinux".<br> <p> </div> Thu, 27 Feb 2020 20:39:08 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813451/ https://lwn.net/Articles/813451/ Cyberax <div class="FormattedComment"> I've yet to see Enterprise RedHat with SELinux in enforcing mode. I've only heard that they exist somewhere.<br> <p> Many RedHat forks (Amazon Linux, Scientific Linux) also pretty much ignore SELinux and barely test it.<br> </div> Thu, 27 Feb 2020 20:18:38 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813450/ https://lwn.net/Articles/813450/ SEJeff <div class="FormattedComment"> Redhat Enterprise Linux nice and "crazy NSA-like tailored environments"? As is my laptop currently running Fedora? I'm a longtime fan of your comments, but this is a bit much Cyberax.<br> </div> Thu, 27 Feb 2020 20:13:29 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813449/ https://lwn.net/Articles/813449/ Cyberax <div class="FormattedComment"> Sure. As I said, Android or CoreOS are basically examples of NSA-like crazy environments. They are specifically designed to be inflexible with as few tuning knobs accessible by end-users (or application developers) as possible.<br> <p> It's no wonder that SELinux can work within these environments.<br> <p> SELinux still fails within environments that require flexibility or extensibility.<br> </div> Thu, 27 Feb 2020 19:53:58 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813448/ https://lwn.net/Articles/813448/ pizza <div class="FormattedComment"> Android's SELinux-enabled "niche" has between one and two orders of magnitude larger deployment than every other use of the Linux kernel combined.<br> <p> (If anything, "general purpose UNIX-like Linux" is the actual niche use case these days..)<br> ("niche" does not mean "<br> </div> Thu, 27 Feb 2020 19:50:55 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813447/ https://lwn.net/Articles/813447/ Cyberax <div class="FormattedComment"> Again, these are all niche users, very much in line with "crazy NSA-like tailored environments" where a small cabal of engineers produces a package and end-users are not supposed to tinker with it.<br> </div> Thu, 27 Feb 2020 19:33:55 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813442/ https://lwn.net/Articles/813442/ rahulsundaram <div class="FormattedComment"> <font class="QuotedText">&gt;Yet Android is a niche system, it's not a general-purpose operating system</font><br> <p> You would have to discount Android, Chrome OS, RHEL/CentOS, Fedora, CoreOS and several others<br> <p> There are more mobile/tablet/chromebook users using their devices for all sorts of things. I think that would qualify as general purpose anyway<br> </div> Thu, 27 Feb 2020 18:20:45 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813435/ https://lwn.net/Articles/813435/ Cyberax <div class="FormattedComment"> Yet Android is a niche system, it's not a general-purpose operating system. It's specifically designed for one particular use-case with all the design decisions being guided by it.<br> <p> So as a result, Android now looks almost nothing like Unix.<br> </div> Thu, 27 Feb 2020 18:01:21 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813434/ https://lwn.net/Articles/813434/ theonewolf <div class="FormattedComment"> SELinux is also a core piece of Red Hat Enterprise CoreOS and the OpenShift distribution of Kubernetes.<br> <p> That makes it being used in Microsoft Azure (OpenShift offering) and other places where OpenShift is being deployed (AWS, on premise).<br> </div> Thu, 27 Feb 2020 17:04:43 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813401/ https://lwn.net/Articles/813401/ beagnach <div class="FormattedComment"> Using the word "niche" to describe a technology with an install base in the billions doesn't really feel quite right. <br> </div> Thu, 27 Feb 2020 10:47:26 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813385/ https://lwn.net/Articles/813385/ re:fi.64 <div class="FormattedComment"> Your post was saying it was still in the same niche. Regardless of Android's status, it's still using SELinux, this it's pretty easy to say it has acquired widespread use and more notably on consumer devices.<br> <p> Even then, RHEL uses SELinux by default and has widespread use in enterprise.<br> </div> Thu, 27 Feb 2020 05:11:40 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813380/ https://lwn.net/Articles/813380/ Cyberax <div class="FormattedComment"> Thank you for confirming my post. Modern Android OS is about as far from regular Unix as it can get.<br> </div> Wed, 26 Feb 2020 23:55:46 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813379/ https://lwn.net/Articles/813379/ TheJH <div class="FormattedComment"> SELinux runs on every (non-ancient) Android phone.<br> </div> Wed, 26 Feb 2020 23:54:04 +0000 Impedance matching for BPF and LSM https://lwn.net/Articles/813377/ https://lwn.net/Articles/813377/ Cyberax <div class="FormattedComment"> <font class="QuotedText">&gt; When LSM was introduced it was expected to be used by the lunatic fringe people with government mandated security requirements. Today it has a much greater general application. </font><br> Uh no. SELinux is still pretty much in the same niche.<br> </div> Wed, 26 Feb 2020 23:27:30 +0000