Page MenuHomeSolus

Enabled and tested AppArmor support.
ClosedPublic

Authored by As4fN1v on Nov 14 2017, 5:17 PM.
Tags
None
Referenced Files
F11020636: D1378.id5775.diff
Mon, Aug 7, 7:30 AM
F10996243: D1378.id6269.diff
Wed, Jul 26, 1:49 PM
F10991546: D1378.id3368.diff
Tue, Jul 25, 2:19 AM
F10991544: D1378.id.diff
Tue, Jul 25, 2:19 AM
F10990089: D1378.id5811.diff
Mon, Jul 24, 7:03 PM
F10990088: D1378.id5775.diff
Mon, Jul 24, 7:03 PM
F10990087: D1378.id5160.diff
Mon, Jul 24, 7:03 PM
F10989681: D1378.id5932.diff
Mon, Jul 24, 4:49 PM

Details

Summary

Signed-off by: Asaf Niv <asafniv511@gmail.com>

Test Plan

Tested if the AppArmor profile is actually enforced, which it is.

Diff Detail

Repository
R756 firejail
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Somehow the previous patch went nuts.

DataDrake added a subscriber: DataDrake.

See inline comments.

package.yml
10

This is unnecessary since it is linking against apparmor. See abi_used_libs.

12

This has a pkgconfig and you should be using it.

This revision now requires changes to proceed.Feb 24 2018, 9:50 PM

For info version 0.9.52 is the current version.

For info version 0.9.52 is the current version.

Someone needs to make a new patch for it since I don't know C.

0.9.52 builds and works fine with updated patch

Not related to this diff but there is minor flaw in this stateless approach: *.local files (ones the user modifies) should be in /etc/firejail instead of /usr/share/defaults/firejail.
They are included via hardcoded paths like:

# Persistent local customizations
include /usr/share/defaults/firejail/tar.local
# Persistent global definitions
include /usr/share/defaults/firejail/globals.local

All of the file-modes should be 00644 not 00755.

files/0001-Support-a-stateless-configuration.patch
77

Can't we get the additional CFLAGS from the Environment variable?

This revision now requires changes to proceed.Mar 3 2018, 3:11 PM
files/0001-Support-a-stateless-configuration.patch
77

CFLAGS += takes OS flags and adds own.

I need a test plan for this in the description that documents how you tested this. Sorry, I should have noticed that earlier.

This revision now requires changes to proceed.Mar 11 2018, 12:58 PM

I need a test plan for this in the description that documents how you tested this. Sorry, I should have noticed that earlier.

Fixed

This revision is now accepted and ready to land.Mar 17 2018, 1:46 PM
This revision was automatically updated to reflect the committed changes.