Re: [patch 2/5] signalfd v4 - signalfd core ...

2007-03-08 Thread Davide Libenzi
On Thu, 8 Mar 2007, Davide Libenzi wrote: > +static ssize_t signalfd_read(struct file *file, char *buf, size_t count, > + loff_t *ppos) > +{ > + struct signalfd_ctx *ctx = file->private_data; > + struct sighand_struct *sighand = ctx->sighand; > + ssize_t res =

[patch 2/5] signalfd v4 - signalfd core ...

2007-03-08 Thread Davide Libenzi
This patch series implements the new signalfd() and signalfd_dequeue() system calls. I took part of the original Linus code (and you know how badly it can be broken :), and I added even more breakage ;) Signals are fetched from the same signal queue used by the process, so signalfd will compete wit