]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - security/selinux/selinuxfs.c
Merge tag 'omap-for-v5.5/dt-fixes-merge-window-signed' of git://git.kernel.org/pub...
[linux.git] / security / selinux / selinuxfs.c
index e6c7643c3fc08219e07b3fd8894abb3a8df4ff1d..ee94fa469c29edb0fbfc07d151d91710df86b265 100644 (file)
@@ -548,10 +548,6 @@ static ssize_t sel_write_load(struct file *file, const char __user *buf,
        if (*ppos != 0)
                goto out;
 
-       length = -EFBIG;
-       if (count > 64 * 1024 * 1024)
-               goto out;
-
        length = -ENOMEM;
        data = vmalloc(count);
        if (!data)