]> Git Repo - linux.git/commit
compat_ioctl: unify copy-in of ppp filters
authorAl Viro <[email protected]>
Thu, 18 Apr 2019 03:48:01 +0000 (23:48 -0400)
committerArnd Bergmann <[email protected]>
Wed, 23 Oct 2019 15:23:47 +0000 (17:23 +0200)
commit3e859adf3643c2da9765cd5088170738d7918567
treef02f02cb59f2aeebbf6e8ea9b3445d2a5ae3d532
parentb7aff093e94daff1e6076393ed43b7c9651b2b43
compat_ioctl: unify copy-in of ppp filters

Now that isdn4linux is gone, the is only one implementation of PPPIOCSPASS
and PPPIOCSACTIVE in ppp_generic.c, so this is where the compat_ioctl
support should be implemented.

The two commands are implemented in very similar ways, so introduce
new helpers to allow sharing between the two and between native and
compat mode.

Signed-off-by: Al Viro <[email protected]>
[arnd: rebased, and added changelog text]
Cc: [email protected]
Cc: [email protected]
Cc: Paul Mackerras <[email protected]>
Cc: "David S. Miller" <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
drivers/net/ppp/ppp_generic.c
fs/compat_ioctl.c
This page took 0.047183 seconds and 4 git commands to generate.