On Tue, 19 May 2009, Stephen Smalley wrote: > Signed-off-by: Stephen Smalley <sds@xxxxxxxxxxxxx> Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next > > --- > > security/selinux/selinuxfs.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c > index 2d5136e..35b447b 100644 > --- a/security/selinux/selinuxfs.c > +++ b/security/selinux/selinuxfs.c > @@ -803,10 +803,6 @@ static ssize_t sel_read_bool(struct file *filep, char __user *buf, > goto out; > } > > - if (count > PAGE_SIZE) { > - ret = -EINVAL; > - goto out; > - } > page = (char *)get_zeroed_page(GFP_KERNEL); > if (!page) { > ret = -ENOMEM; > > -- > Stephen Smalley > National Security Agency > -- James Morris <jmorris@xxxxxxxxx> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.