[Git][pacman/pacman][master] alpm: Don't chroot() to "/"
5 Nov
2023
5 Nov
'23
9:47 p.m.
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/e9b385a6369b18423142eb36... -- View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/commit/e9b385a6369b18423142eb36... You're receiving this email because of your account on gitlab.archlinux.org.
390
Age (days ago)
390
Last active (days ago)
0 comments
1 participants
participants (1)
-
Allan McRae (@allan)