Searched refs:devnull (Results 1 – 1 of 1) sorted by relevance
2336 struct file *file, *devnull = NULL; in flush_unauthorized_files() local2370 devnull = dentry_open(&selinux_null, O_RDWR, cred); in flush_unauthorized_files()2371 if (IS_ERR(devnull)) in flush_unauthorized_files()2372 devnull = NULL; in flush_unauthorized_files()2375 replace_fd(n - 1, devnull, 0); in flush_unauthorized_files()2377 if (devnull) in flush_unauthorized_files()2378 fput(devnull); in flush_unauthorized_files()