Allan McRae pushed to branch master at Pacman / Pacman


Commits:
e9b385a6 by Jack Rosenthal at 2023-10-23T12:13:10+00:00
alpm: Don't chroot() to "/"

chroot() requires CAP_SYS_CHROOT.  If the caller has put us in the
right root directory already, don't call chroot().  This allows
running pacman in a containerized environment without CAP_SYS_CHROOT.

- - - - -


1 changed file:

- lib/libalpm/util.c


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

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


Reply via email to