aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAge
...
* chroot: little tweaksLibravatar smitsohu2020-08-27
|
* mask writable pulseaudio runtime dirLibravatar smitsohu2020-08-27
| | | | ... and don't fail hard without need if there is a FUSE mount
* improve copy_fileLibravatar smitsohu2020-08-27
| | | | don't report success if read failed
* cat fixesLibravatar smitsohu2020-08-25
|
* fix --join for sandboxes with xdg-dbuss-proxyLibravatar netblue302020-08-22
|
* firemon fix for xdg-bus-proxyLibravatar netblue302020-08-22
|
* minor cleanup: move pid functions from main.c to util.cLibravatar netblue302020-08-22
|
* Merge branch 'master' of https://github.com/netblue30/firejailLibravatar netblue302020-08-22
|\
| * Merge pull request #3572 from smitsohu/dumpableLibravatar netblue302020-08-22
| |\ | | | | | | hardening: run plugins with dumpable flag cleared
| | * cleanupLibravatar smitsohu2020-08-17
| | |
| | * add dumpable warningsLibravatar smitsohu2020-08-17
| | |
| | * various x11 xorg enhancementsLibravatar smitsohu2020-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) copy xauth binary into the sandbox and set mode to 0711, so it runs with cleared dumpable flag for unprivileged users 2) run xauth in an sbox sandbox 3) generate Xauthority file in runtime directory instead of /tmp; this way xauth is able to connect to the X11 socket even if the abstract socket doesn't exist, for example because a new network namespace was instantiated
| * | harden cat optionLibravatar smitsohu2020-08-20
| | |
| * | Merge branch 'master' into lsLibravatar smitsohu2020-08-19
| |\ \
| * | | cat optionLibravatar smitsohu2020-08-19
| | | |
| * | | drop system(3) calls from sandbox.cLibravatar smitsohu2020-08-19
| | | |
| * | | refactor ls.c and prepare for new --cat optionLibravatar smitsohu2020-08-19
| | |/ | |/|
* | | cleaning up POSTMORTEM codeLibravatar netblue302020-08-22
| |/ |/|
* | Merge pull request #3559 from smitsohu/smitsohu-bandwidthLibravatar smitsohu2020-08-14
|\ \ | | | | | | harden bandwidth command
| * | harden bandwidth commandLibravatar smitsohu2020-07-14
| | | | | | | | | add extra checks to defend against command injection (respective strings are controlled by Firejail, so this should be redundant and only for the paranoid), run shell in a minimal sandbox
* | | print errno if char device creation failsLibravatar Reiner Herrmann2020-08-14
| | | | | | | | | | | | on Ubuntu autopkgtest runs on armhf, /dev/zero creation fails.
* | | shutdown option hidepid fixLibravatar smitsohu2020-08-13
| | |
* | | Merge pull request #3569 from topimiettinen/seccomp-logLibravatar startx20172020-08-12
|\ \ \ | | | | | | | | seccomp: logging
| * | | seccomp: loggingLibravatar Topi Miettinen2020-08-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow `log` as an alternative seccomp error action instead of killing or returning an errno code. Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
* | | | Added youtube-viewer profile with Gtk frontends (#3542)Libravatar kortewegdevries2020-08-11
| | | | | | | | | | | | | | | | | | | | Initial,amend: wrong dir,delete gtk-*,added new files Co-authored-by: kortewegdevries <k0rtic_dv@aol.com>
* | | | chroot: expose x11 session if FIREJAIL_CHROOT_X11 is setLibravatar smitsohu2020-08-10
| | | | | | | | | | | | | | | | add check so that environment variable FIREJAIL_CHROOT_X11 can be used to mount /tmp/.X11-unix into the chroot; issue #3568
* | | | mount sandbox lib directory ro,nosuid,nodevLibravatar smitsohu2020-08-08
| | | |
* | | | fix for older compilers (gcc 4.9.2, Debian 8)Libravatar netblue302020-08-08
| | | |
* | | | annotate some functions as non-returning (#3574)Libravatar Reiner Herrmann2020-08-08
| |_|/ |/| |
* | | firejail: don't pass command line through shell when redirecting outputLibravatar Reiner Herrmann2020-08-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When redirecting output via --output or --output-stderr, firejail was concatenating all command line arguments into a single string that was passed to a shell. As the arguments were no longer escaped, the shell was able to interpret them. Someone who has control over the command line arguments of the sandboxed application could use this to run arbitrary other commands. Instead of passing it through a shell for piping the output to ftee, the pipeline is now manually created and the processes are executed directly. Fixes: CVE-2020-17368 Reported-by: Tim Starling <tstarling@wikimedia.org>
* | | firejail: don't interpret output arguments after end-of-options tagLibravatar Reiner Herrmann2020-08-06
|/ / | | | | | | | | | | | | | | | | | | | | Firejail was parsing --output and --output-stderr options even after the end-of-options separator ("--"), which would allow someone who has control over command line options of the sandboxed application, to write data to a specified file. Fixes: CVE-2020-17367 Reported-by: Tim Starling <tstarling@wikimedia.org>
* | Support to ingore a include foobar.incLibravatar rusty-snake2020-08-04
| | | | | | | | closes #1139
* | Add profile for otter-browser (#3564)Libravatar kortewegdevries2020-08-04
| | | | | | | | | | | | | | * Add profile for otter-browser Initial * private-bin,sorting
* | don't run with closed standard streamsLibravatar smitsohu2020-08-03
| | | | | | | | | | | | Ensure that all standard streams are open and we don't inadvertently print to files opened for a different reason; in general we can expect glibc to take care of this, but it doesn't cover the case where a sandbox is started by root. The added code also serves as a fallback. Unrelated: For what it's worth, shift umask call closer to main start, so it runs before lowering privileges and before anything can really go wrong.
* | Added git-cola profile (#3560)Libravatar kortewegdevries2020-07-30
| | | | | | | | | | | | | | | | | | | | | | * Added git-cola profile Initial * Edit private-etc Add alternatives,pki * Add disable-xdg
* | Add vmware profile #3526Libravatar Neo000012020-07-30
| |
* | new profile: gnome-calendarLibravatar rusty-snake2020-07-30
| |
* | add profile for sushi (#3558)Libravatar rusty-snake2020-07-30
| |
* | Added lyx profile (#3556)Libravatar kortewegdevries2020-07-30
| | | | | | | | | | | | | | | | | | * Added lyx profile Initial * Rmoved whitelists Make home directory more accessible
* | Added minitube profile (#3555)Libravatar kortewegdevries2020-07-30
| | | | | | | | | | | | | | | | | | * Added minitube profile Initial * Second Removed no3d,added novideo
* | Added Nuclear profile (#3553)Libravatar kortewegdevries2020-07-30
| | | | | | Initial
* | Added mtpaint profile (#3550)Libravatar kortewegdevries2020-07-30
| | | | | | | | | | | | | | | | | | * Added mtpaint profile Initial * Second Remove IPC-namespace,netfilter
* | initial /home cleaning: fail gently if home directory is a FUSE mountLibravatar smitsohu2020-07-29
| |
* | Merge pull request #3521 from smitsohu/join2Libravatar smitsohu2020-07-29
|\ \ | | | | | | integrate join(-or-start) with dbus options (partial fix)
| * | integrate join(-or-start) with dbus optionsLibravatar smitsohu2020-07-18
| | | | | | | | | | | | | | | update D-Bus environment variables during join, so that a joining process is able to use D-Bus, too
* | | Added minecraft-launcher profile (#3538)Libravatar kortewegdevries2020-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added minecraft-launcher-profile Initial * Changed minecraft-launcher profile Added space,tracelog,nodvd * Third Fixed private-etc,added notes about path,java * Sorting
* | | Merge pull request #3547 from kortewegdevries/mtpaintLibravatar rusty-snake2020-07-26
|\ \ \ | | | | | | | | Added xfce4-screenshooter profile
| * | | Added xfce4-screenshooter profileLibravatar kortewegdevries2020-07-25
| | | | | | | | | | | | | | | | Initial,removed common blaclist,add netfilter,private-etc
* | | | Merge pull request #3502 from awelzel/ignore-sigttou-during-stdin-flushLibravatar smitsohu2020-07-25
|\ \ \ \ | |/ / / |/| | | Ignore SIGTTOU during flush_stdin()
| * | | Ignore SIGTTOU during flush_stdin()Libravatar Arne Welzel2020-07-08
| | | | | | | | | | | | | | | | fixes #3500