mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 17:43:22 +08:00
Add inode_checkperm() and integrate it into file_vopen() to enforce UNIX-style read/write permission checks for pseudoFS inodes using effective uid/gid credentials. Skip permission enforcement for mountpoint inodes and allow kernel threads to bypass checks. Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com>