Release 4.7 include/linux/device_cgroup.h
#include <linux/fs.h>
#ifdef CONFIG_CGROUP_DEVICE
extern int __devcgroup_inode_permission(struct inode *inode, int mask);
extern int devcgroup_inode_mknod(int mode, dev_t dev);
static inline int devcgroup_inode_permission(struct inode *inode, int mask)
{
if (likely(!inode->i_rdev))
return 0;
if (!S_ISBLK(inode->i_mode) && !S_ISCHR(inode->i_mode))
return 0;
return __devcgroup_inode_permission(inode, mask);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
al viro | al viro | 57 | 100.00% | 1 | 100.00% |
| Total | 57 | 100.00% | 1 | 100.00% |
#else
static inline int devcgroup_inode_permission(struct inode *inode, int mask)
{ return 0; }
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
serge hallyn | serge hallyn | 18 | 100.00% | 1 | 100.00% |
| Total | 18 | 100.00% | 1 | 100.00% |
static inline int devcgroup_inode_mknod(int mode, dev_t dev)
{ return 0; }
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
serge hallyn | serge hallyn | 16 | 100.00% | 1 | 100.00% |
| Total | 16 | 100.00% | 1 | 100.00% |
#endif
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
serge hallyn | serge hallyn | 67 | 53.60% | 1 | 50.00% |
al viro | al viro | 58 | 46.40% | 1 | 50.00% |
| Total | 125 | 100.00% | 2 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.