Skip to content

storage: fix broken fgetxattr call#824

Merged
giuseppe merged 1 commit intocontainers:mainfrom
Luap99:fix-fgetxattr
May 6, 2026
Merged

storage: fix broken fgetxattr call#824
giuseppe merged 1 commit intocontainers:mainfrom
Luap99:fix-fgetxattr

Conversation

@Luap99
Copy link
Copy Markdown
Member

@Luap99 Luap99 commented May 6, 2026

As documented in the open man page O_PATH is not valid for fgetxattr() and fails with EBADF.

Fixes: 363943a ("storage, overlay: use openat2 instead of using procfs")

As documented in the open man page O_PATH is not valid for fgetxattr()
and fails with EBADF.

Fixes: 363943a ("storage, overlay: use openat2 instead of using procfs")

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Copy link
Copy Markdown
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@giuseppe giuseppe merged commit 35c7612 into containers:main May 6, 2026
37 checks passed
@Luap99 Luap99 deleted the fix-fgetxattr branch May 6, 2026 11:48
@mtrmac
Copy link
Copy Markdown
Contributor

mtrmac commented May 6, 2026

Thanks! Do I understand correctly that this broke some Podman tests? If not, we have a testing gap.

@mtrmac
Copy link
Copy Markdown
Contributor

mtrmac commented May 6, 2026

Thanks! Do I understand correctly that this broke some Podman tests?

… yes, per #820 (comment) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

storage Related to "storage" package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants