Here are some more modifications to allow creating file descriptors with
close-on-exec set. Like in linux/glibc, SOCK_CLOEXEC and SOCK_NONBLOCK
can be OR'ed in socket() and socketpair()'s type parameter, and
MSG_CMSG_CLOEXEC to recvmsg() makes file descriptors (SCM_RIGHTS)
atomically close-on-exec.
On Sun, Mar 17, 2013 at 08:30:33AM +0200, Konstantin Belousov wrote:
> On Sun, Mar 17, 2013 at 12:35:20AM +0200, Mikolaj Golub wrote:
> > A KPI that would be natural for my case:
> >
> > /* start a section that is going to be aligned to sizeof(Elf_Size),
> > using byte '0' for padding */
>
2 matches
Mail list logo