Allan McRae pushed to branch master at Pacman / Pacman


Commits:
8a573085 by Allan McRae at 2025-11-20T16:41:35+10:00
Provide generic sandbox status functions

The function alpm_option_set_disable_sandbox() was removed in favour of
the vairants that can enable/disable specific parts of the sandbox. This
removal was undocumented in the release notes, and the continued
inclusion of the more generic sandbox control functions is still useful.

Readd alpm_option_set_disable_sandbox() which now is a shortcut for
doing the combined alpm_option_set_disable_sandbox-{filesystem,syscalls}.
The alpm_option_get_disable_sandbox() function was readded, but adjusted
to return 0 if the sandbox is fully enabled, 1 if any component of the
sandbox is disabled, and 2 if all components are disabled.

Give the libalpm soname a minor level bump to indicated these interfaces
have been added since release, as this commit will be backorted to the
release branch.

Signed-off-by: Allan McRae <[email protected]>

- - - - -


4 changed files:

- README
- lib/libalpm/alpm.h
- lib/libalpm/handle.c
- meson.build


View it on GitLab: 
https://gitlab.archlinux.org/pacman/pacman/-/commit/8a573085714c40e68ed8c03d883c68f69a88c4b2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/pacman/pacman/-/commit/8a573085714c40e68ed8c03d883c68f69a88c4b2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to