Re: [PATCH 2/3] net/unix: hook unix_socketpair() into LSM

2018-04-24 Thread Paul Moore
On Tue, Apr 24, 2018 at 1:56 PM, David Miller wrote: > From: Paul Moore > Date: Tue, 24 Apr 2018 13:55:31 -0400 > >> On Mon, Apr 23, 2018 at 9:30 AM, David Herrmann >> wrote: >>> Use the newly created LSM-hook for

Re: [PATCH 2/3] net/unix: hook unix_socketpair() into LSM

2018-04-24 Thread David Miller
From: Paul Moore Date: Tue, 24 Apr 2018 13:55:31 -0400 > On Mon, Apr 23, 2018 at 9:30 AM, David Herrmann wrote: >> Use the newly created LSM-hook for unix_socketpair(). The default hook >> return-value is 0, so behavior stays the same unless LSMs

Re: [PATCH 2/3] net/unix: hook unix_socketpair() into LSM

2018-04-24 Thread Paul Moore
On Mon, Apr 23, 2018 at 9:30 AM, David Herrmann wrote: > Use the newly created LSM-hook for unix_socketpair(). The default hook > return-value is 0, so behavior stays the same unless LSMs start using > this hook. > > Signed-off-by: David Herrmann >

[PATCH 2/3] net/unix: hook unix_socketpair() into LSM

2018-04-23 Thread David Herrmann
Use the newly created LSM-hook for unix_socketpair(). The default hook return-value is 0, so behavior stays the same unless LSMs start using this hook. Signed-off-by: David Herrmann --- net/unix/af_unix.c | 5 + 1 file changed, 5 insertions(+) diff --git