net: hook socketpair() into LSM
Use the newly created LSM-hook for socketpair(). The default hook return-value is 0, so behavior stays the same unless LSMs start using this hook. Acked-by: NSerge Hallyn <serge@hallyn.com> Signed-off-by: NTom Gundersen <teg@jklm.no> Signed-off-by: NDavid Herrmann <dh.herrmann@gmail.com> Acked-by: NDavid S. Miller <davem@davemloft.net> Signed-off-by: NJames Morris <james.morris@microsoft.com>
Showing
想要评论请 注册 或 登录