• Home
  • Raw
  • Download

Lines Matching refs:name

125 	init_debug("%s ordering: %s (%sabled)\n", from, lsm->name,
138 init_debug("exclusive disabled: %s\n", lsm->name);
187 init_debug("exclusive chosen: %s\n", lsm->name);
200 init_debug("initializing %s\n", lsm->name);
202 WARN(ret, "%s failed to initialize: %d\n", lsm->name, ret);
206 /* Populate ordered LSMs list from comma-separated LSM name list. */
210 char *sep, *name, *next;
231 strcmp(major->name, chosen_major_lsm) != 0) {
234 chosen_major_lsm, major->name);
242 while ((name = strsep(&next, ",")) != NULL) {
247 strcmp(lsm->name, name) == 0) {
254 init_debug("%s ignored: %s\n", origin, name);
262 if (strcmp(lsm->name, chosen_major_lsm) == 0)
272 init_debug("%s disabled: %s\n", origin, lsm->name);
366 lsm_append(lsm->name, &lsm_names);
423 /* Check if it is the last registered name */
439 * @lsm: the name of the security module
952 const struct qstr *name, void **ctx,
956 name, ctx, ctxlen);
961 struct qstr *name,
965 name, old, new);
986 &lsm_xattr->name,
1005 const struct qstr *qstr, const char **name,
1011 qstr, name, value, len);
1226 int security_inode_setxattr(struct dentry *dentry, const char *name,
1237 ret = call_int_hook(inode_setxattr, 1, dentry, name, value, size,
1241 ret = cap_inode_setxattr(dentry, name, value, size, flags);
1244 ret = ima_inode_setxattr(dentry, name, value, size);
1247 return evm_inode_setxattr(dentry, name, value, size);
1250 void security_inode_post_setxattr(struct dentry *dentry, const char *name,
1255 call_void_hook(inode_post_setxattr, dentry, name, value, size, flags);
1256 evm_inode_post_setxattr(dentry, name, value, size);
1259 int security_inode_getxattr(struct dentry *dentry, const char *name)
1263 return call_int_hook(inode_getxattr, 0, dentry, name);
1273 int security_inode_removexattr(struct dentry *dentry, const char *name)
1283 ret = call_int_hook(inode_removexattr, 1, dentry, name);
1285 ret = cap_inode_removexattr(dentry, name);
1288 ret = ima_inode_removexattr(dentry, name);
1291 return evm_inode_removexattr(dentry, name);
1304 int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc)
1312 * Only one module will provide an attribute with a given name.
1315 rc = hp->hook.inode_getsecurity(inode, name, buffer, alloc);
1322 int security_inode_setsecurity(struct inode *inode, const char *name, const void *value, size_t size, int flags)
1330 * Only one module will provide an attribute with a given name.
1333 rc = hp->hook.inode_setsecurity(inode, name, value, size,
1360 int security_inode_copy_up_xattr(const char *name)
1362 return call_int_hook(inode_copy_up_xattr, -EOPNOTSUPP, name);
1879 int security_getprocattr(struct task_struct *p, const char *lsm, char *name,
1887 return hp->hook.getprocattr(p, name, value);
1892 int security_setprocattr(const char *lsm, const char *name, void *value,
1900 return hp->hook.setprocattr(name, value, size);
1910 int security_ismaclabel(const char *name)
1912 return call_int_hook(ismaclabel, 0, name);