Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up Linux xattr syscalls #21804

Merged
merged 1 commit into from
Oct 26, 2024
Merged

Fix up Linux xattr syscalls #21804

merged 1 commit into from
Oct 26, 2024

Conversation

tikatoo
Copy link

@tikatoo tikatoo commented Oct 26, 2024

fgetxattr now doesn't accidentally call lgetxattr, which fixes #21785. Also tweaked the argument types, so file descriptors can be passed as they normally would be for other syscalls, and *setxattr values have the same type as *getxattr.

fgetxattr now doesn't accidentally call lgetxattr,
and argument types are more consistent.
@alexrp alexrp enabled auto-merge (rebase) October 26, 2024 09:42
@alexrp alexrp merged commit b1361f2 into ziglang:master Oct 26, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

std.os.linux.fgetxattr tries to call lgetxattr(2) instead
3 participants