HomeSort by relevance Sort by last modified time
    Searched refs:be (Results 1 - 25 of 801) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /onnv/onnv-gate/usr/src/lib/nsswitch/user/common/
user_common.c 32 * An implementation that used mmap() sensibly would be a wonderful thing,
48 _nss_user_setent(be, dummy)
49 user_backend_ptr_t be;
52 if (be->f == 0) {
53 if (be->filename == 0) {
57 if ((be->f = fopen(be->filename, "rF")) == 0) {
61 rewind(be->f);
68 _nss_user_endent(be, dummy)
69 user_backend_ptr_t be;
280 user_backend_ptr_t be; local
    [all...]
getprinter.c 73 /* append the value ':' must be escaped for posix style names */
99 _nss_user_XY_printers(be, args, filter)
100 user_backend_ptr_t be;
106 * on the line and we can be fast enough.
112 if (be->buf == 0 &&
113 (be->buf = (char *)malloc(be->minbuf)) == 0) {
114 (void) _nss_user_endent(be, 0);
123 char *instr = be->buf;
135 if ((linelen = _nss_user_read_line(be->f, instr
    [all...]
  /onnv/onnv-gate/usr/src/lib/nsswitch/nisplus/common/
nisplus_common.c 92 process_val(args, be, result)
94 nisplus_backend_t *be;
109 parsestat = (be->obj2str)(NIS_RES_NUMOBJ(result),
110 NIS_RES_OBJECT(result), be, args);
121 * be->buffer because we cannot determine if
124 if (args->buf.result == NULL && be->buffer == NULL) {
132 * If the data is in be->buffer it needs
133 * to be marshalled.
139 parsestat = (*args->str2ent)(be->buffer,
140 be->buflen
287 nisplus_backend_t *be; local
    [all...]
netmasks.c 51 getbynet(be, a)
52 nisplus_backend_ptr_t be;
56 return (_nss_nisplus_lookup(be, argp, NETMASK_TAG_ADDR,
66 nis_object2str(nobj, obj, be, argp)
69 nisplus_backend_ptr_t be;
94 /* addr is an IPv4 address, therefore will always be 32bits */
100 be->buflen = masklen;
101 if ((be->buffer = calloc(1, be->buflen + 1)) == NULL)
103 (void) strlcpy(be->buffer, mask, be->buflen + 1)
    [all...]
ether_addr.c 55 getbyhost(be, a)
56 nisplus_backend_ptr_t be;
61 return (_nss_nisplus_lookup(be, argp, ETHER_TAG_NAME,
66 getbyether(be, a)
67 nisplus_backend_ptr_t be;
76 return (_nss_nisplus_lookup(be, argp, ETHER_TAG_ADDR,
87 nis_object2str(nobj, obj, be, argp)
90 nisplus_backend_ptr_t be;
126 be->buflen = addrlen + namelen + 1;
127 if ((be->buffer = calloc(1, be->buflen + 1)) == NULL
    [all...]
bootparams_getbyname.c 41 getbyname(be, a)
42 nisplus_backend_ptr_t be;
47 return (_nss_nisplus_lookup(be, argp, BOOTPARAM_TAG_KEY,
58 nis_object2str(nobj, obj, be, argp)
61 nisplus_backend_ptr_t be;
88 if ((be->buffer = calloc(1, buflen)) == NULL)
91 be->buflen = buflen;
92 buffer = be->buffer;
gethostent6.c 42 getbyname(be, a)
43 nisplus_backend_ptr_t be;
53 res = _nss_nisplus_expand_lookup(be, argp, HOST_TAG_NAME,
61 getbyaddr(be, a)
62 nisplus_backend_ptr_t be;
87 res = _nss_nisplus_expand_lookup(be, argp, HOST_TAG_ADDR, addrbuf,
99 nis_object2str(nobj, obj, be, argp)
102 nisplus_backend_ptr_t be;
105 return (nis_hosts_object2str(nobj, obj, be, argp, AF_INET6));
  /onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/
ldap_common.c 115 _nss_ldap_lookup(ldap_backend_ptr be, nss_XbyY_args_t *argp,
133 (void) __ns_ldap_freeResult(&be->result);
136 be->attrs, NULL, 0, &be->result, &error, NULL,
147 be->ldapobj2str(be, argp)) != NSS_STR_PARSE_SUCCESS) {
153 * a string to be returned in NSS.
157 if (be->db_type == NSS_LDAP_DB_PUBLICKEY) {
160 be->db_type = NSS_LDAP_DB_NONE;
168 * for different purpose so ethers has to be treated differently
510 ldap_backend_ptr be; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/nsswitch/compat/common/
compat_common.c 45 * This should be in a header.
63 * of the str2auuser() and str2userattr() that can be found in
65 * or au_user_str_t structure (so check on user name can be
187 netgr_in(compat_backend_ptr_t be, const char *group, const char *user)
189 if (be->yp_domain == 0) {
190 if (yp_get_default_domain((char **)&be->yp_domain) != 0) {
194 return (innetgr(group, 0, user, be->yp_domain));
198 netgr_set(be, netgroup)
199 compat_backend_ptr_t be;
206 if (be->getnetgrent_backend != 0 &
1236 compat_backend_ptr_t be; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/nsswitch/files/common/
bootparams_getbyname.c 42 getbyname(be, a)
43 files_backend_ptr_t be;
50 if ((res = _nss_files_setent(be, 0)) != NSS_SUCCESS) {
53 return (_nss_files_XY_bootparams(be, argp, argp->key.name));
80 _nss_files_XY_bootparams(be, args, filter)
81 files_backend_ptr_t be;
87 * on the line and we can be fast enough.
92 if (be->buf == 0 &&
93 (be->buf = (char *)malloc(be->minbuf)) == 0)
    [all...]
files_common.c 29 * An implementation that used mmap() sensibly would be a wonderful thing,
46 _nss_files_setent(be, dummy)
47 files_backend_ptr_t be;
50 if (be->f == 0) {
51 if (be->filename == 0) {
55 if ((be->f = fopen(be->filename, "rF")) == 0) {
59 rewind(be->f);
66 _nss_files_endent(be, dummy)
67 files_backend_ptr_t be;
    [all...]
getprinter.c 71 _nss_files_XY_printer(be, args, filter, check)
72 files_backend_ptr_t be;
84 if (be->buf == 0 &&
85 (be->buf = malloc(be->minbuf)) == 0) {
89 if (check != 0 || be->f == 0) {
90 if ((res = _nss_files_setent(be, 0)) != NSS_SUCCESS) {
99 char *instr = be->buf;
102 if ((linelen = _nss_files_read_line(be->f, instr,
103 be->minbuf)) < 0)
    [all...]
  /onnv/onnv-gate/usr/src/lib/nsswitch/mdns/common/
gethostent.c 41 getbyname(be, a)
42 mdns_backend_ptr_t be;
53 _nss_mdns_updatecfg(be);
54 return (_nss_mdns_querybyname(be, hname, AF_INET, &qdata));
59 getbyaddr(be, a)
60 mdns_backend_ptr_t be;
89 _nss_mdns_updatecfg(be);
90 return (_nss_mdns_querybyaddr(be, buffer, qdata.af, &qdata));
95 _nss_mdns_getent(be, args)
96 mdns_backend_ptr_t be;
    [all...]
gethostent6.c 41 getbyname(be, a)
42 mdns_backend_ptr_t be;
53 _nss_mdns_updatecfg(be);
54 return (_nss_mdns_querybyname(be, hname, af, &qdata));
58 getbyaddr(be, a)
59 mdns_backend_ptr_t be;
110 _nss_mdns_updatecfg(be);
111 return (_nss_mdns_querybyaddr(be, addrqryname, qdata.af, &qdata));
116 _nss_mdns_getent(be, args)
117 mdns_backend_ptr_t be;
    [all...]
  /onnv/onnv-gate/usr/src/lib/nsswitch/nis/common/
getprotoent.c 38 getbyname(be, a)
39 nis_backend_ptr_t be;
44 return (_nss_nis_lookup(be, argp, 1, "protocols.byname",
49 getbynumber(be, a)
50 nis_backend_ptr_t be;
57 return (_nss_nis_lookup(be, argp, 1, "protocols.bynumber",
bootparams_getbyname.c 36 getbyname(be, a)
37 nis_backend_ptr_t be;
42 return (_nss_nis_lookup(be, argp, 0, "bootparams",
getprinter.c 34 getbyname(be, a)
35 nis_backend_ptr_t be;
40 return (_nss_nis_lookup(be, argp, 0, "printers.conf.byname",
netmasks.c 47 getbynet(be, a)
48 nis_backend_ptr_t be;
52 return (_nss_nis_lookup(be, argp, 0, "netmasks.byaddr",
  /onnv/onnv-gate/usr/src/uts/common/xen/public/
README.DO_NOT_EDIT 31 These files should not be edited in ON. They are copies from a specific
32 build of the xen consolidation which can be found in:
35 Any changes to these files should be done in the xen consolidation.
  /onnv/onnv-gate/usr/src/cmd/cpio/
README 28 These sources should be kept compilable on all OS releases back to
  /onnv/onnv-gate/usr/src/stand/
README 27 If you are looking for the rest of what used to be in /usr/src/stand, it's over
  /onnv/onnv-gate/usr/src/lib/libast/common/string/
strnvcmp.c 35 register const char* be; local
40 be = b + n;
45 if (b >= be)
49 else if (b >= be)
56 while (b < be && isdigit(*b))
  /onnv/onnv-gate/usr/src/lib/nsswitch/ad/common/
getgrent.c 31 update_buffer(ad_backend_ptr be, nss_XbyY_args_t *argp,
43 buffer = be->buffer = malloc(buflen);
44 if (be->buffer == NULL)
46 be->buflen = buflen;
66 getbynam(ad_backend_ptr be, void *a)
77 be->db_type = NSS_AD_DB_GROUP_BYNAME;
79 /* Sanitize name so that it can be used in our LDAP filter */
106 if (update_buffer(be, argp, name, dname, gid) < 0)
110 stat = _nss_ad_marshall_data(be, argp);
111 return (_nss_ad_sanitize_status(be, argp, stat))
    [all...]
getspent.c 31 update_buffer(ad_backend_ptr be, nss_XbyY_args_t *argp,
39 * sp_pwdp will be "*NP*".
50 buffer = be->buffer = malloc(buflen);
51 if (be->buffer == NULL)
53 be->buflen = buflen;
74 getbynam(ad_backend_ptr be, void *a)
85 be->db_type = NSS_AD_DB_SHADOW_BYNAME;
87 /* Sanitize name so that it can be used in our LDAP filter */
115 if (update_buffer(be, argp, name, dname) < 0)
119 stat = _nss_ad_marshall_data(be, argp)
    [all...]
getpwnam.c 56 update_buffer(ad_backend_ptr be, nss_XbyY_args_t *argp,
64 if (be->db_type == NSS_AD_DB_PASSWD_BYNAME) {
81 buffer = be->buffer = malloc(buflen);
82 if (be->buffer == NULL)
84 be->buflen = buflen;
92 if (be->db_type == NSS_AD_DB_PASSWD_BYNAME)
106 * a /net format. This needs to be revisited later but is fine for now
172 _nss_ad_passwd2str(ad_backend_ptr be, nss_XbyY_args_t *argp)
175 adutils_result_t *result = be->result;
195 if (be->ih == NULL && idmap_init(&be->ih) != 0
    [all...]

Completed in 420 milliseconds

1 2 3 4 5 6 7 8 91011>>