aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* fixing broken buildLibravatar netblue302021-06-19
|
* jailcheck: networking supportLibravatar netblue302021-06-19
|
* Merge pull request #4360 from kmk3/gcov-add-missing-includesLibravatar netblue302021-06-18
|\ | | | | gcov: add missing gcov.h includes
| * gcov: add missing gcov.h includesLibravatar Kelvin M. Klann2021-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following "implicit declaration" warning (13 occurrences in total) when building with gcov support: $ pacman -Q gcc10 gcc10 1:10.2.0-3 $ CC=gcc-10 && export CC $ ./configure --prefix=/usr --enable-apparmor --enable-gcov >/dev/null $ make >/dev/null appimage.c: In function ‘appimage_set’: appimage.c:140:2: warning: implicit declaration of function ‘__gcov_flush’ [-Wimplicit-function-declaration] 140 | __gcov_flush(); | ^~~~~~~~~~~~ interface.c: In function ‘print_sandbox’: interface.c:149:3: warning: implicit declaration of function ‘__gcov_flush’ [-Wimplicit-function-declaration] 149 | __gcov_flush(); | ^~~~~~~~~~~~ netstats.c: In function ‘netstats’: netstats.c:246:4: warning: implicit declaration of function ‘__gcov_flush’ [-Wimplicit-function-declaration] 246 | __gcov_flush(); | ^~~~~~~~~~~~ [...] Note: The commands above were executed from makepkg, while building firejail-git from the AUR. Note2: gcc-10 was used because the build fails with the current gcc version (11.1.0) on Artix Linux. The failure happens because __gcov_flush was removed on gcc 11.1.0[1]; this will be addressed later. Note3: The following command helped find the affected files: $ git grep -Fl __gcov -- src [1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=811b7636cb8c10f1a550a76242b5666c7ae36da2
* | appimage fixLibravatar netblue302021-06-17
|/
* appimage: automatically detect profileLibravatar netblue302021-06-14
|
* mention new tin profile in readme/relnotesLibravatar Reiner Herrmann2021-06-12
|
* profiles: add profile for tin news reader (#4356)Libravatar Reiner Herrmann2021-06-12
|
* README.md: minor markdown improvementsLibravatar Reiner Herrmann2021-06-11
|
* Merge branch 'master' of https://github.com/netblue30/firejailLibravatar smitsohu2021-06-11
|\
| * mcomix profile creation (#4338)Libravatar pirate4867431862021-06-10
| | | | | | | | | | | | | | | | | | | | | | * mcomix * Create mcomix.profile * tightening * fixes * comment
* | follow-upLibravatar smitsohu2021-06-11
|/ | | | PR #4349
* Merge pull request #4348 from NetSysFire/patch-1Libravatar Reiner Herrmann2021-06-08
|\ | | | | Update weechat.profile
| * Update etc/profile-m-z/weechat.profile Libravatar NetSysFire2021-06-08
| | | | | | | | | | remove whitespace to comply with the profile template Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com>
| * Update weechat.profileLibravatar NetSysFire2021-06-08
| | | | | | weechat needs access to `/usr/share/weechat` if you have any global scripts installed. The directory is empty by default, so there is no additional risk here.
* | Merge pull request #4347 from pirate486743186/w3mLibravatar Reiner Herrmann2021-06-08
|\ \ | | | | | | Update w3m.profile
| * | rm disable-write-mnt.incLibravatar pirate4867431862021-06-07
| | | | | | | | | Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com>
| * | Update w3m.profileLibravatar pirate4867431862021-06-07
| |/
* | Merge pull request #4344 from pirate486743186/qcomicbookLibravatar Reiner Herrmann2021-06-08
|\ \ | | | | | | creating qcomicbook profile
| * | qcomicbookLibravatar pirate4867431862021-06-06
| | |
| * | Create qcomicbook.profileLibravatar pirate4867431862021-06-06
| | |
* | | Merge pull request #4349 from smitsohu/miscLibravatar smitsohu2021-06-08
|\ \ \ | |_|/ |/| | Misc hardening + refactoring
| * | add more EUID switchingLibravatar smitsohu2021-06-08
| | | | | | | | | | | | | | | always access files under control of the user with effective user id of the user
| * | refactor mountingLibravatar smitsohu2021-06-08
| | |
| * | miscLibravatar smitsohu2021-06-07
| | |
| * | fix OOBLibravatar smitsohu2021-06-07
| | |
| * | blacklist cleaned passwd, group, utmp filesLibravatar smitsohu2021-06-06
| | | | | | | | | | | | | | | | | | just in case users decide to remove them completely from the sandbox, by means of private-etc or whitelist
| * | selinux enhancementsLibravatar smitsohu2021-06-06
|/ /
* / fixup 9678da00301562464464099b9d7cfd76424fbb23Libravatar smitsohu2021-06-06
|/
* fix tuxguitarLibravatar smitsohu2021-06-06
|
* cleanupLibravatar smitsohu2021-06-06
|
* rpm: fix man page location in spec fileLibravatar Reiner Herrmann2021-06-06
|
* tightening zathura profile (#4343)Libravatar pirate4867431862021-06-05
| | | | | * tightening zathura profile * sort
* minor fixLibravatar pirate4867431862021-06-05
|
* Update RELNOTES & README.mdLibravatar rusty-snake2021-06-05
| | | | [skip ci]
* jailcheck: fix spelling errorsLibravatar Reiner Herrmann2021-06-04
|
* man: install jailcheck man page in section 1Libravatar Reiner Herrmann2021-06-04
| | | | like it is declared in the man page itself and referenced by other pages.
* creating googler and ddgr profiles (#4333)Libravatar pirate4867431862021-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Create googler-common.profile * Create googler.profile * Create ddgr.profile * Update firecfg.config * sort fix * space * space * tightening * comment * fix comment * fix private-etc and ${DOWNLOADS} * fix sort * redundant ${DOWNLOADS}
* Merge pull request #4326 from jsquyres/pr/master/dont-quote-all-cmdlinesLibravatar netblue302021-06-04
|\ | | | | cmdline.c: optionally quote the resulting command line
| * cmdline.c: optionally quote the resulting command lineLibravatar Jeff Squyres2021-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we were launched by sshd, do not add extra quotes to the command line. This is because if firejail is a login shell, sshd will launch firejail thusly: * argv[0]: /path/to/firejail * argv[1]: -c * argv[2]: user's command to execute For example, if the user executed "ssh othernode echo hello world", argv[2] will be "echo hello world". Firejail will then add *extra* quotes to it, resulting in argv[2] becoming "'echo hello world' " (without the "", of course). The user's shell (e.g., bash) will see the extra single quotes and will not split the token into multiple tokens. The shell will be unable to find an executable or intrinsic named "echo hello world ", so it will fail. This commit changes the above behavior if firejail is launched by sshd. In that case, firejail will *not* add the extra single quotes around argv[2]. Specifically: all the tokens still end up in argv[2], but there's no *extra* quotes around argv[2], so the shell will split argv[2] into multiple tokens (if necessary). In the above example, argv[2] will be "echo hello world" (without the ""), which will be split. The shell will then look for an intrinsic or executable named "echo", which will succeed, and "hello world" will ultimately be emitted. Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
* | Fix sort error in profile.template (#4334)Libravatar pirate4867431862021-06-04
| |
* | Merge pull request #4330 from smitsohu/fjconfigLibravatar netblue302021-06-04
|\ \ | | | | | | add firejail.config switch for private-{bin,etc,opt,srv}
| * | add firejail.config switch for private-{bin,etc,opt,srv}Libravatar smitsohu2021-05-22
| | |
* | | Fix seahorse-adventures + CILibravatar rusty-snake2021-06-04
| | |
* | | Better error message for jail_prober.py cli usageLibravatar rusty-snake2021-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Curerently sys.argv is accessed without checks, resulting in an IndexError: ``` Traceback (most recent call last): File "/home/rusty-snake/Projects/firejail/contrib/jail_prober.py", line 205, in <module> main() File "/home/rusty-snake/Projects/firejail/contrib/jail_prober.py", line 170, in main profile_path = sys.argv[1] IndexError: list index out of range ``` This commit catches this IndexError and prints a more helpfull message instaed: ``` USAGE: jail_prober.py <PROFILE-PATH> <PROGRAM> ```
* | | Merge pull request #4325 from florianbegusch/fbegusch-improve-jail_prober.pyLibravatar rusty-snake2021-06-04
|\ \ \ | | | | | | | | jail_prober: enable absolut include directives
| * | | jail_prober: enable absolut include directivesLibravatar Florian Begusch2021-06-03
| | | |
* | | | some profile fixes for Debian 10Libravatar netblue302021-06-03
| | | |
* | | | simplify X11 socket whitelistingLibravatar smitsohu2021-06-03
| | | |
* | | | Update profile.templateLibravatar rusty-snake2021-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The header of profile.template define this order: IGNORES NOBLACKLISTS ALLOW INCLUDES BLACKLISTS DISABLE INCLUDES