Home
last modified time | relevance | path

Searched refs:userp (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/rbac/
H A Drbacuser.c41 rbac_user_t *userp = ch_calloc( 1, sizeof(rbac_user_t) ); in rbac_alloc_user() local
43 BER_BVZERO( &userp->tenantid ); in rbac_alloc_user()
44 BER_BVZERO( &userp->uid ); in rbac_alloc_user()
45 BER_BVZERO( &userp->dn ); in rbac_alloc_user()
46 BER_BVZERO( &userp->password ); in rbac_alloc_user()
47 BER_BVZERO( &userp->constraints ); in rbac_alloc_user()
48 BER_BVZERO( &userp->msg ); in rbac_alloc_user()
49 userp->roles = NULL; in rbac_alloc_user()
50 userp->role_constraints = NULL; in rbac_alloc_user()
52 return userp; in rbac_alloc_user()
[all …]
H A Drbac.c831 rbac_user_t *userp = NULL; in rbac_create_session() local
840 userp = rbac_read_user( op, reqp ); in rbac_create_session()
841 if ( !userp ) { in rbac_create_session()
849 if ( !BER_BVISNULL( &userp->password ) ) { in rbac_create_session()
851 rc = rbac_authenticate_user( op, userp ); in rbac_create_session()
869 rc = rbac_create_session_acl_check( &reqp->sessid, userp ); in rbac_create_session()
880 rc = rbac_user_temporal_constraint( userp ); in rbac_create_session()
896 rc = activate_session_roles( sessp, reqp, userp ); in rbac_create_session()
907 ber_dupbv( &sessp->userdn, &userp->dn ); in rbac_create_session()
1366 rbac_user_t *userp ) in rbac_check_user_role() argument
[all …]
H A Drbacsess.c961 rbac_user_t *userp ) in activate_session_roles() argument
964 if ( !sessp || !reqp || !userp ) { in activate_session_roles()
972 if ( !userp->roles || BER_BVISNULL( &userp->roles[0] ) ) goto done; in activate_session_roles()
973 for ( i = 0; !BER_BVISNULL( &userp->roles[i] ); i++ ) { in activate_session_roles()
975 ber_dupbv_x( &role, &userp->roles[i], NULL ); in activate_session_roles()
981 for ( i = 0; !BER_BVISNULL( &userp->role_constraints[i] ); i++ ) { in activate_session_roles()
983 ber_dupbv_x( &roleconstraint, &userp->role_constraints[i], NULL ); in activate_session_roles()
990 for ( j = 0; !BER_BVISNULL( &userp->roles[j] ); j++ ) { in activate_session_roles()
991 if ( !ber_bvstrcasecmp( &reqp->roles[i], &userp->roles[j] ) ) { in activate_session_roles()
994 ber_dupbv_x( &role, &userp->roles[i], NULL ); in activate_session_roles()
H A Drbac.h344 int rbac_user_temporal_constraint( rbac_user_t *userp );
369 rbac_user_t *userp );
398 int rbac_create_session_acl_check( struct berval *sessid, rbac_user_t *userp );
H A Drbacacl.c37 rbac_create_session_acl_check( struct berval *sessid, rbac_user_t *userp ) in rbac_create_session_acl_check() argument
/netbsd-src/external/bsd/libbind/dist/irs/
H A Dgetnetgrent_r.c66 getnetgrent_r(NGR_R_CONST char **machinep, NGR_R_CONST char **userp, in getnetgrent_r() argument
75 return (copy_protoent(machinep, userp, domainp, in getnetgrent_r()
152 copy_protoent(NGR_R_CONST char **machinep, NGR_R_CONST char **userp, in copy_protoent() argument
202 *userp = cp; in copy_protoent()
205 *userp = NULL; in copy_protoent()
H A Dirpmarshall.c1221 irp_unmarshall_ng(const char **hostp, const char **userp, const char **domainp, in irp_unmarshall_ng() argument
1229 if (userp == NULL || hostp == NULL || in irp_unmarshall_ng()
1281 *userp = user; in irp_unmarshall_ng()
/netbsd-src/external/mit/libuv/dist/docs/code/signal/
H A Dmain.c22 void thread1_worker(void *userp) in thread1_worker() argument
37 void thread2_worker(void *userp) in thread2_worker() argument
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dsa.h118 int sa_handle_get(objset_t *, uint64_t, void *userp,
120 int sa_handle_get_from_db(objset_t *, dmu_buf_t *, void *userp,
H A Ddmu.h897 void *bonus, uint64_t *userp, uint64_t *groupp);
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dmisc.c778 parse_user_host_path(const char *s, char **userp, char **hostp, char **pathp) in parse_user_host_path() argument
784 if (userp != NULL) in parse_user_host_path()
785 *userp = NULL; in parse_user_host_path()
816 if (userp != NULL) { in parse_user_host_path()
817 *userp = user; in parse_user_host_path()
846 parse_user_host_port(const char *s, char **userp, char **hostp, int *portp) in parse_user_host_port() argument
852 if (userp != NULL) in parse_user_host_port()
853 *userp = NULL; in parse_user_host_port()
880 if (userp != NULL) { in parse_user_host_port()
881 *userp = user; in parse_user_host_port()
[all …]
H A Dmonitor_wrap.c1111 mm_auth_krb5(void *ctx, void *argp, char **userp, void *resp) in mm_auth_krb5() argument
1135 if ((r = sshbuf_get_cstring(m, userp, NULL)) != 0 || in mm_auth_krb5()
1142 *userp = NULL; in mm_auth_krb5()
H A Dssh-agent.c683 char **userp, struct sshbuf **sess_idp, struct sshkey **hostkeyp) in parse_userauth_request() argument
691 if (userp != NULL) in parse_userauth_request()
692 *userp = NULL; in parse_userauth_request()
737 if (userp != NULL) { in parse_userauth_request()
738 *userp = user; in parse_userauth_request()
H A Dscp.c708 parse_scp_uri(const char *uri, char **userp, char **hostp, int *portp, in parse_scp_uri() argument
713 r = parse_uri("scp", uri, userp, hostp, portp, pathp); in parse_scp_uri()
/netbsd-src/external/mit/libuv/dist/docs/code/uvwget/
H A Dmain.c103 void start_timeout(CURLM *multi, long timeout_ms, void *userp) { in start_timeout() argument
109 int handle_socket(CURL *easy, curl_socket_t s, int action, void *userp, void *socketp) { in handle_socket() argument
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dsa.c130 uint16_t length, int length_idx, boolean_t, void *userp);
1161 uint16_t length, int length_idx, boolean_t var_length, void *userp) in sa_build_idx_tab() argument
1163 sa_idx_tab_t *idx_tab = userp; in sa_build_idx_tab()
1175 sa_iterfunc_t func, sa_lot_t *tab, void *userp) in sa_attr_iter() argument
1215 idx_len, reg_length == 0 ? B_TRUE : B_FALSE, userp); in sa_attr_iter()
1225 uint16_t length, int length_idx, boolean_t variable_length, void *userp) in sa_byteswap_cb() argument
1227 sa_handle_t *hdl = userp; in sa_byteswap_cb()
1371 sa_handle_get_from_db(objset_t *os, dmu_buf_t *db, void *userp, in sa_handle_get_from_db() argument
1395 handle->sa_userp = userp; in sa_handle_get_from_db()
1421 sa_handle_get(objset_t *objset, uint64_t objid, void *userp, in sa_handle_get() argument
[all …]
H A Dzfs_vfsops.c872 uint64_t *userp, uint64_t *groupp) in zfs_space_delta_cb() argument
891 *userp = znp->zp_uid; in zfs_space_delta_cb()
907 *userp = 0; in zfs_space_delta_cb()
921 *userp = *((uint64_t *)((uintptr_t)data + hdrsize + in zfs_space_delta_cb()
926 *userp = BSWAP_64(*userp); in zfs_space_delta_cb()
/netbsd-src/usr.sbin/ypserv/revnetgroup/
H A Dparse_netgroup.c124 rng_getnetgrent(char **hostp, char **userp, char **domp) in rng_getnetgrent() argument
128 *userp = nextgrp->ng_str[NG_USER]; in rng_getnetgrent()
/netbsd-src/usr.sbin/tcpdchk/
H A Dtcpdchk.c443 const char *userp; in check_host()
447 if (getnetgrent(&machinep, &userp, &domainp) == 0) in check_host()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/etc/c/
H A Dcurl.d144 void *userp; /** custom pointer used for member
2269 void *userp, /** private callback pointer */
2288 void *userp); /** private callback pointer */
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/etc/c/
H A Dcurl.d144 void *userp; /** custom pointer used for member
2262 void *userp, /** private callback pointer */
2281 void *userp); /** private callback pointer */
/netbsd-src/external/bsd/libbind/dist/
H A Dport_after.h.in420 int getnetgrent(NGR_R_CONST char **machinep, NGR_R_CONST char **userp,
424 int getnetgrent_r(NGR_R_CONST char **machinep, NGR_R_CONST char **userp,
/netbsd-src/external/cddl/osnet/dist/cmd/zhack/
H A Dzhack.c108 uint64_t *userp, uint64_t *groupp) in space_delta_cb() argument