containers / crun

A fast and lightweight fully featured OCI runtime and C library for running containers
GNU General Public License v2.0
2.87k stars 294 forks source link

linux: fix mount of special files with rro #1464

Closed giuseppe closed 1 month ago

giuseppe commented 2 months ago

open the mount target with O_PATH to prevent open(2) failures with special files like FIFOs or UNIX sockets.

Closes: https://github.com/containers/crun/issues/1463

packit-as-a-service[bot] commented 2 months ago

podman system tests failed. @containers/packit-build please check.

rhatdan commented 1 month ago

LGTM