summaryrefslogtreecommitdiff
path: root/source3/lib/sock_exec.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-12s3-lib: Don't close the listener twice if we goto failed.Andreas Schneider1-1/+1
Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
2012-03-24lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent.Jelmer Vernooij1-1/+1
2012-03-24sock_exec: Avoid sys_connect.Jelmer Vernooij1-2/+2
2008-03-17Coverity fixesMarc VanHeyningen1-1/+1
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2008-02-23Check return value of dup(2)Volker Lendecke1-2/+6
(This used to be commit d34701d49cf5b30f5b9963dab5643b4b62704413)
2007-12-09Fix connect(2) callers to use correct sockaddr size.James Peach1-2/+2
Some systems (eg Mac OSX 10.5) require the length passed to match the socket address family. This introduces sys_connect() that does the right thing, and replaces all uses oc connect(2) with sys_connect(). Note that there are some LGPL callers that still call connect(2) directly. (This used to be commit e1bfdc17c49da582cdf907e260301ab1946b2ed3)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2003-04-30Refactor existing sock_exec() and socketpair_tcp() functions into their ownPaul Green1-0/+115
source file. I will be making changes to sock_exec to work on VOS, which has a blocking connect() call, but first I want to get it in its own source file so that it can be called from a test program. (This used to be commit 2dd18ca0cfd4d793067b9b712554565965db0af1)