summaryrefslogtreecommitdiff
path: root/fs/hpfs
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-08-20 10:09:47 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2015-08-28 19:00:37 (GMT)
commit4e1795de10903ae561872c54a72fa1bcf78f49cd (patch)
tree079a1a8ccd4fa1aae16d18c14d5e40d0b1d31f23 /fs/hpfs
parentdf945360ce07ca592464e44fdd2ce61ee1536e1e (diff)
downloadlinux-4e1795de10903ae561872c54a72fa1bcf78f49cd.tar.xz
nl802154: stricter input checking for boolean inputs
So far we handled boolean input by forcing them with !! and assigning them into a bool. This allowed userspace to send values > 1 which were used as 1. We should be stricter here and return -EINVAL for all but 0 or 1. Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com> Acked-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'fs/hpfs')
0 files changed, 0 insertions, 0 deletions