diff options
author | Andrea Arcangeli <aarcange@redhat.com> | 2015-09-05 00:47:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-05 01:54:41 +0200 |
commit | e6485a47b758cae04a496764a1095961ee3249e4 (patch) | |
tree | 4af5c94f07e56f99574a2c0b87c2da4c65d36446 /drivers/clk | |
parent | userfaultfd: UFFDIO_COPY and UFFDIO_ZEROPAGE (diff) | |
download | linux-e6485a47b758cae04a496764a1095961ee3249e4.tar.xz linux-e6485a47b758cae04a496764a1095961ee3249e4.zip |
userfaultfd: require UFFDIO_API before other ioctls
UFFDIO_API was already forced before read/poll could work. This makes the
code more strict to force it also for all other ioctls.
All users would already have been required to call UFFDIO_API before
invoking other ioctls but this makes it more explicit.
This will ensure we can change all ioctls (all but UFFDIO_API/struct
uffdio_api) with a bump of uffdio_api.api.
There's no actual plan or need to change the API or the ioctl, the current
API already should cover fine even the non cooperative usage, but this is
just for the longer term future just in case.
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions