Commit graph

6276 commits

Author SHA1 Message Date
Ondřej Nový
4c712cbaaf Hardend Zoom profile 2020-07-20 08:20:12 +02:00
smitsohu
b4afda1b76
Merge pull request #3516 from smitsohu/busybox
fixing busybox workaround
2020-07-17 00:53:52 +02:00
glitsj16
ad12d90369
add element-desktop redirect profile (#3517)
* Create element-desktop.profile

* add element-desktop dirs to disable-programs.inc

* add element-desktop to firecfg.config

* Update RELNOTES
2020-07-16 22:32:00 +00:00
smitsohu
ec194d2f70 fixing busybox workaround 2020-07-16 23:47:57 +02:00
rusty-snake
ce462b6b1f fix #3501 2020-07-16 10:08:04 +02:00
Kishore96in
319f2dc8d6
Blacklist .local/share/kxmlgui5 and allow access only for applications which use it. (#3493)
* blacklist .local/share/kxmlgui5

KDE programs use this to store their toolbar config.

* noblacklist .local/share/kxmlgui5 in the relevant KDE applications.

* Whitelist kxmlgui file for okular.

* Use a glob to blacklist subfolders instead of the parent folder.

noblacklisting individual subdirectories works only if we do it this way
(tested by launching bash in the kate profile).

* Make directory, not file.

* noblacklist relevant subdirs for more KDE applications
2020-07-16 07:23:10 +00:00
rusty-snake
3bab1ae24c fix keepassxc 2020-07-14 17:14:33 +02:00
smitsohu
1d30ab62d3
update and alphabetize busybox workaround 2020-07-13 18:35:16 +02:00
rusty-snake
deb6c12454
hardening some profiles (#3505)
* hardening some profiles

 - harden and fix flameshot
 - wruc: frogatto, ghostwriter
 - harden gnome-latex
 - add whitelist opt-in note to keepassxc
 - add comment to minetest
 - harden openarena, tremulous, xonotic
 - add profile for xonotic-sdl-wrapper

* followup
2020-07-09 10:49:17 +00:00
rusty-snake
470effe5b3
Update disable-common.inc (#3499)
* Update disable-common.inc

* Update disable-common.inc

[skip ci]
2020-07-09 10:44:14 +00:00
Kishore96in
f5fabe7637
Okular profile fixes (#3489)
* Whitelist some config files used by Okular.

These files are used to store the toolbar configurations.

* Whitelist files required for okular in firefox-common-addons.inc

Without this, okular does not follow the user configuration for toolbars
and keyboard shortcuts when launched inside the firefox sandbox (for
eg., while opening a downloaded PDF).

* Alphabetical sort

* Remove noblacklist for files which are not actually blacklisted.

I have blacklisted them in a separate pull request.
2020-07-07 15:51:22 +00:00
neirenoir
4436b2d2e8
Fixed Blender profile being unable to import numpy (#3497)
Co-authored-by: noir <noir@neire.dev>
2020-07-06 04:38:58 +00:00
Carlo Abelli
1628821fe9
Whitelist /usr/share/hplip for simple-scan (#3496)
hplip is required for scanning using HP printer/scanners.
2020-07-05 23:50:56 +00:00
rusty-snake
3c71607db4 typo 2020-07-05 15:23:24 +02:00
rusty-snake
24e08f13af fix com.github.dahenson.agenda.profile 2020-07-05 14:58:36 +02:00
rusty-snake
38dbc05377 fixup! Don't blacklist file used to save konversation notifications configuration. (#3490) 2020-07-04 20:40:09 +02:00
Kishore96in
d16e829777
Don't blacklist file used to save konversation notifications configuration. (#3490)
Without this, konversation doesn't remember the settings for
notifications.
2020-07-04 16:07:30 +00:00
glitsj16
924b556529
drop private-tmp from blender.profile
Blender autosaves to /tmp.
2020-07-04 14:09:50 +00:00
glitsj16
fa7ea9a11e
update comment for apparmor in thunderbird.profile
This should clarify how to configure for reading local mail after dfaf7a7660.
2020-07-04 12:33:16 +00:00
glitsj16
dfaf7a7660
clarify writing to /var/mail and /var/spool/mail in apparmor (#3487)
* clarify writing to /var/mail and /var/spool/mail in apparmor

Thunderbird seems to be our only mail client profile that enables the `apparmor` option. Users need this when they follow instructions on how to allow reading local mail.

* fix mail clients rule in firejail-default
2020-07-04 12:22:46 +00:00
Topi Miettinen
a191c20101
Fix seccomp error action
2345cc4 broke environment variable passing for seccomp error action
for fseccomp.

Closes #3488.
2020-07-04 00:14:20 +03:00
glitsj16
4b56fd61f2
allow running kernel config check in zgrep.profile 2020-07-03 15:40:13 +00:00
glitsj16
467f69eb9b
allow running kernel config check in zcat.profile 2020-07-03 15:38:23 +00:00
rusty-snake
fcf14758b1 new profile: gapplication 2020-07-03 17:10:15 +02:00
glitsj16
816ce5ae03
fixes for /var/mail in mail clients (#3486)
* fix comment in email-common

* add writable-var to evolution.profile

* add writable-var to mutt.profile

* remove newline above writable-var in evolution.profile
2020-07-03 14:45:16 +00:00
netblue30
6ff30cb689 minor makefile fixes 2020-06-29 12:28:21 -04:00
Fred Barclay
b6ef77ddaf Fix #3481 - pandoc needs access to /etc/texmf 2020-06-28 14:02:41 -05:00
smitsohu
f369a7bb38
akonadi: update seccomp blacklist 2020-06-26 17:57:23 +02:00
rusty-snake
eb34c2d931 harden gradio.profile 2020-06-25 15:09:44 +02:00
rusty-snake
37e4d74dff new profiles 2020-06-25 15:06:02 +02:00
rusty-snake
1a47e5b9a5 fix apostrophe 2020-06-21 12:14:32 +02:00
glitsj16
3fdbdd2d85
add ${HOME}/.config/user-dirs.locale to whitelist-common.inc 2020-06-19 22:48:28 +00:00
Fred Barclay
b8934df60b ignore .DS_Store 2020-06-19 10:11:42 -05:00
glitsj16
45df1d6441
harden totem.profile
Totem saves screenshots of video to ${PICTURES}. Also adding tracelog to slightly harden things a bit.
2020-06-18 20:08:59 +00:00
glitsj16
e3c7474fe5
clean private-bin in gummi.profile 2020-06-18 19:59:11 +00:00
Christian Pinedo
feabde3803
Allow python3 in totem profile (#3470) 2020-06-18 19:56:18 +00:00
Amin Vakil
e633d3f895
Add strawberry profile to README{,.md} & RELNOTES (#3467) 2020-06-15 05:55:40 +00:00
Fred Barclay
55906959a9 More fixes for #3464
Backporting fixes for Atom 1.48 to firejail 0.9.52, 0.9.58, and 0.9.60

Summary:
- remove nonewprivs, noroot, protocol, and seccomp
- update caps filter to keep sys_admin and sys_chroot

Without these changes Atom 1.48 breaks and refuses to start (due to
Electron sandboxing)
2020-06-13 12:05:17 -05:00
Fred Barclay
cb67995230
Fix #3464
Atom 1.48 requires a looser sandbox and no longer works with
noroot, nonewprivs, protocol, and seccomp

caps filter needed adjusting to keep sys_admin and sys_chroot
2020-06-12 17:56:53 -05:00
glitsj16
3490ba4fe2
enable apparmor support by default in update_deb.sh (#3450)
* enable apparmor support by default in update_deb.sh

* Add fix for Debian bug 916920

This should bring the script in sync with packages installed from PPA.
2020-06-12 10:13:35 +00:00
rusty-snake
9c138be9e8 mmapfail.sh fix
https://github.com/hannob/mmapfail
2020-06-11 22:21:39 +02:00
rusty-snake
50203c0783 #3462 2020-06-11 22:13:25 +02:00
rusty-snake
91a2bedaf4 New profiles: apostrophe & quadrapassel 2020-06-11 22:11:35 +02:00
Amin Vakil
89d77cc341
Add strawberry profile (#3459)
* Add strawberry profile

* Fix comment

* Add to disable-programs.inc & firecfg.config

* Add /home/amin/.local/share/strawberry to profile and disable-programs

* Various hardening for strawberry profile

Signed-off-by: Amin Vakil <info@aminvakil.com>

* Change nodbus to dbus-system none in strawberry profile

* Add dbus-user none to strawberry profile

* Add whitelist-var-common, sort private-etc

* Sort, Add wruc, Add netlink to protocol in strawberry profile

* Remove dbus-user none to allow using gnome functions for various usage in strawberry profile
2020-06-11 08:36:14 +00:00
DiGitHubCap
a35d3c4d6b
Fix qt5ct colour schemes and QSS (#3463)
Applications using Qt5 need this to be whitelisted if the user is using a qt5ct colour scheme (such as "darker") or custom QSS.
2020-06-10 16:46:19 +00:00
Fred Barclay
0b237315e6 Remove double sys/prctl.h include 2020-06-06 19:07:08 -05:00
Fred Barclay
e787921465 typo: added line to wrong CI test 2020-06-06 18:41:59 -05:00
Fred Barclay
e2ea0183cf test: build with clang 2020-06-06 18:40:06 -05:00
Fred Barclay
3b63c806ec Update contributors for ff3fe37e14 2020-06-06 11:14:11 -05:00
Fred Barclay
ff3fe37e14
Ignore read-only mount of emacs configuration in the emacs profile. (#3455)
Fixes #3454
2020-06-06 11:09:39 -05:00