lkml.org 
[lkml]   [2008]   [May]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 4 May 2008 21:43:57 -0700 (PDT)
FromDavide Libenzi <>
SubjectRe: [PATCH 05/18] flag parameters: signalfd
On Sun, 4 May 2008, Ulrich Drepper wrote:

> This patch adds the new signalfd4 syscall.  It extends the old signalfd
> syscall by one parameter which is meant to hold a flag value.  In this
> patch the only flag support is SFD_CLOEXEC which causes the close-on-exec
> flag for the returned file descriptor to be set.
> 
> A new flag SFD_CLOEXEC is used instead of reusing O_CLOEXEC to prevent
> exhaustion of the int bit field in case we need more flags.
> 
> The following test must be adjusted for architectures other than x86 and
> x86-64 and in case the syscall numbers changed.

> Signed-off-by: Ulrich Drepper <drepper@redhat.com>

Acked-by: Davide Libenzi <davidel@xmailserver.org>



- Davide




\
 
 \ /
  Last update: 2008-05-05 06:47    [from the cache]
©2003-2008