[lkml]   [2013]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/3] signalfd: add ability to return siginfo in a raw format (v2)
2013/1/19 Michael Kerrisk (man-pages) <>:
>> As SFD_RAW is being added to the kernel API we should document it.
>> Please keep Michael cc'ed and work with him on getting the manpages
>> updated.
> The API is certainly no thing of beauty, as I already remarked here:

All of us have similar thoughts, but we don't know a better solution.

Here is an example of usage signalfd and pread:

> A description of the API can be found here:

Thanks you for the attempt to involve more people to this discussion.

> The main problem is the ugliness of changing the meaning of pread()'s
> 'offset' argument to be a multiplexed [signal queue selector + queue
> position].
> I do wonder if we can do better, though I have no particular solution
> to offer beyond the sledgehammer of adding a new system call.

If we are choosing between this interface or a new syscall, I would
prefer this interface. signalfd is a special descriptor, so I think it
is not a big deal, that it works a bit strange. If all other would
decides, that a new syscall is better, I will not ague.

Michael, thank you for the comments.

> Cheers,
> Michael
> --
> Michael Kerrisk
> Linux man-pages maintainer;
> Author of "The Linux Programming Interface";
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to
> More majordomo info at
> Please read the FAQ at

 \ /
  Last update: 2013-01-19 12:01    [W:0.147 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site