Commit graph

506 commits

Author SHA1 Message Date
StellariusOrion592
196de37df4
new profile: quakespasm (#7014)
QuakeSpasm is a modern multi-platform Quake source port designed as an
improved successor to GLQuake and FitzQuake. It aims to preserve the
classic gameplay and graphics while enhancing compatibility and
modernization.

https://sourceforge.net/projects/quakespasm
2026-01-02 18:19:03 +00:00
StellariusOrion592
fd76695fa4
new profile: gzdoom (#7010)
One of the profile requests lists GZDoom.

So create profiles for GZDoom and its variants: UZDoom and LZDoom.

GZDoom served as the primary port for several years after ZDoom was
discontinued.

UZDoom has now become the latest version targeting systems with modern
graphics hardware.

LZDoom is geared towards systems with legacy hardware.

All three profiles work.

https://zdoom.org
2025-12-31 19:34:10 +00:00
StellariusOrion592
7a52945182
new profile: openra (#7005)
OpenRA is an open source project that recreates and modernizes classic
real time strategy games, like Red Alert, Command & Conquer, and Dune
2000.

This profile works for all three AppImage editions of Openra: Red Alert,
Tiberium Dawn, and Dune 2000.

https://www.openra.net
2025-12-30 20:14:57 +00:00
netblue30
411b97fdc9 profile fixes: allow bwrap inside the sandbox 2025-12-18 07:59:07 -05:00
RedRampage
b2d5d173cb profiles: Add socket-activated ssh-agent socket
Added another default ssh-agent socket path, that is used in Debian for
socket-activated agent.
2025-12-02 00:15:52 +03:00
Kelvin M. Klann
9176141d35
profiles: wusc: add /usr/share/gtksourceview-5 (#6947)
Note: We ship a file in this directory since commit 16afd8c8e ("Add
basic gtksourceview language-spec (#5502)", 2022-12-04)

This is a follow-up to #6909.
2025-10-28 16:19:05 +00:00
sk84
5079daa9cd
profiles: steam: allow ~/.local/share/doublefine (#6937)
Allow the folder that Day of the Tentacle Remastered uses to store save
files. Without adding them in the steam profile, save states don't work
in the game (or it didn't even start, don't remember exactly).

See https://www.pcgamingwiki.com/wiki/Day_of_the_Tentacle_Remastered

Probably it would also allow save games for other games done by
doublefine (https://store.steampowered.com/developer/doublefine), but I
have no other game from them and I have not checked it.
2025-10-19 09:26:35 +00:00
Kelvin M. Klann
54d5bb04bc
profiles: wusc: add /usr/share/gtk-4.0 (#6909)
This directory is part of the gtk4 package (version 1:4.20.1-1) on Artix
Linux.

Add it just in case, as wusc already contains the same analogous paths
for gtk2 and gtk3.

This is a follow-up to #6907.
2025-09-26 02:44:58 +00:00
Kelvin M. Klann
3a05a0a53b
profiles: wusc: add /usr/share/glycin-loaders (#6907)
This is apparently needed by glycin/gdk-pixbuf2, which is used by many
programs, such as Firefox and GIMP.

Relates to #6906.

Reported-by: @myrslint
Suggsted-by: @myrslint
2025-09-24 14:09:31 +00:00
Lucas
a942b0bac7
new profile: trivalent (#6900)
https://github.com/secureblue/Trivalent
2025-09-23 01:50:51 +00:00
Kelvin M. Klann
a32cc2f17d profiles: disable-common: sort history section
This amends commit ae22e5610 ("ne text editor profile", 2025-08-23).
2025-08-24 15:12:38 -03:00
netblue30
ae22e5610a ne text editor profile 2025-08-23 18:42:05 -04:00
netblue30
939f650dcd wayland/pipewire fix 2025-08-23 07:52:02 -04:00
Kelvin M. Klann
facaa03df9
profiles: wusc: add /usr/share/xkeyboard-config-2 (#6775)
With xkeyboard-config 2.45, many programs fail to start, such as:
Firefox, Thunderbird, Gajim, KeepassXC, GoldenDict, and Zathura.
Example[1]:

    Reading profile /etc/firejail/zathura.profile
    [...]
    Reading profile /etc/firejail/whitelist-usr-share-common.inc
    Reading profile /etc/firejail/whitelist-var-common.inc
    firejail version 0.9.75

    [...]
    Child process initialized in 197.83 ms
    xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb
    xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb

    Parent is shutting down, bye...

It seems that in xkeyboard-config 2.45 the path was changed from:

* /usr/share/X11/xkb

To:

* /usr/share/xkeyboard-config-2

With the former now being a symlink to the latter and with the goal of
using a versioning scheme for the directories, in order to introduce new
file formats with breaking changes while keeping backwards compatibility
in the current file format[2] [3].

Fixes #6773.

Thanks to @oddfellow for finding the root cause and the relevant commit.

[1] https://github.com/netblue30/firejail/issues/6773#issue-3130459006
[2] https://github.com/netblue30/firejail/issues/6773#issuecomment-2956384127
[3] fd1d8d2d4f

Reported-by: @myrslint
Reported-by: @aminvakil
Reported-by: @oddfellow
Reported-by: @reagentoo
2025-06-11 23:18:06 +00:00
Fidel Ramos
b84e2591a8
New profile: ansel (#6751)
This adds support for Ansel, a Darktable fork:
https://github.com/aurelienpierreeng/ansel/

The profile is based on darktable.profile. I have personally tested it
and it works.
2025-05-19 19:36:52 +00:00
Kelvin M. Klann
dd3ef2a1d0
feature: add warn command (#6710)
And use it in etc/inc/disable-X11.inc.

This allows printing a warning message from inside a profile.

Everything after the command is printed in a warning message as is (that
is, without macro expansion).

Example:

    $ firejail --noprofile --include=/etc/firejail/disable-X11.inc true
    Reading profile /etc/firejail/disable-X11.inc
    Warning: /etc/firejail/disable-X11.inc:5: This file is deprecated; use disable-x11.inc (lowercase) instead.
    Reading profile /etc/firejail/disable-x11.inc
    [...]

Relates to #6294.

This is a follow-up to #6709.
2025-04-21 10:49:27 +00:00
Kelvin M. Klann
0e3fbf6d03
profiles: add more xorg paths (#6708)
Add the following files, which may be used to configure X clients:

* `~/.Xdefaults`
* `~/.Xdefaults-*` (`~/.Xdefaults-$(hostname)`)
* `~/.Xresources`

And block the following paths, which are intended for the X server:

* `~/.local/share/xorg` (rootless Xorg log directory)
* `/etc/X11/xinit`
* `/etc/X11/xorg.conf.d`
* `/var/log/Xorg.*` (default Xorg log path)

Note: ~/.Xdefaults is read directly by each application when it starts,
while ~/.Xresources is loaded once into the X root window with xrdb(1)
when starting the session, such as by a DE or directly in ~/.xinitrc.
Both use the same format and it appears that users are encouraged to use
~/.Xresources instead of ~/.Xdefaults but applications still try to read
~/.Xdefaults if it exists.

From xrdb(1):

> FILES
>        Xrdb does not load any files on its own, but many desktop
>        environments use xrdb to load ~/.Xresources files on session
>        startup to initialize the resource database, as a generalized
>        replacement for ~/.Xdefaults files.

See X(1), Xorg(1), xinit(1) and xrdb(1).
2025-04-15 13:35:36 +00:00
Kelvin M. Klann
4911b7803f profiles: add keep-dev-tpm entries
To the profiles that most likely need it.

Relates to #6379 #6536.
2025-04-05 15:52:30 -03:00
Sumimi~
5ec656714e
profiles: floorp: add profile sync daemon paths (#6683)
Also, fix a typo.
2025-03-23 17:09:50 +00:00
northboot
4e14f0a5f9
New profile: xarchiver (#6679)
Lightweight desktop-independent archive manager.

https://github.com/ib/xarchiver
2025-03-15 07:44:03 +00:00
amano-kenji
76509024ef
New profile: nsxiv (#6588)
https://nsxiv.codeberg.page/
2025-02-23 08:56:57 +00:00
Alpha
82d5587f2c
New profile: vesktop (#6654)
https://github.com/Vencord/Vesktop
2025-02-21 14:10:35 +00:00
cobratbq
4e0e77b0f9
profiles: torbrowser-launcher: move path from dc to dp (#6640)
The other tor-browser paths are in disable-programs.inc, so move
~/.local/opt/tor-browser from disable-common.inc to disable-programs.inc.
2025-02-12 04:29:03 +00:00
amano-kenji
cf12c66059
New profile: pyradio (#6589)
https://github.com/coderholic/pyradio
2025-02-10 23:20:56 +00:00
amano-kenji
22e8632c78
New profile: ncmpcpp (#6587)
https://github.com/ncmpcpp/ncmpcpp
2025-02-10 23:16:28 +00:00
amano-kenji
a2e97e9967
New profile: hledger/hledger-ui (#6585)
https://hledger.org/
2025-02-10 23:15:34 +00:00
Kelvin M. Klann
6ff4e090db profiles: kontact: blacklist paths
Added on commit 1e9232662 ("Create kontact.profile", 2023-07-17) /
PR #5905.

Suggested-by: @rusty-snake
2024-12-22 05:54:00 -03:00
netblue30
f5b7cd96b5
Merge pull request #6314 from konstantin1722/obsidian-profile
New profile: obsidian
2024-12-18 09:26:11 -05:00
LucasMZ
4de34dde86
profiles: disable-common: add bubblejail paths 2024-12-17 21:27:49 -03:00
netblue30
1fb970ec67
Merge pull request #6549 from gcb/gcb-patch-1
New profile: irssi
2024-12-17 08:40:48 -05:00
netblue30
d4cd125200
Merge pull request #6463 from NetSysFire/endgame-singularity
New profile: singularity (Endgame: Singularity)
2024-12-15 09:48:29 -05:00
Kelvin M. Klann
6ba4215c02
profiles: clamav: add /etc/clamav (#6565)
See also commit 2453f0ecf ("email-common.profile: allow clamav plugin
for claws-mail", 2023-03-07) / PR #5719.
2024-12-13 18:06:33 +00:00
Kelvin M. Klann
7dacdf95e6
Update etc/inc/disable-programs.inc 2024-11-19 17:54:01 +00:00
gcb
a27ffa4e1f irssi programs, reviewer comments 2024-11-19 12:45:46 +00:00
Foxreef
07ff98385f
profiles: steam: add ~/.config/UNDERTALE (#6503)
Whitelist ~/.config/UNDERTALE to allow the game to save.
2024-10-11 06:55:13 +00:00
NetSysFire
e562e9726f New profile: singularity (Endgame: Singularity) 2024-09-19 11:15:54 -03:00
Kelvin M. Klann
1c059149c3
profiles: evolution: add /tmp/evolution-* & disable private-tmp (#6469)
These paths are apparently used for attachments.

Disable private-tmp to make it easier to open attachments with external
programs.

Relates to #5101.

Reported-by: @githlp
Suggested-by: @rusty-snake
2024-09-13 08:50:32 +00:00
Kelvin M. Klann
26f3e9bf5d
profiles: video: add ~/.dvdcss (#6468)
It's used by libdvdcss (which is used to play copy-restricted dvds).

It seems to be just a cache directory, so just allow without mkdir.

Relates to #5391.

Suggested-by: @reinerh
2024-09-13 08:50:02 +00:00
Felix Pehla
de85522248
profiles: blacklist sway IPC socket (#6429)
Much like the i3 IPC socket (#6361), the sway IPC socket also allows
arbitrary code execution via the `exec` subcommand. Access should only
be permitted to sway itself by default.

The location of the IPC socket is set in sway/ipc-server.c:

7e74a49142/sway/ipc-server.c (L126)
2024-08-07 01:26:04 +00:00
Felix Pehla
de5946235b
profiles: fractal: add ~/.local/share/fractal (#6392)
Fractal 7 (and possibly earlier) stores messages and key material in
${XDG_DATA_DIR}/fractal which defaults to ~/.local/share/fractal.
Lack of access causes it to be unable to load messages offline and
de- or encrypt messages even when online without sharing keys again.
2024-06-29 18:11:51 +00:00
glitsj16
c908c0fb2d
profiles: claws-mail: add ~/.cache/claws-mail (#6378)
It is apparently used by the (widely used) "Fancy" plugin, which
"Renders HTML e-mail using the WebKit library".

https://www.claws-mail.org/plugins.php

Relates to #6377.

Note: etc/profile-a-l/email-common.profile contains `private-cache`.
2024-06-27 03:32:54 +00:00
glitsj16
4a91052a1f
profiles: hashcat: support newer configuration paths (#6376)
Relates to #6364.
2024-06-11 10:45:08 +00:00
Shahriar Heidrich
533db20e99
profiles: blacklist i3 IPC socket & dir except for i3 itself (#6361)
This closes the escape route discussed in #6357.

It's left open for i3's own profile, so that people who run i3 itself
sandboxed still have the option to use IPC with it at all.

Reference for file paths:
https://i3wm.org/docs/userguide.html#_interprocess_communication
2024-06-08 08:52:17 +00:00
glitsj16
be548c2828
New profile: armcord (#6365)
Description: Standalone Discord client.

https://armcord.app/
https://github.com/NextWork123/ArmCord

Requested in https://github.com/netblue30/firejail/issues/1139#issuecomment-2140174880.
2024-06-06 19:26:38 +00:00
glitsj16
5eeaaa0e01
New profile: nhex (#6341)
Description: Tauri-based IRC client inspired by HexChat.

https://nhexirc.com/
https://github.com/nhexirc/nhex
2024-05-17 05:52:33 +00:00
netblue30
4c5f558995 several kids programs 2024-04-29 12:50:46 -04:00
netblue30
fd5df9ae9d whitelisting /var/games by default 2024-04-28 21:29:26 -04:00
Konstantin1722
1ca7a84a8c Update etc/profile-m-z/obsidian.profile 2024-04-28 18:59:04 +03:00
Konstantin1722
7a935a4468 profiles: update obsidian profile file 2024-04-23 16:03:02 +03:00
tools200ms
3736925967
profiles: allow-ssh: allow /etc/ssh/ssh_revoked_hosts (#6309)
The path is used in the Gentoo net-misc/openssh package (9.6_p1-r3).

Fixes #6308.
2024-04-20 17:01:09 +00:00