Re: [PATCH 2/2] seccomp.2: document userspace notification

2019-03-01 Thread Michael Kerrisk (man-pages)
On 3/1/19 4:19 PM, Tycho Andersen wrote: > On Fri, Mar 01, 2019 at 04:16:27PM +0100, Michael Kerrisk (man-pages) wrote: >> Hello Tycho, >> >> On 3/1/19 3:53 PM, Tycho Andersen wrote: >>> On Thu, Feb 28, 2019 at 01:52:19PM +0100, Michael Kerrisk (man-pages) wrote: > +a notification will be sent

Re: [PATCH 2/2] seccomp.2: document userspace notification

2019-03-01 Thread Tycho Andersen
On Fri, Mar 01, 2019 at 04:16:27PM +0100, Michael Kerrisk (man-pages) wrote: > Hello Tycho, > > On 3/1/19 3:53 PM, Tycho Andersen wrote: > > On Thu, Feb 28, 2019 at 01:52:19PM +0100, Michael Kerrisk (man-pages) wrote: > >>> +a notification will be sent to this fd. See "Userspace Notification" > >

Re: [PATCH 2/2] seccomp.2: document userspace notification

2019-03-01 Thread Michael Kerrisk (man-pages)
Hello Tycho, On 3/1/19 3:53 PM, Tycho Andersen wrote: > On Thu, Feb 28, 2019 at 01:52:19PM +0100, Michael Kerrisk (man-pages) wrote: >>> +a notification will be sent to this fd. See "Userspace Notification" below >>> for >> >> s/fd/file descriptor/ throughout please. > > Will do. > >>> +more de

Re: [PATCH 2/2] seccomp.2: document userspace notification

2019-03-01 Thread Michael Kerrisk (man-pages)
On 3/1/19 3:53 PM, Tycho Andersen wrote: > On Thu, Feb 28, 2019 at 02:25:55PM +0100, Michael Kerrisk (man-pages) wrote: >>> 7. The monitoring process can use the information in the >>>'struct seccomp_notif' to make a determination about the >>>system call being made by the target process. T

Re: [PATCH 2/2] seccomp.2: document userspace notification

2019-03-01 Thread Tycho Andersen
On Thu, Feb 28, 2019 at 02:25:55PM +0100, Michael Kerrisk (man-pages) wrote: > > 7. The monitoring process can use the information in the > >'struct seccomp_notif' to make a determination about the > >system call being made by the target process. This > >structure includes a 'data' fiel

Re: [PATCH 2/2] seccomp.2: document userspace notification

2019-03-01 Thread Tycho Andersen
On Thu, Feb 28, 2019 at 01:52:19PM +0100, Michael Kerrisk (man-pages) wrote: > > +a notification will be sent to this fd. See "Userspace Notification" below > > for > > s/fd/file descriptor/ throughout please. Will do. > > +more details. > > I think the description here could be better worded

Re: [PATCH 2/2] seccomp.2: document userspace notification

2019-02-28 Thread Michael Kerrisk (man-pages)
> 7. The monitoring process can use the information in the >'struct seccomp_notif' to make a determination about the >system call being made by the target process. This >structure includes a 'data' field that is the same >'struct seccomp_data' that is passed to a BPF filter. > >

Re: [PATCH 2/2] seccomp.2: document userspace notification

2019-02-28 Thread Michael Kerrisk (man-pages)
[widening CC to the same scope as the code patches] Hello Tycho, Sorry for the late response on this. Could you amend/rebase your patches in light of the below please. And anyone's comment on my "big picture" text at the foot of this mail would be very welcome. On 12/13/18 1:11 AM, Tycho Ander