Re: [PATCH v5 2/3] fanotify: define struct members to hold response decision context

2023-01-17 Thread Richard Guy Briggs
On 2023-01-17 09:27, Jan Kara wrote: > On Mon 16-01-23 15:42:29, Richard Guy Briggs wrote: > > On 2023-01-03 13:42, Jan Kara wrote: > > > On Thu 22-12-22 15:47:21, Richard Guy Briggs wrote: > > > > > > + > > > > > > + if (info_len != sizeof(*friar)) > > > > > > + return -EINVAL; > > > >

Re: [PATCH v5 2/3] fanotify: define struct members to hold response decision context

2023-01-17 Thread Jan Kara
On Mon 16-01-23 15:42:29, Richard Guy Briggs wrote: > On 2023-01-03 13:42, Jan Kara wrote: > > On Thu 22-12-22 15:47:21, Richard Guy Briggs wrote: > > > > > + > > > > > + if (info_len != sizeof(*friar)) > > > > > + return -EINVAL; > > > > > + > > > > > + if (copy_from_user(friar

Re: [PATCH v5 2/3] fanotify: define struct members to hold response decision context

2023-01-16 Thread Richard Guy Briggs
On 2023-01-03 13:42, Jan Kara wrote: > On Thu 22-12-22 15:47:21, Richard Guy Briggs wrote: > > On 2022-12-16 17:43, Jan Kara wrote: > > > On Mon 12-12-22 09:06:10, Richard Guy Briggs wrote: > > > > This patch adds a flag, FAN_INFO and an extensible buffer to provide > > > > additional information a

Re: [PATCH v5 2/3] fanotify: define struct members to hold response decision context

2023-01-04 Thread Jan Kara
On Thu 22-12-22 15:47:21, Richard Guy Briggs wrote: > On 2022-12-16 17:43, Jan Kara wrote: > > On Mon 12-12-22 09:06:10, Richard Guy Briggs wrote: > > > This patch adds a flag, FAN_INFO and an extensible buffer to provide > > > additional information about response decisions. The buffer contains >

Re: [PATCH v5 2/3] fanotify: define struct members to hold response decision context

2022-12-22 Thread Richard Guy Briggs
On 2022-12-16 17:43, Jan Kara wrote: > On Mon 12-12-22 09:06:10, Richard Guy Briggs wrote: > > This patch adds a flag, FAN_INFO and an extensible buffer to provide > > additional information about response decisions. The buffer contains > > one or more headers defining the information type and the

Re: [PATCH v5 2/3] fanotify: define struct members to hold response decision context

2022-12-20 Thread Jan Kara
On Mon 12-12-22 09:06:10, Richard Guy Briggs wrote: > This patch adds a flag, FAN_INFO and an extensible buffer to provide > additional information about response decisions. The buffer contains > one or more headers defining the information type and the length of the > following information. The

Re: [PATCH v5 2/3] fanotify: define struct members to hold response decision context

2022-12-20 Thread Jan Kara
On Fri 16-12-22 12:05:14, Paul Moore wrote: > On Fri, Dec 16, 2022 at 11:43 AM Jan Kara wrote: > > > > On Mon 12-12-22 09:06:10, Richard Guy Briggs wrote: > > > This patch adds a flag, FAN_INFO and an extensible buffer to provide > > > additional information about response decisions. The buffer c

Re: [PATCH v5 2/3] fanotify: define struct members to hold response decision context

2022-12-16 Thread Paul Moore
On Fri, Dec 16, 2022 at 11:43 AM Jan Kara wrote: > > On Mon 12-12-22 09:06:10, Richard Guy Briggs wrote: > > This patch adds a flag, FAN_INFO and an extensible buffer to provide > > additional information about response decisions. The buffer contains > > one or more headers defining the informati

[PATCH v5 2/3] fanotify: define struct members to hold response decision context

2022-12-12 Thread Richard Guy Briggs
This patch adds a flag, FAN_INFO and an extensible buffer to provide additional information about response decisions. The buffer contains one or more headers defining the information type and the length of the following information. The patch defines one additional information type, FAN_RESPONSE_