Commit graph

4943 commits

Author SHA1 Message Date
Kelvin M. Klann
e31d872a51 profiles: add keep-hostname to profile.template
Put it together with the other `keep-` commands.

And move it to the allow section in libreoffice.profile.

Related commits:

* cc8b019b5 ("--keep-hostname part 1 (#7048)", 2026-02-03)
* fbc94070e ("adding keep-hostname to libreoffice.profile", 2026-02-11).

Relates to #7048.
2026-02-11 16:10:47 -03:00
netblue30
fbc94070ef adding keep-hostname to libreoffice.profile 2026-02-11 10:31:58 -05:00
netblue30
c13331305c adding apparmor profiles for --nettrace option 2026-02-11 09:17:22 -05:00
netblue30
46134f6972 added link-local addresses to 'nolocal' firewall configs (#7054) 2026-02-06 20:40:02 -05:00
netblue30
ca934a2ccd disable by default some of the systemd tools, more cleanup, and more testing 2026-02-04 07:34:07 -05:00
pierretom
f281d76f24 move other syscalls considered deprecated into @obsolete
`futimesat`, `gettimeofday`, `remap_file_pages`, `settimeofday`, `tkill` and `utime`.
2026-01-28 16:09:05 +01:00
pierretom
825fb24ff1 place some syscalls with access to a clock, used for time reading, theoretical resolution and sleep functions into @default-keep
Also move `stime` into `@obsolete`, see `man 2 stime`.
2026-01-28 13:11:23 +01:00
netblue30
3c44462b85
Merge pull request #7039 from pierretom/patch12
update system call groups - part 4
2026-01-27 10:33:29 -05:00
sofoxe1
b59005ccf0
profiles: vesktop: fix screen sharing (#7043) 2026-01-27 07:26:11 +00:00
pierretom
85625e46e6 add missing syscalls in groups 2026-01-24 15:11:49 +01:00
pierretom
f5e01fcc56 update system call groups - part 4
- Remove extra empty lines
- Definition of groups:
  - Add the two new groups `@memfd` and `@sandbox`
  - Add new syscalls
- Inheritance of groups:
  - Redraw it in a clearer form of groups and subgroups
  - Add the two new groups
  - Sort `@mount` and `@obsolete` groups by alphabetical order

This is the last part.
2026-01-22 16:21:01 +01:00
netblue30
cbf43089fb update the list of terminal emulators that can be used for sandbox escape 2026-01-19 09:35:08 -05:00
Kelvin M. Klann
2ba2f2d7a1 profiles: add deno paths
Add paths in the same places as nodejs/npm paths.

Deno is a javascript runtime and development tool similar to nodejs.

The following paths seem to be intended for downloading and caching
dependencies (and apparently also artifacts from .ts to .js compilation)
globally during development (as can be done with ~/.npm):

* ~/.cache/deno
* ~/.deno

Note that this commit makes these paths read-only (as npm dependencies
are usually executable code), which may potentially affect users of the
runtime (like yt-dlp).

Related commits:

* f2de86464 ("tentative fix for yt-dlp/javaScript deno profile (#6999)",
  2026-01-13)
2026-01-14 04:07:21 -03:00
Kelvin M. Klann
f3b2d2927d profiles: yt-dlp: reword misc
For clarity.

Related commits:

* f2de86464 ("tentative fix for yt-dlp/javaScript deno profile (#6999)",
  2026-01-13)
* d7f903b21 ("more on yt-dlp profile", 2026-01-13)
2026-01-13 22:41:57 -03:00
Kelvin M. Klann
5940f4c653 profiles: yt-dlp: sort noblacklist section
Related commits:

* 98492f4f3 ("refactor yt-dlp", 2023-03-09) / PR #5715
* f2de86464 ("tentative fix for yt-dlp/javaScript deno profile (#6999)",
  2026-01-13)
2026-01-13 22:31:55 -03:00
netblue30
26c8d60c60 whitespace 2026-01-13 12:15:58 -05:00
netblue30
d7f903b21d more on yt-dlp profile 2026-01-13 12:14:25 -05:00
netblue30
fa6bfd751e Merge pull request #7029 from KhoTeru/profile/zen-browser
New profiles: zen, zen-bin, zen-browser
2026-01-13 10:01:19 -05:00
netblue30
42411e9923 make sort-profiles 2026-01-13 09:56:37 -05:00
netblue30
f2de86464d tentative fix for yt-dlp/javaScript deno profile (#6999) 2026-01-13 09:49:39 -05:00
Teru
09e376dc51
New profiles: zen, zen-bin, zen-browser 2026-01-11 21:57:31 -05:00
netblue30
9882aa0bb2
Merge pull request #6996 from HybridDog/srb2_profile
new profile: srb2
2026-01-11 19:51:19 -05:00
Dmitriy Baranov
97871d7632 New profile: fragments
Fast, easy and free BitTorrent client (GTK4 GUI for transmission-daemon):
https://gitlab.gnome.org/World/Fragments

The profile is based on transmission-common and transmission-gtk profiles.
Only added dbus permissions and changed default paths.
2026-01-10 02:12:53 +03:00
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
Kelvin M. Klann
170519d83d profiles: libreoffice: sort noblacklist section
This amends commit 4ce422bfd ("libreoffice.profile update", 2025-12-27).
2025-12-28 09:14:43 -03:00
netblue30
4ce422bfdb libreoffice.profile update 2025-12-27 10:26:49 -05:00
Kelvin M. Klann
a0770eb333 profiles: run sort.py to fix ci
Command used:

    $ ./ci/check/profiles/sort.py etc/inc/*.inc etc/profile-*/*.profile

This amends commit a98a1d281 ("bwrap replacement - part 6 - allow
/lib/libexec", 2025-12-20).
2025-12-20 18:23:27 -03:00
netblue30
a98a1d2816 bwrap replacement - part 6 - allow /lib/libexec 2025-12-20 12:27:12 -05:00
Kelvin M. Klann
e4294defd8 build: remove remnants of overlayfs/--overlay
Remove what remains of the overlayfs support, `--overlay` commands and
the `--enable-overlayfs` configure option.

Commands:

* `--overlay`
* `--overlay-named=`
* `--overlay-clean`
* `--overlay-tmpfs`

firejail.config:

* `overlayfs`

Related commits:

* 489cc25c2 ("cleaned up old overlayfs code; the feature was disabled by
  default in 2021 because of security problems", 2025-12-16).
* b537aa57b ("fixed /sys mounting broken during overlayfs cleanup",
  2025-12-18)

Relates to #6994.

Note: Code with `RUN_OVERLAY_ROOT` / `oroot` is left as is, since it
seems to also be used by `--chroot`:

    $ git grep -E '[^n]oroot'
    etc/apparmor/firejail-default:# Line starting with /run/firejail/mnt/oroot deal with --overlay sandboxes.
    etc/apparmor/firejail-default:/{,run/firejail/mnt/oroot/}{dev,etc,home,media,mnt,root,srv,tmp,var}/** w,
    etc/apparmor/firejail-default:# to run programs from your home directory, add "/{,run/firejail/mnt/oroot/}home/** ix,"
    etc/apparmor/firejail-default:/{,run/firejail/mnt/oroot/}{,usr/,usr/local/}bin/** ix,
    etc/apparmor/firejail-default:/{,run/firejail/mnt/oroot/}{,usr/,usr/local/}sbin/** ix,
    etc/apparmor/firejail-default:/{,run/firejail/mnt/oroot/}{,usr/,usr/local/}games/** ix,
    etc/apparmor/firejail-default:/{,run/firejail/mnt/oroot/}{,usr/,usr/local/}lib{,32,64,exec}/** ix,
    etc/apparmor/firejail-default:/{,run/firejail/mnt/oroot/}{,usr/,usr/local/}opt/** ix,
    etc/apparmor/firejail-default:#/{,run/firejail/mnt/oroot/}home/** ix,
    etc/apparmor/firejail-default:/{,run/firejail/mnt/oroot/}{,var/}run/firejail/appimage/** ix,
    src/firejail/chroot.c:  // create /run/firejail/mnt/oroot
    src/firejail/chroot.c:  char *oroot = RUN_OVERLAY_ROOT;
    src/firejail/chroot.c:  if (mkdir(oroot, 0755) == -1)
    src/firejail/chroot.c:  // mount the chroot dir on top of /run/firejail/mnt/oroot in order to reuse the apparmor rules for overlay
    src/firejail/chroot.c:  if (bind_mount_fd_to_path(parentfd, oroot))
    src/firejail/chroot.c:          errExit("mounting rootdir oroot");
    src/firejail/chroot.c:  if (chroot(oroot) < 0)
    src/include/rundefs.h:#define RUN_OVERLAY_ROOT          RUN_MNT_DIR "/oroot"
2025-12-19 16:35:02 -03:00
Kelvin M. Klann
381c3cf1a3 build: remove remnants of IDS/fids
Remove what remains of the Intrusion Detection System (IDS)/fids,
`--ids` commands and the `--enable-ids` configure option.

Commands:

* `--ids-check`
* `--ids-init`

Related commits:

* 5e962ff78 ("removed IDS feature, it was never enabled by default in
  our builds", 2025-12-17)

Relates to #6995.
2025-12-19 15:24:37 -03:00
Kelvin M. Klann
6804120894 ci: run sort.py to fix ci
Command used:

    $ ./ci/check/profiles/sort.py etc/inc/*.inc etc/profile-*/*.profile

Related commits:

* 411b97fdc ("profile fixes: allow bwrap inside the sandbox",
  2025-12-18)
* bb5c1391c ("added gnome-text-editor profile", 2025-12-19)
2025-12-19 15:23:17 -03:00
HybridDog
6416bdbe4c remove the whitelist-run-common.inc as it reduces FPS significantly 2025-12-19 17:53:40 +01:00
HybridDog
f371436053 fix mistake in private-etc and add whitelist includes 2025-12-19 17:35:02 +01:00
HybridDog
dfed639485 Add a profile for srb2
Sonic Robo Blast 2 is implemented in C, occasionally crashes with memory
access errors and has a multiplayer mode with insecure network traffic,
so I think it's a good candidate for sandboxing.
2025-12-19 16:57:13 +01:00
netblue30
b00ff53fe0 gnome-text-editor 2025-12-19 10:29:02 -05:00
netblue30
bb5c1391cd added gnome-text-editor profile 2025-12-19 10:26:10 -05:00
netblue30
582036ba07 update gimp profile 2025-12-18 20:03:44 -05:00
netblue30
411b97fdc9 profile fixes: allow bwrap inside the sandbox 2025-12-18 07:59:07 -05:00
netblue30
f061dbd549 fix lincity-ng profile 2025-12-15 21:07:04 -05:00
Kelvin M. Klann
31b662d7b3 profiles: youtube-music-desktop-app: re-comment globals include
globals.local is already included by etc/profile-m-z/ytmdesktop.profile.

This amends commit 62492e3eb ("profile updates", 2025-12-06).
2025-12-14 09:20:05 -03:00
Kelvin M. Klann
7313b7ca1a ci: run sort.py to fix ci
Command used:

    $ ./ci/check/profiles/sort.py etc/inc/*.inc etc/profile-*/*.profile

This amends commit 62492e3eb ("profile updates", 2025-12-06).
2025-12-14 09:17:18 -03:00
Kelvin M. Klann
3106e1cce0 Revert "electrum.profile add noblacklist /usr/share/fonts"
This reverts commit 74fab15f97.

This path is not blacklisted anywhere.

Relates to #6985.
2025-12-14 09:10:18 -03:00
netblue30
817efb9724
Merge pull request #6985 from ipaqmaster/master
electrum.profile add noblacklist /usr/share/fonts
2025-12-12 08:25:40 -05:00
netblue30
fcbb6d6044 profiles update 2025-12-12 07:34:15 -05:00
Jared J
74fab15f97 electrum.profile add noblacklist /usr/share/fonts 2025-12-07 11:40:42 +11:00
netblue30
62492e3eb6 profile updates 2025-12-06 15:19:21 -05:00
netblue30
76322d1bb8
Merge pull request #6888 from hlein/hashcat-profile
profiles: hashcat: fix runtime errors
2025-12-05 09:10:00 -05:00
Kelvin M. Klann
93a15c840d profiles: seahorse: sort whitelist
Misc: The relevant entries were added on commit 4747e0ed7 ("Whitelist
runuser common (#3286)", 2020-03-31).

This is a follow-up to #6975.
2025-12-05 06:18:20 -03:00