Skip to content

syscall: support fchmodat2#408

Open
numinit wants to merge 1 commit intoproot-me:masterfrom
numinit:fchmodat2
Open

syscall: support fchmodat2#408
numinit wants to merge 1 commit intoproot-me:masterfrom
numinit:fchmodat2

Conversation

@numinit
Copy link
Copy Markdown

@numinit numinit commented Feb 18, 2026

I tested this briefly and it solved debootstrap failing to set permissions on unpacked tar files.

May also fix a Nix bug: DavHau/nix-portable#148

break;

status = translate_path2(tracee, dirfd, path, SYSARG_2, REGULAR);
if ((flags & AT_SYMLINK_NOFOLLOW) != 0)
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I'm not handling AT_EMPTY_PATH here, not quite sure how that behaves with the flow here

@numinit
Copy link
Copy Markdown
Author

numinit commented Feb 18, 2026

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.

1 participant