Searched defs:flags (Results 1 - 25 of 43) sorted by relevance

12

/sssd/src/util/
H A Dio.c38 int sss_open_cloexec(const char *pathname, int flags, int *ret) argument
43 oflags = flags;
69 int sss_openat_cloexec(int dir_fd, const char *pathname, int flags, int *ret) argument
74 oflags = flags;
H A Dsss_sockets.c112 struct tevent_fd *fde, uint16_t flags,
180 struct tevent_fd *fde, uint16_t flags,
275 DEBUG(SSSDBG_CRIT_FAILURE, "settting fd flags failed.\n");
179 sssd_async_connect_done(struct tevent_context *ev, struct tevent_fd *fde, uint16_t flags, void *priv) argument
H A Ddebug.c213 int flags,
269 if (flags & APPEND_LINE_FEED) {
362 int flags; local
396 flags = fcntl(debug_fd, F_GETFD, 0);
397 (void) fcntl(debug_fd, F_SETFD, flags | FD_CLOEXEC);
209 sss_vdebug_fn(const char *file, long line, const char *function, int level, int flags, const char *format, va_list ap) argument
H A Dsss_ldap.c420 char *sss_ldap_encode_ndr_uint32(TALLOC_CTX *mem_ctx, uint32_t flags) argument
425 ret = snprintf(hex, 9, "%08x", flags);
H A Dserver.c322 uint16_t flags, void *private)
446 int server_setup(const char *name, int flags, argument
498 if (flags & FLAGS_DAEMON) {
503 if (flags & FLAGS_PID_FILE) {
670 if ((flags & FLAGS_NO_WATCHDOG) == 0) {
682 if (flags & FLAGS_INTERACTIVE) {
320 server_stdin_handler(struct tevent_context *event_ctx, struct tevent_fd *fde, uint16_t flags, void *private) argument
/sssd/src/sss_client/libwbclient/
H A Dwbc_util_common.c44 uint32_t flags,
82 blob->flags = flags;
41 wbcAddNamedBlob(size_t *num_blobs, struct wbcNamedBlob **pblobs, const char *name, uint32_t flags, uint8_t *data, size_t length) argument
H A Dwbc_util_sssd.c146 uint32_t flags,
156 uint32_t flags,
145 wbcLookupDomainController(const char *domain, uint32_t flags, struct wbcDomainControllerInfo **dc_info) argument
153 wbcLookupDomainControllerEx(const char *domain, struct wbcGuid *guid, const char *site, uint32_t flags, struct wbcDomainControllerInfoEx **dc_info) argument
/sssd/src/sbus/
H A Dsssd_dbus_meta.h75 int flags; member in struct:sbus_property_meta
H A Dsssd_dbus_common.c66 uint16_t flags, void *data)
85 if (flags & TEVENT_FD_READ) {
92 if (flags & TEVENT_FD_WRITE) {
113 unsigned int flags; local
141 flags = dbus_watch_get_flags(dbus_watch);
144 if (flags & DBUS_WATCH_READABLE) {
147 if (flags & DBUS_WATCH_WRITABLE) {
153 /* pre-existing event, just toggle flags */
160 if (flags & DBUS_WATCH_READABLE) {
163 if (flags
64 sbus_watch_handler(struct tevent_context *ev, struct tevent_fd *fde, uint16_t flags, void *data) argument
198 unsigned int flags; local
[all...]
H A Dsssd_dbus.h119 int flags; /* unused for now */ member in struct:sbus_vtable
/sssd/src/tools/common/
H A Dsss_tools.h48 #define SSS_TOOL_COMMAND_FLAGS(cmd, msg, err, fn, flags) \
49 {cmd, _(msg), err, fn, flags}
63 int flags; member in struct:sss_route_cmd
/sssd/src/sss_client/ssh/
H A Dsss_ssh_client.c76 * 0..3: flags (unsigned int, must be combination of SSS_SSH_REQ_* flags)
79 * alias (only included if flags & SSS_SSH_REQ_ALIAS):
82 * domain (ony included if flags & SSS_SSH_REQ_DOMAIN):
92 * 0..3: flags (unsigned int, must be 0)
109 uint32_t flags; local
128 flags = 0;
133 flags |= SSS_SSH_REQ_ALIAS;
138 flags |= SSS_SSH_REQ_DOMAIN;
148 SAFEALIGN_SET_UINT32(req+c, flags,
[all...]
H A Dsss_ssh_knownhostsproxy.c45 int flags; local
54 flags = fcntl(0, F_GETFL);
55 if (flags == -1) {
62 ret = fcntl(0, F_SETFL, flags | O_NONBLOCK);
89 flags = fcntl(sock, F_GETFL);
90 if (flags == -1) {
97 ret = fcntl(sock, F_SETFL, flags | O_NONBLOCK);
/sssd/src/sss_client/
H A Dsssd_pac.c46 krb5_flags *flags)
48 *flags = AD_USAGE_KDC_ISSUED | AD_USAGE_TGS_REQ;
43 sssdpac_flags(krb5_context kcontext, void *plugin_context, krb5_authdatatype ad_type, krb5_flags *flags) argument
H A Dkrb5_authdata_int.h34 krb5_flags *flags);
167 authdata_client_plugin_flags_proc flags; member in struct:krb5plugin_authdata_client_ftable_v0
/sssd/src/tests/cmocka/
H A Dtest_io.c172 int flags = O_RDWR; local
175 fd = sss_open_cloexec(file_path, flags, &ret);
189 int flags = O_RDWR; local
191 fd = sss_open_cloexec(NON_EX_PATH, flags, &ret);
203 const int flags = O_RDWR; local
206 fd = sss_openat_cloexec(data->dir_fd, data->basename, flags, &ret);
220 int flags = O_RDWR; local
223 fd = sss_openat_cloexec(data->dir_fd, NON_EX_PATH, flags, &ret);
H A Dtest_ad_access_filter.c174 const int flags; member in struct:parse_result
183 int flags; local
191 ret = parse_filter(tmp_ctx, filter_in, &filter, &spec, &flags);
212 assert_int_equal(flags, expected->flags);
225 .flags = AD_FILTER_GENERIC
237 .flags = AD_FILTER_DOMAIN
247 .flags = AD_FILTER_DOMAIN
259 .flags = AD_FILTER_DOMAIN
271 .flags
[all...]
/sssd/src/tests/
H A Dcommon_dbus.c96 uint16_t flags,
94 on_sync_fd_written(struct tevent_context *loop, struct tevent_fd *fde, uint16_t flags, void *data) argument
/sssd/src/p11_child/
H A Dp11_child_nss.c84 uint32_t flags = NSS_INIT_READONLY local
110 nss_ctx = NSS_InitContext(nss_db, "", "", SECMOD_DB, &parameters, flags);
168 slInfo.flags = 0;
171 "Description [%s] Manufacturer [%s] flags [%lu].\n",
172 slInfo.slotDescription, slInfo.manufacturerID, slInfo.flags);
173 if (rv == SECSuccess && (slInfo.flags & CKF_REMOVABLE_DEVICE)) {
/sssd/src/providers/ad/
H A Dad_access.c68 char **filter, char **sub_name, int *flags,
83 *flags = flagconst;
89 char **filter, char **domname, int *flags)
92 flags, AD_FILTER_DOMAIN);
97 char **filter, char **forest_name, int *flags)
100 flags, AD_FILTER_FOREST);
106 char **filter, char **spec, int *flags)
110 if (filter == NULL || spec == NULL || flags == NULL) return EINVAL;
118 return parse_dom_filter(mem_ctx, full_filter, filter, spec, flags);
126 return parse_dom_filter(mem_ctx, kwdelim + 1, filter, spec, flags);
67 parse_sub_filter(TALLOC_CTX *mem_ctx, const char *full_filter, char **filter, char **sub_name, int *flags, const int flagconst) argument
88 parse_dom_filter(TALLOC_CTX *mem_ctx, const char *dom_filter, char **filter, char **domname, int *flags) argument
96 parse_forest_filter(TALLOC_CTX *mem_ctx, const char *forest_filter, char **filter, char **forest_name, int *flags) argument
105 parse_filter(TALLOC_CTX *mem_ctx, const char *full_filter, char **filter, char **spec, int *flags) argument
167 int flags; local
[all...]
/sssd/src/providers/ldap/
H A Dsdap_ops.c305 unsigned int flags; member in struct:sdap_deref_bases_ex_state
330 unsigned int flags,
364 state->flags = flags;
410 state->timeout, state->flags);
507 unsigned int flags,
511 filter, attrs, deref_attr, flags,
533 unsigned int flags,
537 filter, attrs, deref_attr, flags,
321 sdap_deref_bases_ex_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map_info *maps, const char *filter, const char **attrs, const char *deref_attr, unsigned int flags, bool return_first_reply, int timeout) argument
498 sdap_deref_bases_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map_info *maps, const char *filter, const char **attrs, const char *deref_attr, unsigned int flags, int timeout) argument
524 sdap_deref_bases_return_first_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map_info *maps, const char *filter, const char **attrs, const char *deref_attr, unsigned int flags, int timeout) argument
/sssd/src/responder/secrets/
H A Dsecsrv_cmd.c581 uint16_t flags, void *ptr)
595 if (flags & TEVENT_FD_READ) {
599 if (flags & TEVENT_FD_WRITE) {
579 sec_fd_handler(struct tevent_context *ev, struct tevent_fd *fde, uint16_t flags, void *ptr) argument
/sssd/src/db/
H A Dsysdb_init.c50 int flags,
77 ret = ldb_connect(ldb, filename, flags, NULL);
89 int flags,
95 ret = sysdb_ldb_connect(mem_ctx, ldb_file, flags, ldb);
534 int flags,
556 ret = sysdb_ldb_connect(tmp_ctx, ldb_file, flags, &ldb);
621 ret = sysdb_ldb_reconnect(tmp_ctx, ldb_file, flags, &ldb);
48 sysdb_ldb_connect(TALLOC_CTX *mem_ctx, const char *filename, int flags, struct ldb_context **_ldb) argument
87 sysdb_ldb_reconnect(TALLOC_CTX *mem_ctx, const char *ldb_file, int flags, struct ldb_context **ldb) argument
530 sysdb_cache_connect_helper(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, struct sss_domain_info *domain, const char *ldb_file, int flags, const char *exp_version, const char *base_ldif, bool *_newly_created, struct ldb_context **_ldb, const char **_version) argument
/sssd/src/tools/
H A Dfiles.c80 int flags)
90 ret = utimensat(dir_fd, path, timebuf, flags);
78 sss_timeat_set(int dir_fd, const char *path, const struct stat *statp, int flags) argument
/sssd/src/monitor/
H A Dmonitor_netlink.c587 DEBUG(SSSDBG_TRACE_LIBS, "route idx %d flags %#X family %d addr %s/%d\n",
654 unsigned int flags; local
660 flags = rtnl_addr_get_flags(addr_obj);
664 rtnl_addr_flags2str(flags, str_flags, 512);
668 "addr %s flags 0x%X (%s)\n", ifidx, buf, flags, str_flags);
740 unsigned int flags; local
748 flags = rtnl_link_get_flags(link_obj);
751 rtnl_link_flags2str(flags, str_flags, 512);
755 "flags
764 netlink_fd_handler(struct tevent_context *ev, struct tevent_fd *fde, uint16_t flags, void *data) argument
794 unsigned flags; local
[all...]

Completed in 182 milliseconds

12