Commit graph

8689 commits

Author SHA1 Message Date
Kelvin M. Klann
9c7908624a .git-blame-ignore-revs: add Landlock v1 commits
Commands used to find and print the relevant commits:

    $ TZ=UTC0 git log --date='format-local:%Y-%m-%d' \
      --pretty='%H # %cd | %s' 60db9f785~1..60db9f785 |
      grep 'Revert "';
      git log --reverse --pretty=%b 60db9f785~1..60db9f785 |
      sed -E -n 's/^This reverts commit ([0-9a-z]+).*/\1/p' |
      TZ=UTC0 xargs git show --date='format-local:%Y-%m-%d' \
      --pretty='%H # %cd | %s' -s | grep -v 'Merge pull request';
      TZ=UTC0 git log --no-merges --date='format-local:%Y-%m-%d' \
      --pretty='%H # %cd | %s' 54cb3e741~1..54cb3e741

Explanation: The first `git log` basically takes the revision range from
one commit before a given merge commit until the merge commit itself and
prints the commits in that range (which should usually mean all commits
that were in the branch that was merged).  In this case, it's the
commits that do the revert.

The second `git log` finds the hash of all commits that were reverted
and prints them.

The `grep -v` and third `git log` are only needed because the merge
commit of the original branch was reverted directly (on commit
97874c3bf), rather than reverting each individual commit on that branch.
So these commands are used to print all of the commits in the original
branch.

Relates to #5315 #5347.
2022-09-19 11:56:41 -03:00
Kelvin M. Klann
7178981bcf .git-blame-ignore-revs: change format to hash then info
Command used to generate the entries in the new format:

    $ TZ=UTC0 git show --date='format-local:%Y-%m-%d' \
      --pretty='%H # %cd | %s' -s f43382f1e fe0f975f4

Put the committer date ("%cd") and commit message subject ("%s") as a
comment right after the commit hash ("%H").  The pipe ("|") is intended
to improve readability.

This format looks more similar to the output of `git log --oneline` and
should make it easier to visually parse long lists.  It also allows more
hashes to fit into the same amount of lines (at the cost of longer
lines).

Use committer date ("%cd") instead of author date ("%ad") as the former
tells when a commit actually landed on master.  This usually matches the
topological order, which should make it easier to verify that all of the
relevant commits are listed (and that there are no extraneous commits).

Use --date + "%cd" instead of just "%ci" because the former can be used
to ensure that the date is always printed in the same timezone (UTC).
2022-09-19 11:54:26 -03:00
Kelvin M. Klann
9ffef729c0 .git-blame-ignore-revs: put more recent commits first
This is more similar to the default `git log` output and should result
in the matches happening earlier for more recent commits.
2022-09-19 10:47:20 -03:00
glitsj16
c7cf0dd85e
docs: man: Note that some commands can be disabled in firejail.config (#5366)
* [man firejail] Make it explicit that some options are disabled by default in firejail.config

* Reword firejail.config notes

* Only add relevant firejail.config option in notes

* move firejail.config notes to the end of each section

* fix tracelog note

* fix erroneous line break

* really fix erroneous line break

Co-authored-by: Kelvin M. Klann <kmk3.code@protonmail.com>
2022-09-14 19:05:38 +00:00
glitsj16
3e7b65da2e
discord: fix issues with command-line usage (#5368)
* use both capitalized and regular discord commands to private-bin

* use both capitalized and regular discord commands to private-bin

* add awk and which to private-bin for better xdg-open support

* use both capitalized and regular discord commands to private-bin

* use both capitalized and regular discord commands to private-bin

* refactor CamelCased discord profiles

* refactor CamelCased discord profiles

* fix private-{bin,opt} sorting

* fix private-{bin,opt} sorting

* unfuck private-{bin,opt} sorting

* unfuck private-{bin,opt} sorting

* fix sorting once more for CI

* fix sorting once again for CI
2022-09-14 17:36:01 +00:00
godbless
2cfe3ea9d0
Fix Firefox 'Profile not found' for psd (v6.45) (#5348)
* Fix Firefox 'Profile not found' for psd (v6.45)

code change: `whitelist ${RUNUSER}/psd/*firefox*`

fixes: #4568

* Whitelist ${RUNUSER}/psd/*firefox*

* Fix workflow for github
2022-09-08 19:15:58 +00:00
dependabot[bot]
3e277aaf71 build(deps): bump github/codeql-action from 2.1.21 to 2.1.22
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.21 to 2.1.22.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c7f292ea4f...b398f525a5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-07 16:21:58 +00:00
Kelvin M. Klann
160ccd3d9e docs: change /foo to /bar in symlink handling example
As suggested by @birdie-github[1].

This amends commit c78c2b4ec ("docs: note that blacklist/whitelist
follow symlinks", 2022-08-28) / PR #5344.

[1] https://github.com/netblue30/firejail/pull/5344#issuecomment-1229903967
2022-09-06 08:47:36 -03:00
Kelvin M. Klann
60db9f7851
Merge pull request #5347 from kmk3/revert-landlock
Revert "Add Landlock support to Firejail"
2022-09-06 11:20:55 +00:00
netblue30
acd931b904
Merge pull request #5361 from glitsj16/irc
Add IRC channel info to README.md
2022-09-05 09:15:45 -04:00
netblue30
d900d53196 README/README.md
Committer note: This is the same as commit 796fa0963
("README/README.md", 2022-08-30) and commit 0594c5d3d ("typos",
2022-08-30) but without the Landlock-related changes.
2022-09-05 01:07:41 -03:00
netblue30
7bd03a67ba tracelog disabled by default in /etc/firejail/firejail.config file
Committer note: This is the same as commit 6e687c301 ("tracelog disabled
by default in /etc/firejail/firejail.config file", 2022-08-29) but
without the Landlock-related changes.
2022-09-05 01:07:41 -03:00
Kelvin M. Klann
97874c3bf9 Revert "Merge pull request #5315 from ChrysoliteAzalea/landlock"
This reverts commit 54cb3e741e, reversing
changes made to 97b1e02d5f.

There were many issues and requests for changes raised in the pull
request (both code-wise and design-wise) and most of them are still
unresolved[1].

[1] https://github.com/netblue30/firejail/pull/5315
2022-09-05 01:07:41 -03:00
Kelvin M. Klann
b900bdc874 Revert "compile fix"
This reverts commit 836ffe37ff.

Part of reverting commits with Landlock-related changes.
2022-09-05 01:07:41 -03:00
Kelvin M. Klann
bfcacff665 Revert "tracelog disabled by default in /etc/firejail/firejail.config file"
This reverts commit 6e687c3011.

Part of reverting commits with Landlock-related changes.
2022-09-05 01:07:41 -03:00
Kelvin M. Klann
2a79f3a268 Revert "README/README.md"
This reverts commit 796fa09636.

Part of reverting commits with Landlock-related changes.
2022-09-05 01:07:41 -03:00
Kelvin M. Klann
67348ac9c2 Revert "typos"
This reverts commit 0594c5d3d0.

Part of reverting commits with Landlock-related changes.
2022-09-05 01:07:41 -03:00
Kelvin M. Klann
0cd20b7e81 Revert "fix syntax in configure.ac"
This reverts commit 2d885e5a09.

Part of reverting commits with Landlock-related changes.
2022-09-05 01:07:40 -03:00
Kelvin M. Klann
26c74796f3 Revert "landlock: check for landlock support in glibc"
This reverts commit c5a052ffa4.

Part of reverting commits with Landlock-related changes.
2022-09-05 01:07:39 -03:00
Kelvin M. Klann
5b206611c0 Revert "landlock: support in firejail --version"
This reverts commit 2f3c19a87d.

Part of reverting commits with Landlock-related changes.
2022-09-05 01:07:34 -03:00
glitsj16
a8cf8974a7
Add IRC channel info to README.md 2022-09-05 02:46:34 +00:00
alkim0
529b38ffd2
Add profile for chafa (#5355)
Co-authored-by: Albert Kim <alkim@alkim.org>
2022-09-04 23:47:21 +00:00
netblue30
2f3c19a87d landlock: support in firejail --version 2022-09-04 11:02:08 -04:00
netblue30
c5a052ffa4 landlock: check for landlock support in glibc 2022-09-04 10:51:26 -04:00
Reiner Herrmann
2d885e5a09 fix syntax in configure.ac
Fixes: #5358
2022-09-04 12:19:27 +02:00
glitsj16
9aef909066
build: only install ids.config when --enable-ids is set (#5357)
This PR ensures ids.config only gets installed when --enable-ids is set during configure.
Fixes #5356.
2022-09-04 08:22:29 +00:00
slowpeek
c7148b8008
Make /etc/ssh/ssh_config.d visible for ssh (#5353) 2022-09-02 18:10:08 +00:00
netblue30
0594c5d3d0 typos 2022-08-30 09:13:14 -04:00
netblue30
796fa09636 README/README.md 2022-08-30 09:10:55 -04:00
netblue30
0fcb576ba2
Merge pull request #5349 from glitsj16/typo-fixes
Typo fixes
2022-08-30 08:55:27 -04:00
glitsj16
2ac8a93fd4
typo fix for README.md 2022-08-29 18:18:59 +00:00
glitsj16
c5e8d5d1f6
typo fixes for RELNOTES 2022-08-29 18:16:27 +00:00
netblue30
6d740d7dcf RELNOTES and README.md - existing functionality modified for the next version 2022-08-29 12:55:00 -04:00
netblue30
6e687c3011 tracelog disabled by default in /etc/firejail/firejail.config file 2022-08-29 12:30:05 -04:00
netblue30
836ffe37ff compile fix 2022-08-29 08:54:33 -04:00
netblue30
54cb3e741e
Merge pull request #5315 from ChrysoliteAzalea/landlock
Add Landlock support to Firejail
2022-08-29 08:44:41 -04:00
netblue30
97b1e02d5f merges, fixed lbry-viewer as suggested 2022-08-29 07:43:32 -04:00
netblue30
18be7a1f96
Merge pull request #5331 from pirate486743186/lbry-viewer.profile-create
lbry-viewer.profile create
2022-08-29 07:37:35 -04:00
netblue30
57f35e5f7f
Merge pull request #5344 from kmk3/docs-symlink-handling
docs: note that blacklist/whitelist follow symlinks
2022-08-29 07:36:08 -04:00
netblue30
f843ea3e2e
Merge pull request #5345 from netblue30/dependabot/github_actions/github/codeql-action-2.1.21
build(deps): bump github/codeql-action from 2.1.19 to 2.1.21
2022-08-29 07:30:18 -04:00
dependabot[bot]
399178eb56
build(deps): bump github/codeql-action from 2.1.19 to 2.1.21
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.19 to 2.1.21.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f5d217be74...c7f292ea4f)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-29 06:13:04 +00:00
Kelvin M. Klann
c78c2b4ec4 docs: note that blacklist/whitelist follow symlinks
Make it more explicit that they do and add an example for each command.

Relates to #5338.
2022-08-28 21:14:23 -03:00
Kelvin M. Klann
8e04409614 docs: clarify symlink handling description in --whitelist
Format it and improve the grammar and explanation.
2022-08-28 19:46:14 -03:00
pirate486743186
fd5659e43a
tuir.profile creation (#5330)
Co-authored-by: pirate486743186 <>
2022-08-28 20:00:36 +00:00
Kelvin M. Klann
783c700510 steam.profile: fix Proton-GE version in comment
This amends commit e2631b40d ("steam.profile: fix breakage with newer
Proton-GE (process_vm_readv)", 2022-08-20).
2022-08-26 16:33:52 -03:00
Kelvin M. Klann
e2631b40d9 steam.profile: fix breakage with newer Proton-GE (process_vm_readv)
As reported by @rsramkis on #5185, upgrading from Proton-7.2-GE-2[1]
(released on 2022-02-14) to GE-Proton7-18[2] (released on 2022-05-19)
breaks logging in on World of Tanks Blitz unless the `process_vm_ready`
32-bit syscall is allowed[3], so allow it.

Fixes #5185.

[1] https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/7.2-GE-2
[2] https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/GE-Proton7-18
[3] https://github.com/netblue30/firejail/issues/5185#issuecomment-1152350336
2022-08-26 19:30:14 +00:00
dependabot[bot]
79d5b03884 build(deps): bump github/codeql-action from 2.1.18 to 2.1.19
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.18 to 2.1.19.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2ca79b6fa8...f5d217be74)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-24 16:38:57 +00:00
Kelvin M. Klann
9f900534f1 src/firejail/profile.c: fix trailing whitespace
This amends commit 7f3b6c19a ("Add support for custom AppArmor profiles
(--apparmor=)", 2022-07-25) / PR #5274.
2022-08-23 06:37:52 -03:00
pirate486743186
08715f6022 lbry-viewer.profile create 2022-08-21 15:05:47 +02:00
Kelvin M. Klann
64cad40118 docs: set vim filetype on the other man pages
Some man pages are missing it.

This amends commit aacd2e7d8 ("docs: set vim filetype on man pages for
syntax highlighting", 2022-08-04) / PR #5296.
2022-08-20 12:08:25 -03:00