Re: Synchronous signal delivery..

Linus Torvalds (torvalds@transmeta.com)
Thu, 13 Feb 2003 12:25:26 -0800 (PST)


On Thu, 13 Feb 2003, Davide Libenzi wrote:
>
> That's really nice, I like file-based interfaces. No plan to have a way to
> change the sig-mask ? Close and reopen ?

You can have multiple fd's open at the same time, which is a lot more
convenient.

I will _not_ add a fcntl-like or ioctl interface to this. They are ugly
_and_ there are security issues (ie if you pass on the fd to somebody
else, they must not be able to change the signal mask _you_ specified).

> What do you think about having timers through a file interface ?

One of the reasons for the "flags" field (which is not unused) was because
I thought it might have extensions for things like alarms etc.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/