casaroli opened a new pull request, #20755:
URL: https://github.com/apache/nuttx/pull/20755

   ## 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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to