Permalink
Browse files

Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git…

…/jmorris/selinux-2.6

* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6:
  selinux: fix dentry_open() error check
  • Loading branch information...
Linus Torvalds
Linus Torvalds committed Nov 29, 2006
2 parents 707badb + fc5d81e commit 691ce26e4066147ab75366307c5c65d26c7fd805
Showing with 2 additions and 1 deletion.
  1. +2 −1 security/selinux/hooks.c
View
@@ -1754,7 +1754,8 @@ static inline void flush_unauthorized_files(struct files_struct * files)
get_file(devnull);
} else {
devnull = dentry_open(dget(selinux_null), mntget(selinuxfs_mount), O_RDWR);
if (!devnull) {
if (IS_ERR(devnull)) {
devnull = NULL;
put_unused_fd(fd);
fput(file);
continue;

0 comments on commit 691ce26

Please sign in to comment.