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

   ## Summary
   
   The procfs directories were reported as `r--r--r--`. On a directory the 
execute bit is the search permission, so the directories looked as if nobody 
could look up a name in them.
   
   This PR reports the procfs directories as `r-xr-xr-x`. Files do not change. 
The first commit only fixes an nxstyle error in `fs_procfs.c`.
   
   ## Impact
   
   Only the mode that `stat()` reports for procfs directories changes.
   
   ## Testing
   
   A test on `qemu-armv8a:nsh` (QEMU 11 with HVF on an Apple M4) with FAT, 
`mkfatfs`, `mkrd` and `CONFIG_PSEUDOFS_FILE`: a FAT RAM disk with a file and a 
directory, a pseudo file, then `ls -l` of `/fat`, `/`, `/proc` and the pseudo 
file, on master and with this PR.
   
   | Path | master | this PR |
   |---|---|---|
   | `/proc`, `/proc/<pid>`, `/proc/fs`, `/proc/self` | `dr--r--r--` | 
`dr-xr-xr-x` |
   | procfs files | `-r--r--r--` | `-r--r--r--` |
   
   `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