Skip to content

SELinux Buildroot Additions

Thomas Petazzoni buildroot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 of 27 patches 0 repliesNew
  2. v10 of 29 patches 0 repliesSuperseded

5 of 27 patches are in this archive. The cover letter announces 27.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/27sepolgen: new package+0 -00 replies
3/27setools: new package+0 -00 replies
5/27audit: new package+0 -00 replies
6/27policycoreutils: new package+0 -00 replies
9/27repolicy: base policy modifications for embedded target+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [Buildroot] [PATCH v4 00/27] SELinux Buildroot Additions

Dear Matt Weber,

Quoted 8 lines · Matt Weber

### What's SELinux?

Security-Enhanced Linux (SELinux) is a Linux feature that provides a variety of security policies, including U.S. Department of Defense style mandatory access controls (MAC), through the use of Linux Security Modules (LSM) in the Linux kernel. It is not a Linux distribution, but rather a set of modifications that can be applied to Unix-like operating systems, such as Linux and BSD.

Thanks for your persistence with this major effort. I must say overall I am still a bit scared by the amount of patches needed in the various SELinux components to get them to behave properly in a cross-compilation environment, and I believe those changes should be submitted upstream.

I made the exact same comment back when you submitted the first version in September 2013, but apparently no work has been done to improve upstream with regarding to cross-compilation. I'm certainly not asking for the entire work to be done. But the fact that within the 1.5 years since you first submitted this patch series, you have apparently not worked with upstream to resolve those issues does not make me very comfortable. What tells me that this upstreaming work will start at some point?

Main examples:

- The Swig / setools patch. This patch is quite long, but fairly trivial. Why hasn't it been submitted upstream?

- Clearly, the thing that scares me the most if the replacement of the audit header generation by a Python script. Can we get at least some feedback from upstream on what approach they could accept? See also what Yocto is doing to solve this problem:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/tree/recipes-security/audit/audit/audit-for-cross-compiling.patch

Can you give me your plans about upstreaming those cross-compilation changes?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com