Skip to content

Conversation

jserv
Copy link
Contributor

@jserv jserv commented Aug 6, 2025

The "Manage /proc file with standard filesystem" section describes using struct inode_operations with a permission function, but the referenced procfs3.c example was missing this implementation.

Close #131

Summary by Bito

This pull request implements the inode_operations structure in procfs3.c, adding a new permission function that logs calls and illustrates the connection between file and inode operations. This enhancement aligns with standard filesystem management practices as per the documentation.

The "Manage /proc file with standard filesystem" section describes
using struct inode_operations with a permission function, but the
referenced procfs3.c example was missing this implementation.

Close #131
@jserv jserv closed this Aug 6, 2025
@jserv jserv deleted the refine-inode branch August 15, 2025 02:14
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.

Miss sample about inode_operations in procfs3.c
1 participant