/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_set.c | 4 * inserting, updating and deleting items from the profile. 7 * profile. It's not clear how to handle multiple files, actually. 24 static errcode_t rw_setup(profile_t profile) argument 29 if (!profile) 32 if (profile->magic != PROF_MAGIC_PROFILE) 35 file = profile->first_file; 84 profile_update_relation(profile_t profile, const char **names, argument 92 retval = rw_setup(profile); 102 retval = k5_mutex_lock(&profile->first_file->data->lock); 105 section = profile 137 profile_clear_relation(profile_t profile, const char **names) argument 182 profile_rename_section(profile_t profile, const char **names, const char *new_name) argument 235 profile_add_relation(profile_t profile, const char **names, const char *new_value) argument [all...] |
H A D | prof_get.c | 3 * querying items from the profile. 18 * profile functions can call upon these basic routines: 127 profile_get_values(profile_t profile, const char *const *names, argument 135 if ((retval = profile_node_iterator_create(profile, names, 167 errcode_t profile_get_value(profile_t profile, const char **names, argument 174 if ((retval = profile_node_iterator_create(profile, names, 193 profile_get_string(profile_t profile, const char *name, const char *subname, argument 201 if (profile) { 206 retval = profile_get_value(profile, names, &value); 225 profile_get_integer(profile_t profile, cons argument 306 profile_get_boolean(profile_t profile, const char *name, const char *subname, const char *subsubname, int def_val, int *ret_boolean) argument 337 profile_get_subsection_names(profile_t profile, const char **names, char ***ret_names) argument 373 profile_get_relation_names(profile_t profile, const char **names, char ***ret_names) argument 405 profile_iterator_create(profile_t profile, const char *const *names, int flags, void **ret_iter) argument [all...] |
H A D | prof_init.c | 33 profile_t profile; local 37 profile = malloc(sizeof(struct _profile_t)); 38 if (!profile) 40 memset(profile, 0, sizeof(struct _profile_t)); 41 profile->magic = PROF_MAGIC_PROFILE; 43 /* if the filenames list is not specified return an empty profile */ 52 profile_release(profile); 58 profile->first_file = new_file; 66 profile_release(profile); 71 *ret_profile = profile; 162 profile_is_writable(profile_t profile, int *writable) argument 177 profile_is_modified(profile_t profile, int *modified) argument 192 profile_flush(profile_t profile) argument 204 profile_flush_to_file(profile_t profile, const_profile_filespec_t outfile) argument 217 profile_flush_to_buffer(profile_t profile, char **buf) argument 223 profile_free_buffer(profile_t profile, char *buf) argument 229 profile_abandon(profile_t profile) argument 245 profile_release(profile_t profile) argument 264 profile_ser_size(const char *unused, profile_t profile, size_t *sizep) argument 289 profile_ser_externalize(const char *unused, profile_t profile, unsigned char **bufpp, size_t *remainp) argument [all...] |
H A D | prof_solaris.c | 36 __profile_iter_name_value(profile_t profile, char *section, char *key, argument 52 code = profile_iterator_create(profile, hierarchy, 96 __profile_get_domain_realm(profile_t profile, char *realm, char ***domains) argument 98 if (profile == NULL || realm == NULL || domains == NULL) 101 return (__profile_iter_name_value(profile, "domain_realm", realm, 106 __profile_set_appdefaults(profile_t profile) argument 111 if (profile == NULL) 123 (void) profile_clear_relation(profile, hierarchy); 125 code = profile_add_relation(profile, hierarchy, "true"); 131 (void) profile_clear_relation(profile, hierarch 139 __profile_set_logging(profile_t profile) argument 192 __profile_set_libdefaults(profile_t profile, char *realm) argument 215 __profile_set_kdc(profile_t profile, char *realm, char *kdc, boolean_t overwrite) argument 253 __profile_release(profile_t profile) argument 280 __profile_abandon(profile_t profile) argument 294 __profile_add_domain_mapping(profile_t profile, char *domain, char *realm) argument 326 __profile_remove_domain_mapping(profile_t profile, char *realm) argument 369 __profile_get_realm_entry(profile_t profile, char *realm, char *name, char ***ret_value) argument 409 __profile_add_realm_entry(profile_t profile, char *realm, char *name, char **values) argument 448 __profile_get_default_realm(profile_t profile, char **realm) argument 477 __profile_get_realms(profile_t profile, char ***realms) argument 505 __profile_add_realm(profile_t profile, char *realm, char *master, char **kdcs, boolean_t set_change, boolean_t default_realm) argument 578 __profile_remove_xrealm_mapping(profile_t profile, char *realm) argument 673 __profile_remove_realm(profile_t profile, char *realm) argument 737 __profile_add_xrealm_mapping(profile_t profile, char *source, char *target, char *inter) argument 797 __profile_validate(profile_t profile, int *val_err, char **val) argument 927 __profile_init(char *filename, profile_t *profile) argument [all...] |
H A D | prof_tree.c | 12 * this file; all of the other profile routines build, access, and 121 * the profile are true. If not, we have a programming bug somewhere, 351 * profile node) makes this function mostly syntactic sugar for 395 profile_t profile; member in struct:profile_iterator 406 errcode_t profile_node_iterator_create(profile_t profile, argument 413 if (profile == 0) 415 if (profile->magic != PROF_MAGIC_PROFILE) 429 iter->profile = profile; 432 iter->file = profile [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | appdefault.c | 3 * handle the [appdefaults] profile section 40 profile_t profile; local 49 profile = context->profile; 69 retval = profile_get_values(profile, names, &nameval); 87 retval = profile_get_values(profile, names, &nameval); 105 retval = profile_get_values(profile, names, &nameval); 121 retval = profile_get_values(profile, names, &nameval);
|
H A D | get_in_tkt.c | 800 profile_t profile; local 815 profile = context->profile; 832 retval = profile_get_values(profile, names, &nameval); 846 retval = profile_get_values(profile, names, &nameval);
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_pname.c | 72 uu_alt_exit(int profile) argument 74 switch (profile) {
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddrbac.c | 289 char **profile; local 295 profile = __ns_ldap_getAttr(res->entry, "cn"); 300 if (profile == NULL || profile[0] == NULL || 306 (void) fprintf(stdout, "%s", profile[0]);
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_profile.c | 40 * Routines for handling profile [config file] options 97 profile_t profile = NULL; local 105 profile = context->profile; 121 retval = profile_get_values(profile, names, &values); 136 retval = profile_get_values(profile, names, &values); 234 profile_t profile; local 252 profile = context->profile; 269 retval = profile_get_values(profile, name [all...] |
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | kconf.c | 32 #include <profile.h> 118 profile_t profile; local 164 code = __profile_init(file, &profile); 166 fprintf(stderr, gettext("Wasn't able to initialize profile\n")); 191 code = __profile_add_realm(profile, realm, master, ret_values, 199 code = __profile_add_domain_mapping(profile, domain, realm); 210 * Release profile, which will subsequently flush new profile to file. 211 * If this fails then at least free profile memory. 213 if ((code = __profile_release(profile)) ! [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/ |
H A D | init_os_ctx.c | 112 * This will find a profile in the registry. *pbuffer != 0 if we 335 /* Set the profile paths in the context. If secure is set to TRUE 357 &ctx->profile); 360 /* if none of the filenames can be opened use an empty profile */ 362 retval = profile_init(NULL, &ctx->profile); 373 ctx->profile = 0; 415 * If there's an error in the profile, return an error. Just 438 krb5_get_profile (krb5_context ctx, profile_t *profile) argument 440 return profile_copy (ctx->profile, profile); 451 profile_t profile; local [all...] |
/illumos-gate/usr/src/tools/scripts/ |
H A D | wsdiff.py | 72 import datetime, fnmatch, getopt, os, profile, commands namespace
|
/illumos-gate/usr/src/lib/krb5/kadm5/ |
H A D | alt_prof.c | 53 * alt_prof.c - Implement alternate profile file handling. 89 * krb5_aprof_init() - Initialize alternate profile context. 92 * fname - default file name of the profile. 94 * acontextp - Pointer to opaque context for alternate profile. 106 profile_t profile; local 144 profile = (profile_t) NULL; 145 kret = profile_init_path(profile_path, &profile); 149 *acontextp = profile; 154 * krb5_aprof_getvals() - Get values from alternate profile. 157 * acontext - opaque context for alternate profile [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_confmgr.c | 158 gettext("Illegal profile type on line %d."), 323 /* Get the version of the profile. */ 580 char *profile, *container, *base; local 618 profile = ptr->paramList[NS_LDAP_PROFILE_P].ns_pc; 623 * Construct DN, but since this is the profile, there is no need 624 * to worry about mapping. The profile itself can not be mapped 626 (void) fprintf(fp, "dn: cn=%s,ou=%s,%s\n", profile, container, base); 844 gettext("Configuration Error: More than one profile " 861 /* Check to see if the profile is version 1 or version 2 */ 992 * Download a profile int 997 __ns_ldap_download(const char *profile, char *addr, char *baseDN, ns_ldap_error_t **errorp) argument [all...] |
H A D | ns_standalone.c | 972 char **profile) 980 (void) snprintf(searchBaseDN, BUFSIZ, "ou=profile,%s", dir_base_dn); 1000 /* If successful, the DUA profile was found. */ 1020 profile); 969 getDUAProfile(LDAP *ld, const char *dir_base_dn, const char *profile_name, char **profile) argument
|
/illumos-gate/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 68 get_cdrom_properties_walker (void *arg, int profile, boolean_t is_current) argument 72 switch (profile) {
|
/illumos-gate/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 224 int profile; local 241 if (get_current_profile (fd, &profile)) { 242 switch (profile) { 306 (void) get_disc_capacity_for_profile(fd, profile, &capacity);
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 211 get_current_profile(int fd, int *profile) argument 232 *profile = GET16(&bufp[6]); 245 uint16_t profile, current_profile; local 266 profile = GET16(&bufp[i]); 267 ret = f(arg, profile, (profile == current_profile)); 448 * given current profile, use the best method for determining 452 get_disc_capacity_for_profile(int fd, int profile, uint64_t *capacity) argument 458 switch (profile) {
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdma/ |
H A D | ibdma.c | 932 ibdma_ioc_register(ib_guid_t iou_guid, ib_dm_ioc_ctrl_profile_t *profile, argument 941 if (profile == NULL || services == NULL) { 946 svc_entries = profile->ioc_service_entries; 948 cmn_err(CE_NOTE, "ioc_register, bad profile no service"); 973 if (profile->ioc_guid == 1000 * Allocate local copy of profile and services. 1004 bcopy(profile, &hca->ih_ioc[free_slot].ii_profile, 1010 * Update the profile copy with the I/O controller slot assigned. 1014 profile->ioc_vendorid |= h2b32(free_slot); 1117 ibdma_ioc_update(ibdma_hdl_t hdl, ib_dm_ioc_ctrl_profile_t *profile, argument [all...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | msg.c | 154 const char profile[] = ".profile"; variable 155 const char sysprofile[] = "/etc/profile";
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_profile.c | 312 * Create symlinks in the current directory based on profile 686 * Build directory vnodes based on the profile and the global 772 * Add a profile rule. 896 nvlist_t *profile = NULL; local 902 /* copyin packed profile nvlist */ 908 /* unpack packed profile nvlist */ 912 else if (err = nvlist_unpack(packed, packed_sz, &profile, KM_NOSLEEP)) 918 *nvlp = profile; 923 * Process profile passed down from libdevinfo. There are four types 934 sdev_process_profile(struct sdev_data *sdev_data, nvlist_t *profile) argument [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | drive.c | 121 uchar_t profile[2]; member in struct:conf_feature::features::profile_list 1258 /* The first profile is the preferred one for the drive. */ 1265 prof_num = (int)convnum(feature->features.plist[0].profile, 2);
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_getldap.c | 712 * profile is refreshed, all servers are good. 1424 * recreated after the configuration profile is refreshed 1426 * the NS_LDAP_CACHETTL parameter (configuration profile 2219 char *profile = NULL; local 2233 logit("Error: Unable to profile name: %s\n", 2239 logit("Error: Unable to profile name: %s\n", 2248 profile = strdup((char *)*paramVal); 2251 if (profile == NULL) { 2256 _PROFILE1_OBJECTCLASS, _PROFILE2_OBJECTCLASS, profile); 2264 * Is profile nam [all...] |
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex.c | 2451 ib_dm_ioc_ctrl_profile_t *profile = &ioc_info->ioc_profile; local 2456 length = profile->ioc_service_entries * sizeof (ib_dm_srv_t); 2458 temp = (char *)((char *)srv_id + (8 * profile->ioc_service_entries)); 2459 for (ii = 0; ii < profile->ioc_service_entries; ii++) { 2463 for (ii = 0; ii < profile->ioc_service_entries; ii++) { 2475 profile->ioc_service_entries) != DDI_PROP_SUCCESS) { 2484 profile->ioc_service_entries) != DDI_PROP_SUCCESS) {
|