cregit-Linux how code gets into the kernel

Release 4.10 fs/hfsplus/xattr_trusted.c

Directory: fs/hfsplus
/*
 * linux/fs/hfsplus/xattr_trusted.c
 *
 * Vyacheslav Dubeyko <slava@dubeyko.com>
 *
 * Handler for trusted extended attributes.
 */

#include <linux/nls.h>

#include "hfsplus_fs.h"
#include "xattr.h"


static int hfsplus_trusted_getxattr(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) { return hfsplus_getxattr(inode, name, buffer, size, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN); }

Contributors

PersonTokensPropCommitsCommitProp
vyacheslav dubeykovyacheslav dubeyko3264.00%125.00%
al viroal viro714.00%125.00%
andreas gruenbacherandreas gruenbacher612.00%125.00%
fabian frederickfabian frederick510.00%125.00%
Total50100.00%4100.00%


static int hfsplus_trusted_setxattr(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) { return hfsplus_setxattr(inode, name, buffer, size, flags, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN); }

Contributors

PersonTokensPropCommitsCommitProp
vyacheslav dubeykovyacheslav dubeyko3867.86%125.00%
al viroal viro712.50%125.00%
andreas gruenbacherandreas gruenbacher610.71%125.00%
fabian frederickfabian frederick58.93%125.00%
Total56100.00%4100.00%

const struct xattr_handler hfsplus_xattr_trusted_handler = { .prefix = XATTR_TRUSTED_PREFIX, .get = hfsplus_trusted_getxattr, .set = hfsplus_trusted_setxattr, };

Overall Contributors

PersonTokensPropCommitsCommitProp
vyacheslav dubeykovyacheslav dubeyko9971.74%114.29%
al viroal viro1410.14%228.57%
andreas gruenbacherandreas gruenbacher128.70%114.29%
fabian frederickfabian frederick107.25%228.57%
hin-tak leunghin-tak leung32.17%114.29%
Total138100.00%7100.00%
Directory: fs/hfsplus
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.