Searched refs:fcntl (Results 1 - 25 of 51) sorted by relevance

123

/sssd-io/src/util/
H A Dio.c28 #include <fcntl.h>
60 v = fcntl(fd, F_GETFD, 0);
63 (void)fcntl(fd, F_SETFD, v | FD_CLOEXEC);
91 v = fcntl(fd, F_GETFD, 0);
94 (void)fcntl(fd, F_SETFD, v | FD_CLOEXEC);
H A Dutil_lock.c26 #include <fcntl.h>
49 ret = fcntl(fd, F_SETLK, &lock);
H A Dsss_sockets.c27 #include <fcntl.h>
40 ret = fcntl(fd, F_GETFD, 0);
44 "fcntl F_GETFD failed [%d][%s].\n", ret, strerror(ret));
49 ret = fcntl(fd, F_SETFD, cur_flags | fd_flags);
53 "fcntl F_SETFD failed [%d][%s].\n", ret, strerror(ret));
57 ret = fcntl(fd, F_GETFL, 0);
61 "fcntl F_GETFD failed [%d][%s].\n", ret, strerror(ret));
66 ret = fcntl(fd, F_SETFL, cur_flags | fl_flags);
70 "fcntl F_SETFD failed [%d][%s].\n", ret, strerror(ret));
H A Dbackup_file.c23 #include <fcntl.h>
H A Ddebug.c27 #include <fcntl.h>
450 flags = fcntl(debug_fd, F_GETFD, 0);
451 (void) fcntl(debug_fd, F_SETFD, flags | FD_CLOEXEC);
H A Dsss_ldap.c23 #include <fcntl.h>
205 flags = fcntl(fd, F_GETFL, 0);
209 "fcntl F_GETFL failed [%s].\n", strerror(ret));
216 ret = fcntl(fd, F_SETFL, flags);
220 "fcntl F_SETFL failed [%s].\n", strerror(ret));
H A Dcheck_and_open.c27 #include <fcntl.h>
H A Dfind_uid.c31 #include <fcntl.h>
/sssd-io/src/util/crypto/
H A Dsss_crypto.c24 #include <fcntl.h>
/sssd-io/src/sss_client/ssh/
H A Dsss_ssh_knownhostsproxy.c24 #include <fcntl.h>
50 flags = fcntl(0, F_GETFL);
53 DEBUG(SSSDBG_OP_FAILURE, "fcntl() failed (%d): %s\n",
58 ret = fcntl(0, F_SETFL, flags | O_NONBLOCK);
61 DEBUG(SSSDBG_OP_FAILURE, "fcntl() failed (%d): %s\n",
101 flags = fcntl(sock, F_GETFL);
104 DEBUG(SSSDBG_OP_FAILURE, "fcntl() failed (%d): %s\n",
109 ret = fcntl(sock, F_SETFL, flags | O_NONBLOCK);
112 DEBUG(SSSDBG_OP_FAILURE, "fcntl() failed (%d): %s\n",
/sssd-io/src/providers/krb5/
H A Dkrb5_init_shared.c23 #include <fcntl.h>
H A Dkrb5_init.c27 #include <fcntl.h>
/sssd-io/src/tests/cwrap/
H A Dtest_usertools.c25 #include <fcntl.h>
H A Dtest_server.c25 #include <fcntl.h>
H A Dtest_responder_common.c25 #include <fcntl.h>
/sssd-io/src/tests/cmocka/
H A Dtest_io.c26 #include <fcntl.h>
178 ret_flag = fcntl(fd, F_GETFD, 0);
209 ret_flag = fcntl(fd, F_GETFD, 0);
H A Dtest_iobuf.c22 #include <fcntl.h>
/sssd-io/src/sss_client/
H A Dcommon.c39 #include <fcntl.h>
448 if ((new_fd = fcntl(fd, F_DUPFD, 3)) == -1) {
503 if ((flags = fcntl(new_fd, F_GETFL)) == -1) {
509 if (fcntl(new_fd, F_SETFL, flags) == -1) {
518 result = flags = fcntl(new_fd, F_GETFD, 0);
521 result = fcntl( new_fd, F_SETFD, flags );
H A Dnss_mc_common.c28 #include <fcntl.h>
/sssd-io/src/config/SSSDConfig/
H A Dipachangeconf.py20 import fcntl namespace
36 fcntl.lockf(fd, fcntl.LOCK_EX)
/sssd-io/src/monitor/
H A Dmonitor_netlink.c34 #include <fcntl.h>
850 flags = fcntl(nlfd, F_GETFL, 0);
853 ret = fcntl(nlfd, F_SETFL, flags | O_NONBLOCK);
/sssd-io/src/responder/pac/
H A Dpacsrv.c24 #include <fcntl.h>
/sssd-io/src/tools/
H A Dtools_mc_util.c23 #include <fcntl.h>
/sssd-io/src/krb5_plugin/
H A Dsssd_krb5_locator_plugin.c33 #include <fcntl.h>
/sssd-io/src/responder/ifp/
H A Difpsrv.c25 #include <fcntl.h>

Completed in 34 milliseconds

123