提交 691ce26e 编写于 作者: L Linus Torvalds
...@@ -1754,7 +1754,8 @@ static inline void flush_unauthorized_files(struct files_struct * files) ...@@ -1754,7 +1754,8 @@ static inline void flush_unauthorized_files(struct files_struct * files)
get_file(devnull); get_file(devnull);
} else { } else {
devnull = dentry_open(dget(selinux_null), mntget(selinuxfs_mount), O_RDWR); devnull = dentry_open(dget(selinux_null), mntget(selinuxfs_mount), O_RDWR);
if (!devnull) { if (IS_ERR(devnull)) {
devnull = NULL;
put_unused_fd(fd); put_unused_fd(fd);
fput(file); fput(file);
continue; continue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册