Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Landlock updates #65

Merged
merged 13 commits into from
Oct 13, 2024
Merged

Landlock updates #65

merged 13 commits into from
Oct 13, 2024

Conversation

vlaci
Copy link
Contributor

@vlaci vlaci commented Oct 11, 2024

As there were no code change for a long time, this PR adds a bunch of dependency updates as well.

vlaci added 4 commits October 11, 2024 17:08
Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/dd0703e582ab7edc2637bc3385d540c3dbffa0db' (2024-08-24)
  → 'github:rustsec/advisory-db/acb7ce45817b13dd34cb32540ff18be4e1f3ba09' (2024-10-08)
• Updated input 'crane':
    'github:ipetkov/crane/3e08f4b1fc9aaede5dd511d8f5f4ef27501e49b0' (2024-08-24)
  → 'github:ipetkov/crane/fd86b78f5f35f712c72147427b1eb81a9bd55d0b' (2024-10-07)
• Removed input 'crane/nixpkgs'
• Updated input 'flake-utils':
    'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
  → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ae815cee91b417be55d43781eb4b73ae1ecc396c' (2024-08-23)
  → 'github:NixOS/nixpkgs/b69de56fac8c2b6f8fd27f2eca01dcda8e0a4221' (2024-10-10)
Fixed error:

    evaluation warning: `crane.lib.${system}` is deprecated. please
    use `(crane.mkLib nixpkgs.legacyPackages.${system})` instead
@vlaci vlaci force-pushed the landlock branch 2 times, most recently from b1665ad to e933c02 Compare October 11, 2024 15:22
@vlaci vlaci force-pushed the landlock branch 3 times, most recently from d16b80b to 981aa97 Compare October 11, 2024 18:46
@qkaiser qkaiser self-requested a review October 12, 2024 10:30
@qkaiser qkaiser added the enhancement New feature or request label Oct 12, 2024
Copy link
Contributor

@qkaiser qkaiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Just a typo in the requests commit message.

vlaci added 9 commits October 13, 2024 14:52
    ✔ Update pytest 7.0.1 -> 8.3.3 successful
    ✔ Update black 23.3.0 -> 24.8.0 successful
    ✔ Update pluggy 1.0.0 -> 1.5.0 successful
    ✔ Update pyright 1.1.306 -> 1.1.384 successful
    ✔ Update pre-commit 2.21.0 -> 3.5.0 successful
    ✔ Update ruff 0.0.264 -> 0.6.9 successful
ISC rule is removed as it conflicts with `ruff format`
Also conditionally enabled tests for aarch64-linux, where landlock
support supposed to be working, but it fails in our test environment
due to limitations of Qemu user mode emulations.
It is also suppressed in Unblob

    tests/test_sandbox.py:65:11: TRY003 Avoid specifying long messages outside the exception class
       |
    63 |           return 0
    64 |
    65 |       raise RuntimeError(
       |  ___________^
    66 | |         "landlock_create_ruleset system call failed", err, os.strerror(err)
    67 | |     )
       | |_____^ TRY003
       |
@vlaci vlaci merged commit 519671d into main Oct 13, 2024
26 checks passed
@vlaci vlaci deleted the landlock branch October 13, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants