Re: [RFC PATCH 3/5] sctp: Add LSM hooks

2017-10-24 Thread Richard Haines
On Fri, 2017-10-20 at 21:14 +0800, Xin Long wrote: > On Fri, Oct 20, 2017 at 8:04 PM, Richard Haines > wrote: > > On Fri, 2017-10-20 at 07:16 -0400, Neil Horman wrote: > > > On Wed, Oct 18, 2017 at 11:05:09PM +0800, Xin Long wrote: > > > > On Tue, Oct 17, 2017 at 9:58 PM, Richard Haines > > > > w

Re: [RFC PATCH 3/5] sctp: Add LSM hooks

2017-10-20 Thread Xin Long
On Fri, Oct 20, 2017 at 8:04 PM, Richard Haines wrote: > On Fri, 2017-10-20 at 07:16 -0400, Neil Horman wrote: >> On Wed, Oct 18, 2017 at 11:05:09PM +0800, Xin Long wrote: >> > On Tue, Oct 17, 2017 at 9:58 PM, Richard Haines >> > wrote: >> > > Add security hooks to allow security modules to exerc

Re: [RFC PATCH 3/5] sctp: Add LSM hooks

2017-10-20 Thread Richard Haines
On Fri, 2017-10-20 at 07:16 -0400, Neil Horman wrote: > On Wed, Oct 18, 2017 at 11:05:09PM +0800, Xin Long wrote: > > On Tue, Oct 17, 2017 at 9:58 PM, Richard Haines > > wrote: > > > Add security hooks to allow security modules to exercise access > > > control > > > over SCTP. > > > > > > Signed-

Re: [RFC PATCH 3/5] sctp: Add LSM hooks

2017-10-20 Thread Neil Horman
On Wed, Oct 18, 2017 at 11:05:09PM +0800, Xin Long wrote: > On Tue, Oct 17, 2017 at 9:58 PM, Richard Haines > wrote: > > Add security hooks to allow security modules to exercise access control > > over SCTP. > > > > Signed-off-by: Richard Haines > > --- > > include/net/sctp/structs.h | 10 ++

Re: [RFC PATCH 3/5] sctp: Add LSM hooks

2017-10-18 Thread Xin Long
On Tue, Oct 17, 2017 at 9:58 PM, Richard Haines wrote: > Add security hooks to allow security modules to exercise access control > over SCTP. > > Signed-off-by: Richard Haines > --- > include/net/sctp/structs.h | 10 > include/uapi/linux/sctp.h | 1 + > net/sctp/sm_make_chunk.c | 12

[RFC PATCH 3/5] sctp: Add LSM hooks

2017-10-17 Thread Richard Haines
Add security hooks to allow security modules to exercise access control over SCTP. Signed-off-by: Richard Haines --- include/net/sctp/structs.h | 10 include/uapi/linux/sctp.h | 1 + net/sctp/sm_make_chunk.c | 12 + net/sctp/sm_statefuns.c| 14 ++- net/sctp/socke