Allan McRae pushed to branch release/7.0.x at Pacman / Pacman


Commits:
2a147eb7 by Rafael Fontenelle at 2024-11-16T13:17:19+10:00
Add double colon for newline after MAKEPKG_LINT_PKGBUILD in makepkg.8.asciidoc

(cherry picked from commit 60ec2684584b8a6a9d3be43ec2d6881e5eb84ed2)

- - - - -
e3aedfb7 by Chih-Hsuan Yen at 2024-11-16T13:17:29+10:00
Correctly configure landlock for older ABIs

For example, with landlock ABI < 3, LANDLOCK_ACCESS_FS_TRUNCATE is not
set in ruleset_attr.handled_access_fs, so it should not be set in
path_beneath.allowed_access either. Otherwise, landlock_add_rule fails
with -EINVAL, and pacman complains:

> error: restricting filesystem access failed because the landlock rule for 
the temporary download directory could not be added!

The change is tested on Debian Bookworm kernel
linux-image-6.1.0-25-cloud-amd64 6.1.106-3.

(cherry picked from commit e80569f5dabfb91d073ee474f0194f69a12702e8)

- - - - -
c685ae64 by Guillaume at 2024-11-16T13:17:39+10:00
fix a segfault in sandbox.c if handle->dlcb is null

(cherry picked from commit a2d029388c7c206f5576456f91bfbea2dca98c96)

- - - - -


3 changed files:

- doc/makepkg.8.asciidoc
- lib/libalpm/sandbox.c
- lib/libalpm/sandbox_fs.c


View it on GitLab: 
https://gitlab.archlinux.org/pacman/pacman/-/compare/77361331ae3864c6ea880e715c5864d59336f275...c685ae6412af04cae1eaa5d6bda8c277c7ffb8c8

-- 
View it on GitLab: 
https://gitlab.archlinux.org/pacman/pacman/-/compare/77361331ae3864c6ea880e715c5864d59336f275...c685ae6412af04cae1eaa5d6bda8c277c7ffb8c8
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to