Re: [PATCH 0/3] signalfd: a kernel interface for dumping pending signals

2013-02-07 Thread Michael Kerrisk (man-pages)
On Thu, Feb 7, 2013 at 7:20 PM, Oleg Nesterov wrote: > Michael, thanks for your attention. > > On 01/23, Michael Kerrisk (man-pages) wrote: >> >> SFD_RAW -- return raw siginfo structs when reading, rather than >> signalfd_siginfo > > I hope you are going to document this API... Then please note t

Re: [PATCH 0/3] signalfd: a kernel interface for dumping pending signals

2013-02-07 Thread Oleg Nesterov
Michael, thanks for your attention. On 01/23, Michael Kerrisk (man-pages) wrote: > > SFD_RAW -- return raw siginfo structs when reading, rather than > signalfd_siginfo I hope you are going to document this API... Then please note that SFD_RAW not only means siginfo_t, there is a subtle differenc

Re: [PATCH 0/3] signalfd: a kernel interface for dumping pending signals

2013-01-23 Thread Andrew Vagin
On Wed, Jan 23, 2013 at 01:11:42PM +0100, Michael Kerrisk (man-pages) wrote: > Hi Andrey, > > On Wed, Jan 23, 2013 at 12:03 PM, Andrew Vagin wrote: > > On Wed, Jan 23, 2013 at 05:19:24AM +0100, Michael Kerrisk (man-pages) wrote: > >> Hi Andrey, > >> > >> On Tue, Jan 22, 2013 at 11:15 AM, Andrey V

Re: [PATCH 0/3] signalfd: a kernel interface for dumping pending signals

2013-01-23 Thread Michael Kerrisk (man-pages)
Hi Andrey, On Wed, Jan 23, 2013 at 12:03 PM, Andrew Vagin wrote: > On Wed, Jan 23, 2013 at 05:19:24AM +0100, Michael Kerrisk (man-pages) wrote: >> Hi Andrey, >> >> On Tue, Jan 22, 2013 at 11:15 AM, Andrey Vagin wrote: >> > This patch set adds ability to choose a signal queue and >> > to read sig

Re: [PATCH 0/3] signalfd: a kernel interface for dumping pending signals

2013-01-23 Thread Andrew Vagin
On Wed, Jan 23, 2013 at 05:19:24AM +0100, Michael Kerrisk (man-pages) wrote: > Hi Andrey, > > On Tue, Jan 22, 2013 at 11:15 AM, Andrey Vagin wrote: > > This patch set adds ability to choose a signal queue and > > to read signals without dequeuing them. > > > > Three new flags are added: > > SFD_S

Re: [PATCH 0/3] signalfd: a kernel interface for dumping pending signals

2013-01-22 Thread Michael Kerrisk (man-pages)
Hi Andrey, On Tue, Jan 22, 2013 at 11:15 AM, Andrey Vagin wrote: > This patch set adds ability to choose a signal queue and > to read signals without dequeuing them. > > Three new flags are added: > SFD_SHARED_QUEUE -- reads will be from process-wide shared signal queue > SFD_PER_THREAD_QUEUE

[PATCH 0/3] signalfd: a kernel interface for dumping pending signals

2013-01-22 Thread Andrey Vagin
This patch set adds ability to choose a signal queue and to read signals without dequeuing them. Three new flags are added: SFD_SHARED_QUEUE -- reads will be from process-wide shared signal queue SFD_PER_THREAD_QUEUE -- reads will be from per-thread signal queue SFD_PEEK -- don't d