Release 4.7 fs/ext2/xattr_trusted.c
/*
* linux/fs/ext2/xattr_trusted.c
* Handler for trusted extended attributes.
*
* Copyright (C) 2003 by Andreas Gruenbacher, <a.gruenbacher@computer.org>
*/
#include "ext2.h"
#include "xattr.h"
static bool
ext2_xattr_trusted_list(struct dentry *dentry)
{
return capable(CAP_SYS_ADMIN);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 13 | 76.47% | 1 | 33.33% |
andreas gruenbacher | andreas gruenbacher | 2 | 11.76% | 1 | 33.33% |
christoph hellwig | christoph hellwig | 2 | 11.76% | 1 | 33.33% |
| Total | 17 | 100.00% | 3 | 100.00% |
static int
ext2_xattr_trusted_get(const struct xattr_handler *handler,
struct dentry *unused, struct inode *inode,
const char *name, void *buffer, size_t size)
{
return ext2_xattr_get(inode, EXT2_XATTR_INDEX_TRUSTED, name,
buffer, size);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 34 | 70.83% | 1 | 25.00% |
al viro | al viro | 7 | 14.58% | 1 | 25.00% |
andreas gruenbacher | andreas gruenbacher | 6 | 12.50% | 1 | 25.00% |
christoph hellwig | christoph hellwig | 1 | 2.08% | 1 | 25.00% |
| Total | 48 | 100.00% | 4 | 100.00% |
static int
ext2_xattr_trusted_set(const struct xattr_handler *handler,
struct dentry *unused, struct inode *inode,
const char *name, const void *value,
size_t size, int flags)
{
return ext2_xattr_set(inode, EXT2_XATTR_INDEX_TRUSTED, name,
value, size, flags);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 40 | 74.07% | 1 | 25.00% |
al viro | al viro | 7 | 12.96% | 1 | 25.00% |
andreas gruenbacher | andreas gruenbacher | 6 | 11.11% | 1 | 25.00% |
christoph hellwig | christoph hellwig | 1 | 1.85% | 1 | 25.00% |
| Total | 54 | 100.00% | 4 | 100.00% |
const struct xattr_handler ext2_xattr_trusted_handler = {
.prefix = XATTR_TRUSTED_PREFIX,
.list = ext2_xattr_trusted_list,
.get = ext2_xattr_trusted_get,
.set = ext2_xattr_trusted_set,
};
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 118 | 77.12% | 1 | 11.11% |
al viro | al viro | 15 | 9.80% | 3 | 33.33% |
andreas gruenbacher | andreas gruenbacher | 14 | 9.15% | 2 | 22.22% |
christoph hellwig | christoph hellwig | 4 | 2.61% | 1 | 11.11% |
stephen hemminger | stephen hemminger | 1 | 0.65% | 1 | 11.11% |
james morris | james morris | 1 | 0.65% | 1 | 11.11% |
| Total | 153 | 100.00% | 9 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.