/security/selinux/ |
D | netif.c | 138 struct net_device *dev; in sel_netif_sid_slow() local 143 dev = dev_get_by_index(ns, ifindex); in sel_netif_sid_slow() 144 if (unlikely(dev == NULL)) { in sel_netif_sid_slow() 157 ret = security_netif_sid(&selinux_state, dev->name, sid); in sel_netif_sid_slow() 171 dev_put(dev); in sel_netif_sid_slow() 253 struct net_device *dev = netdev_notifier_info_to_dev(ptr); in sel_netif_netdev_notifier_handler() local 256 sel_netif_kill(dev_net(dev), dev->ifindex); in sel_netif_netdev_notifier_handler()
|
D | hooks.c | 1419 char *dev = inode->i_sb->s_id; in inode_doinit_use_xattr() local 1424 ino, dev, context); in inode_doinit_use_xattr() 1427 __func__, context, -rc, dev, ino); in inode_doinit_use_xattr() 2980 static int selinux_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in selinux_inode_mknod() argument
|
/security/tomoyo/ |
D | audit.c | 187 unsigned int dev; in tomoyo_print_header() local 193 dev = stat->dev; in tomoyo_print_header() 212 MAJOR(dev), MINOR(dev), in tomoyo_print_header() 215 dev = stat->rdev; in tomoyo_print_header() 219 MAJOR(dev), MINOR(dev)); in tomoyo_print_header()
|
D | realpath.c | 191 const dev_t dev = sb->s_dev; in tomoyo_get_local_path() local 194 snprintf(name, sizeof(name) - 1, "dev(%u,%u):", MAJOR(dev), in tomoyo_get_local_path() 195 MINOR(dev)); in tomoyo_get_local_path()
|
D | mount.c | 33 r->param.mount.dev->name, in tomoyo_audit_mount_log() 60 tomoyo_compare_name_union(r->param.mount.dev, in tomoyo_check_mount_acl() 160 r->param.mount.dev = &rdev; in tomoyo_mount_acl()
|
D | Makefile | 7 …stword $(wildcard $(obj)/policy/$(1).conf $(srctree)/$(src)/policy/$(1).conf.default) /dev/null); \
|
D | file.c | 860 const unsigned int mode, unsigned int dev) in tomoyo_mkdev_perm() argument 877 dev = new_decode_dev(dev); in tomoyo_mkdev_perm() 882 r.param.mkdev.major = MAJOR(dev); in tomoyo_mkdev_perm() 883 r.param.mkdev.minor = MINOR(dev); in tomoyo_mkdev_perm()
|
D | tomoyo.c | 220 umode_t mode, unsigned int dev) in tomoyo_path_mknod() argument 236 return tomoyo_mkdev_perm(type, &path, perm, dev); in tomoyo_path_mknod()
|
D | common.h | 486 const struct tomoyo_path_info *dev; member 572 dev_t dev; member 983 const unsigned int mode, unsigned int dev);
|
D | condition.c | 746 stat->dev = inode->i_sb->s_dev; in tomoyo_get_attributes() 1015 value = MAJOR(stat->dev); in tomoyo_condition() 1019 value = MINOR(stat->dev); in tomoyo_condition()
|
/security/ |
D | lsm_audit.c | 389 struct net_device *dev; in dump_common_audit_data() local 392 dev = dev_get_by_index(&init_net, a->u.net->netif); in dump_common_audit_data() 393 if (dev) { in dump_common_audit_data() 394 audit_log_format(ab, " netif=%s", dev->name); in dump_common_audit_data() 395 dev_put(dev); in dump_common_audit_data()
|
D | security.c | 1017 unsigned int dev) in security_path_mknod() argument 1021 return call_int_hook(path_mknod, 0, dir, dentry, mode, dev); in security_path_mknod() 1158 int security_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in security_inode_mknod() argument 1162 return call_int_hook(inode_mknod, 0, dir, dentry, mode, dev); in security_inode_mknod()
|
/security/keys/ |
D | trusted.c | 1270 put_device(&chip->dev); in init_trusted() 1277 put_device(&chip->dev); in cleanup_trusted()
|
/security/apparmor/ |
D | lsm.c | 309 umode_t mode, unsigned int dev) in apparmor_path_mknod() argument
|