Lines Matching refs:name

161 	init_debug("%s ordering: %s (%sabled)\n", from, lsm->name,
174 init_debug("exclusive disabled: %s\n", lsm->name);
223 init_debug("exclusive chosen: %s\n", lsm->name);
236 init_debug("initializing %s\n", lsm->name);
238 WARN(ret, "%s failed to initialize: %d\n", lsm->name, ret);
242 /* Populate ordered LSMs list from comma-separated LSM name list. */
246 char *sep, *name, *next;
267 strcmp(major->name, chosen_major_lsm) != 0) {
270 chosen_major_lsm, major->name);
278 while ((name = strsep(&next, ",")) != NULL) {
283 strcmp(lsm->name, name) == 0) {
290 init_debug("%s ignored: %s\n", origin, name);
298 if (strcmp(lsm->name, chosen_major_lsm) == 0)
308 init_debug("%s disabled: %s\n", origin, lsm->name);
402 lsm_append(lsm->name, &lsm_names);
459 /* Check if it is the last registered name */
475 * @lsm: the name of the security module
1025 const struct qstr *name, void **ctx,
1029 name, ctx, ctxlen);
1034 struct qstr *name,
1038 name, old, new);
1059 &lsm_xattr->name,
1078 const struct qstr *qstr, const char **name,
1084 qstr, name, value, len);
1298 int security_inode_setxattr(struct dentry *dentry, const char *name,
1309 ret = call_int_hook(inode_setxattr, 1, dentry, name, value, size,
1313 ret = cap_inode_setxattr(dentry, name, value, size, flags);
1316 ret = ima_inode_setxattr(dentry, name, value, size);
1319 return evm_inode_setxattr(dentry, name, value, size);
1322 void security_inode_post_setxattr(struct dentry *dentry, const char *name,
1327 call_void_hook(inode_post_setxattr, dentry, name, value, size, flags);
1328 evm_inode_post_setxattr(dentry, name, value, size);
1331 int security_inode_getxattr(struct dentry *dentry, const char *name)
1335 return call_int_hook(inode_getxattr, 0, dentry, name);
1345 int security_inode_removexattr(struct dentry *dentry, const char *name)
1355 ret = call_int_hook(inode_removexattr, 1, dentry, name);
1357 ret = cap_inode_removexattr(dentry, name);
1360 ret = ima_inode_removexattr(dentry, name);
1363 return evm_inode_removexattr(dentry, name);
1376 int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc)
1384 * Only one module will provide an attribute with a given name.
1387 rc = hp->hook.inode_getsecurity(inode, name, buffer, alloc);
1394 int security_inode_setsecurity(struct inode *inode, const char *name, const void *value, size_t size, int flags)
1402 * Only one module will provide an attribute with a given name.
1405 rc = hp->hook.inode_setsecurity(inode, name, value, size,
1432 int security_inode_copy_up_xattr(const char *name)
1444 rc = hp->hook.inode_copy_up_xattr(name);
2012 int security_getprocattr(struct task_struct *p, const char *lsm, char *name,
2020 return hp->hook.getprocattr(p, name, value);
2025 int security_setprocattr(const char *lsm, const char *name, void *value,
2033 return hp->hook.setprocattr(name, value, size);
2043 int security_ismaclabel(const char *name)
2045 return call_int_hook(ismaclabel, 0, name);