D | lsm.c | 219 static int common_perm(const char *op, const struct path *path, u32 mask, in common_perm() argument 227 error = aa_path_perm(op, current_cred(), label, path, 0, mask, in common_perm() 242 static int common_perm_cond(const char *op, const struct path *path, u32 mask) in common_perm_cond() argument 254 return common_perm(op, path, mask, &cond); in common_perm_cond() 267 static int common_perm_dir_dentry(const char *op, const struct path *dir, in common_perm_dir_dentry() argument 273 return common_perm(op, &path, mask, cond); in common_perm_dir_dentry() 285 static int common_perm_rm(const char *op, const struct path *dir, in common_perm_rm() argument 299 return common_perm_dir_dentry(op, dir, dentry, mask, &cond); in common_perm_rm() 312 static int common_perm_create(const char *op, const struct path *dir, in common_perm_create() argument 320 return common_perm_dir_dentry(op, dir, dentry, mask, &cond); in common_perm_create() [all …]
|