]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - security/selinux/hooks.c
Replace the fd_sets in struct fdtable with an array of unsigned longs
[mirror_ubuntu-bionic-kernel.git] / security / selinux / hooks.c
index 6a3683e28426b132d5890398609710bca7397310..421c990a20b280d6ff67c0cbfa33ad706cb71baf 100644 (file)
@@ -2145,7 +2145,7 @@ static inline void flush_unauthorized_files(const struct cred *cred,
                fdt = files_fdtable(files);
                if (i >= fdt->max_fds)
                        break;
-               set = fdt->open_fds->fds_bits[j];
+               set = fdt->open_fds[j];
                if (!set)
                        continue;
                spin_unlock(&files->file_lock);