File tree Expand file tree Collapse file tree 4 files changed +25
-2
lines changed Expand file tree Collapse file tree 4 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,20 @@ Use this issue to request new profiles: [#1139](https://github.com/netblue30/fir
98
98
`````
99
99
# Current development version: 0.9.53
100
100
101
+ ## AppImage development
102
+
103
+ Support for private-bin, private-lib and shell none has been disabled while running AppImage archives.
104
+ This allows us to use our regular profile files for appimages. We don't have a way to extract the name
105
+ of the executable, so the profile will have to be passed on the command line. Example:
106
+ `````
107
+ $ firejail --profile=/etc/firejail/kdenlive.profile --appimage --apparmor ~/bin/Kdenlive-17.12.0d-x86_64.AppImage
108
+ `````
109
+ Also, we have full AppArmor support for AppImages:
110
+ `````
111
+
112
+ $ firejail --apparmor --appimage ~/bin/Kdenlive-17.12.0d-x86_64.AppImage
113
+ `````
114
+
101
115
## Seccomp development
102
116
103
117
Replaced the our seccomp disassembler with a real disassembler lifted from
Original file line number Diff line number Diff line change 1
1
firejail (0.9.53) baseline; urgency=low
2
2
* work in progress
3
+ * modif: support for private-bin, private-lib and shell none has been
4
+ disabled while running AppImage archives in order to be able to use
5
+ our regular profile files with AppImages.
3
6
* modif: restrictions for /proc, /sys and /run/user directories
4
7
are moved from AppArmor profile into firejail executable
5
8
* modif: unifying Chromium and Firefox browsers profiles.
6
9
All users of Firefox-based browsers who use addons and plugins
7
10
that read/write from ${HOME} will need to uncomment the includes for
8
11
firefox-common-addons.inc in firefox-common.profile.
9
12
* AppArmor support for overlayfs and chroot sandboxes
13
+ * AppArmor support for AppImages
10
14
* Enable AppArmor by default for Firefox, Chromium, Transmission
11
15
VLC and mpv
12
16
* firejail --apparmor.print option
Original file line number Diff line number Diff line change @@ -2321,6 +2321,9 @@ int main(int argc, char **argv) {
2321
2321
cfg .command_name = strdup (argv [i ]);
2322
2322
if (!cfg .command_name )
2323
2323
errExit ("strdup" );
2324
+
2325
+ // disable shell=* for appimages
2326
+ arg_shell_none = 0 ;
2324
2327
}
2325
2328
else
2326
2329
extract_command_name (i , argv );
Original file line number Diff line number Diff line change @@ -799,7 +799,8 @@ int sandbox(void* sandbox_arg) {
799
799
}
800
800
}
801
801
802
- if (arg_private_bin ) {
802
+ // private-bin is disabled for appimages
803
+ if (arg_private_bin && !arg_appimage ) {
803
804
if (cfg .chrootdir )
804
805
fwarning ("private-bin feature is disabled in chroot\n" );
805
806
else if (arg_overlay )
@@ -818,7 +819,8 @@ int sandbox(void* sandbox_arg) {
818
819
}
819
820
}
820
821
821
- if (arg_private_lib ) {
822
+ // private-lib is disabled for appimages
823
+ if (arg_private_lib && !arg_appimage ) {
822
824
if (cfg .chrootdir )
823
825
fwarning ("private-lib feature is disabled in chroot\n" );
824
826
else if (arg_overlay )
You can’t perform that action at this time.
0 commit comments