Skip to content

syscall: support fchmodat2#408

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

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

Conversation

@numinit

@numinit numinit commented Feb 18, 2026

Copy link
Copy Markdown

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

Comment thread src/syscall/enter.c
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

numinit commented Feb 18, 2026

Copy link
Copy Markdown
Author

@sonarqubecloud

sonarqubecloud Bot commented Jun 8, 2026

Copy link
Copy Markdown

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