[PATCH 5/9] fs: remove various compat readv/writev helpers
Arnd Bergmann
arnd at arndb.de
Wed Sep 23 19:52:47 UTC 2020
On Wed, Sep 23, 2020 at 9:48 PM Al Viro <viro at zeniv.linux.org.uk> wrote:
> FWIW, after playing with that for a while... Do we really want the
> compat_sys_...() declarations to live in linux/compat.h? Most of
> the users of that file don't want those; why not move them to
> linux/syscalls.h?
Sure, let's do that. The trend overall is to integrate the compat stuff
more closely into where the native implementation lives, so this
would just follow that trend.
I think with Christoph's latest patches, about half of them are
going away as well.
> Reason: there's a lot more users of linux/compat.h than those of
> linux/syscalls.h - it's pulled by everything in the networking stack,
> for starters...
Right, the network headers pull in almost everything else through
multiple indirect inclusions, anything we can do to reduce that
helps.
Arnd
More information about the Linux-security-module-archive
mailing list