mirror of
https://github.com/flatpak/flatpak.git
synced 2026-11-01 11:29:57 -05:00
glnx_file_copy_at: Use O_PATH fd for xattr and ownership operations
After creating the symlink, open it with O_PATH to pin the inode and verify the target matches. All subsequent operations (xattrs, chown) go through the pinned fd instead of path-based operations.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f