diff options
author | netblue30 <netblue30@yahoo.com> | 2016-08-10 09:08:52 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-08-10 09:08:52 -0400 |
commit | cb5091633c6dc6b6d9f5498da7ded61bc698bf82 (patch) | |
tree | 45e879dce890b4c6fae360d347e269d6c34b0e01 | |
parent | Merge pull request #695 from manevich/busybox-01 (diff) | |
download | firejail-cb5091633c6dc6b6d9f5498da7ded61bc698bf82.tar.gz firejail-cb5091633c6dc6b6d9f5498da7ded61bc698bf82.tar.zst firejail-cb5091633c6dc6b6d9f5498da7ded61bc698bf82.zip |
Busybox workaround
-rw-r--r-- | README | 17 | ||||
-rw-r--r-- | RELNOTES | 1 | ||||
-rwxr-xr-x | test/dist-compile/compile.sh | 21 |
3 files changed, 31 insertions, 8 deletions
@@ -28,6 +28,15 @@ Reiner Herrmann (https://github.com/reinerh) | |||
28 | - moved build to .xz | 28 | - moved build to .xz |
29 | - detached signatures for source archive | 29 | - detached signatures for source archive |
30 | - recursive mkdir | 30 | - recursive mkdir |
31 | Aleksey Manevich (https://github.com/manevich) | ||
32 | - several profile fixes | ||
33 | - fix problem with relative path in storage_find function | ||
34 | - fix build for systems without bash | ||
35 | - fix double quotes/single quotes problem | ||
36 | - big rework of argument processing subsystem | ||
37 | - --join fixes | ||
38 | - spliting up cmdline.c | ||
39 | - Busybox support | ||
31 | Franco (nextime) Lanza (https://github.com/nextime) | 40 | Franco (nextime) Lanza (https://github.com/nextime) |
32 | - added --private-template | 41 | - added --private-template |
33 | xee5ch (https://github.com/xee5ch) | 42 | xee5ch (https://github.com/xee5ch) |
@@ -47,14 +56,6 @@ Thomas Jarosch (https://github.com/thomasjfox) | |||
47 | - include mkuid.sh in make dist | 56 | - include mkuid.sh in make dist |
48 | Niklas Haas (https://github.com/haasn) | 57 | Niklas Haas (https://github.com/haasn) |
49 | - blacklisting for keybase.io's client | 58 | - blacklisting for keybase.io's client |
50 | Aleksey Manevich (https://github.com/manevich) | ||
51 | - several profile fixes | ||
52 | - fix problem with relative path in storage_find function | ||
53 | - fix build for systems without bash | ||
54 | - fix double quotes/single quotes problem | ||
55 | - big rework of argument processing subsystem | ||
56 | - --join fixes | ||
57 | - spliting up cmdline.c | ||
58 | Fred-Barclay (https://github.com/Fred-Barclay) | 59 | Fred-Barclay (https://github.com/Fred-Barclay) |
59 | - added Vivaldi, Atril profiles | 60 | - added Vivaldi, Atril profiles |
60 | - added PaleMoon profile | 61 | - added PaleMoon profile |
@@ -5,6 +5,7 @@ firejail (0.9.42~rc2) baseline; urgency=low | |||
5 | * --private-template (very simillar to the former --private-home) | 5 | * --private-template (very simillar to the former --private-home) |
6 | * AppImage support (--appimage) | 6 | * AppImage support (--appimage) |
7 | * AppArmor support (--apparmor) | 7 | * AppArmor support (--apparmor) |
8 | * compile time support for Busybox | ||
8 | * Sandbox auditing support (--audit) | 9 | * Sandbox auditing support (--audit) |
9 | * remove environment variable (--rmenv) | 10 | * remove environment variable (--rmenv) |
10 | * noexec support (--noexec) | 11 | * noexec support (--noexec) |
diff --git a/test/dist-compile/compile.sh b/test/dist-compile/compile.sh index b33f0660a..f762b457d 100755 --- a/test/dist-compile/compile.sh +++ b/test/dist-compile/compile.sh | |||
@@ -12,6 +12,7 @@ arr[9]="TEST 9: compile file transfer disabled" | |||
12 | arr[10]="TEST 10: compile disable whitelist" | 12 | arr[10]="TEST 10: compile disable whitelist" |
13 | arr[11]="TEST 11: compile disable global config" | 13 | arr[11]="TEST 11: compile disable global config" |
14 | arr[12]="TEST 12: compile apparmor" | 14 | arr[12]="TEST 12: compile apparmor" |
15 | arr[12]="TEST 13: compile busybox" | ||
15 | 16 | ||
16 | # remove previous reports and output file | 17 | # remove previous reports and output file |
17 | cleanup() { | 18 | cleanup() { |
@@ -281,6 +282,25 @@ cp output-configure oc12 | |||
281 | cp output-make om12 | 282 | cp output-make om12 |
282 | rm output-configure output-make | 283 | rm output-configure output-make |
283 | 284 | ||
285 | #***************************************************************** | ||
286 | # TEST 13 | ||
287 | #***************************************************************** | ||
288 | # - enable busybox workaround | ||
289 | # - check compilation | ||
290 | #***************************************************************** | ||
291 | print_title "${arr[11]}" | ||
292 | # seccomp | ||
293 | cd firejail | ||
294 | make distclean | ||
295 | ./configure --prefix=/usr --enable-busybox-workaround --enable-fatal-warnings 2>&1 | tee ../output-configure | ||
296 | make -j4 2>&1 | tee ../output-make | ||
297 | cd .. | ||
298 | grep Warning output-configure output-make > ./report-test13 | ||
299 | grep Error output-configure output-make >> ./report-test13 | ||
300 | cp output-configure oc13 | ||
301 | cp output-make om13 | ||
302 | rm output-configure output-make | ||
303 | |||
284 | 304 | ||
285 | #***************************************************************** | 305 | #***************************************************************** |
286 | # PRINT REPORTS | 306 | # PRINT REPORTS |
@@ -308,3 +328,4 @@ echo ${arr[9]} | |||
308 | echo ${arr[10]} | 328 | echo ${arr[10]} |
309 | echo ${arr[11]} | 329 | echo ${arr[11]} |
310 | echo ${arr[12]} | 330 | echo ${arr[12]} |
331 | echo ${arr[13]} | ||