Skip to content

fs/xipfs: Report execute permission for files. - #20755

Merged
acassis merged 1 commit into
apache:masterfrom
casaroli:fs-xipfs-xbits
Oct 18, 2026
Merged

acassis merged 1 commit into
apache:masterfrom
casaroli:fs-xipfs-xbits

Conversation

@casaroli

Copy link
Copy Markdown
Contributor

Summary

xipfs keeps programs that run in place, but xipfs_stat() and xipfs_fstat() reported the files as 0444, with no execute bit.

This PR reports the files as 0555.

Impact

Only the mode that stat() reports changes. With CONFIG_SCHED_USER_IDENTITY, exec() checks the execute bit, so with this PR a program on xipfs can run instead of failing with EACCES.

Testing

Build: mps2-an500:xipfs.

tools/checkpatch.sh -c -u -m -g passes.

xipfs keeps programs that run in place, but xipfs_stat() and
xipfs_fstat() reported the files as 0444, with no execute bit.

Report the files as 0555.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <[email protected]>
@github-actions github-actions Bot added Area: File System File System issues Size: XS The size of the change in this PR is very small labels Oct 17, 2026
@github-actions

Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

@acassis
acassis merged commit 93a9120 into apache:master Oct 18, 2026
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: File System File System issues Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants