 int permission(struct inode *inode, int mask)

  ,       , 
   inode.     -
,   ,       -
 .       
  NULL,       VFS,  
         .
   ,    
 (ACL),    permission ().

 int setattr(struct dentry *dentry, struct iattr *attr)

    notify change ()    ,
  " " ("change event")   -
.

 int getattr(struct vfsmount *mnt, struct dentry *dentry,

struct kstat *stat)

    VFS  ,   -
    .

 int setxattr(struct dentry *dentry, const char *name,

const void *value, size_t size, int flags)
    VFS     -
  (extended attributes)5   name   value  -
,    dentry.

 int getxattr (struct dentry *dentry, const char *name,

void *value, size_t size)

    VFS    
   (extended attributes)   name   -
   value.

 ssize_t listxattr(struct dentry *dentry, char *list, size_t size)
          
,   list.

 int removexattr(struct dentry *dentry, const char *name)
       .

 dentry

  ,  VFS    ,  
.    /bin/vi,   bin,   vi   , 
bin    ,   ,  vi   
.         -
.     ,  VFS  

     ,     2.6  ,
       /     .  -
     ,       
  .

278                                                                     12