devnull 682 security/apparmor/file.c struct file *devnull = NULL; devnull 692 security/apparmor/file.c devnull = dentry_open(&aa_null, O_RDWR, cred); devnull 693 security/apparmor/file.c if (IS_ERR(devnull)) devnull 694 security/apparmor/file.c devnull = NULL; devnull 697 security/apparmor/file.c replace_fd(n - 1, devnull, 0); devnull 699 security/apparmor/file.c if (devnull) devnull 700 security/apparmor/file.c fput(devnull); devnull 2454 security/selinux/hooks.c struct file *file, *devnull = NULL; devnull 2488 security/selinux/hooks.c devnull = dentry_open(&selinux_null, O_RDWR, cred); devnull 2489 security/selinux/hooks.c if (IS_ERR(devnull)) devnull 2490 security/selinux/hooks.c devnull = NULL; devnull 2493 security/selinux/hooks.c replace_fd(n - 1, devnull, 0); devnull 2495 security/selinux/hooks.c if (devnull) devnull 2496 security/selinux/hooks.c fput(devnull);