Searched refs:devnull (Results 1 – 1 of 1) sorted by relevance
2348 struct file *file, *devnull = NULL; in flush_unauthorized_files() local2382 devnull = dentry_open(&selinux_null, O_RDWR, cred); in flush_unauthorized_files()2383 if (IS_ERR(devnull)) in flush_unauthorized_files()2384 devnull = NULL; in flush_unauthorized_files()2387 replace_fd(n - 1, devnull, 0); in flush_unauthorized_files()2389 if (devnull) in flush_unauthorized_files()2390 fput(devnull); in flush_unauthorized_files()