Changeset e650f4fc in rtems


Ignore:
Timestamp:
Dec 20, 2013, 1:16:47 PM (5 years ago)
Author:
Christoph Hellwig <hch@…>
Branches:
master
Children:
52c50c78
Parents:
1465e70c
git-author:
Christoph Hellwig <hch@…> (12/20/13 13:16:47)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/16/18 05:22:11)
Message:

jffs2: use generic posix ACL infrastructure

Also don't bother to set up a .get_acl method for symlinks as we do not
support access control (ACLs or even mode bits) for symlinks in Linux.

Signed-off-by: Christoph Hellwig <hch@…>
Signed-off-by: Al Viro <viro@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/jffs2/src/acl.h

    r1465e70c re650f4fc  
    2828
    2929struct posix_acl *jffs2_get_acl(struct inode *inode, int type);
    30 extern int jffs2_acl_chmod(struct inode *);
     30int jffs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
    3131extern int jffs2_init_acl_pre(struct inode *, struct inode *, umode_t *);
    3232extern int jffs2_init_acl_post(struct inode *);
    33 
    34 extern const struct xattr_handler jffs2_acl_access_xattr_handler;
    35 extern const struct xattr_handler jffs2_acl_default_xattr_handler;
    3633
    3734#else
    3835
    3936#define jffs2_get_acl                           (NULL)
    40 #define jffs2_acl_chmod(inode)                  (0)
     37#define jffs2_set_acl                           (NULL)
    4138#define jffs2_init_acl_pre(dir_i,inode,mode)    (0)
    4239#define jffs2_init_acl_post(inode)              (0)
Note: See TracChangeset for help on using the changeset viewer.