• A
    compat_ioctl: unify copy-in of ppp filters · 3e859adf
    Al Viro 提交于
    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: NAl Viro <viro@zeniv.linux.org.uk>
    [arnd: rebased, and added changelog text]
    Cc: netdev@vger.kernel.org
    Cc: linux-ppp@vger.kernel.org
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: "David S. Miller" <davem@davemloft.net>
    Signed-off-by: NArnd Bergmann <arnd@arndb.de>
    3e859adf
ppp_generic.c 78.9 KB