[Bug tapsets/11406] New: Add dup2, epoll_create1, eventfd2, inotify_init1 and signalfd4 to syscall tapset

mjw at redhat dot com sourceware-bugzilla@sourceware.org
Sat Mar 20 14:03:00 GMT 2010


Together with pipe2 (see bug #11402) other system calls that create a file
descriptor (dup2, epoll_create1, eventfd2, inotify_init1 and signalfd4) were
introduced that let the user set flags on the fd from the start (so one doesn't
need to call fcntl() afterwards).

At the same time the socket, socketpair and timerfd_create got CLOEXEC and
NONBLOCK flags (partly already handled by commit 3651ea for open, who got this
support in 2.6.23 already).

See also "Secure File Descriptor Handling"
http://udrepper.livejournal.com/20407.html
(Which describes the view from the user space side, not the actual kernel side
system call changes)

-- 
           Summary: Add dup2, epoll_create1, eventfd2, inotify_init1 and
                    signalfd4 to syscall tapset
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mjw at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11406

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list