]> git.baikalelectronics.ru Git - kernel.git/commit
[UNIX]: Extend unix_sysctl_(un)register prototypes
authorPavel Emelyanov <xemul@openvz.org>
Sat, 1 Dec 2007 12:40:40 +0000 (23:40 +1100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:55:21 +0000 (14:55 -0800)
commit44ded9178e3dbbe3dad049caddc153b48a0809f4
treef744e46259cf06b13858f2965526d512308cb7da
parentdf044eff9dbc35957519139a9db5cb25a1499bfe
[UNIX]: Extend unix_sysctl_(un)register prototypes

Add the struct net * argument to both of them to use in
the future. Also make the register one return an error code.

It is useless right now, but will make the future patches
much simpler.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/af_unix.h
net/unix/af_unix.c
net/unix/sysctl_net_unix.c