/titanic_51/usr/src/lib/libcryptoutil/common/ |
H A D | util.c | 34 * This function returns a fullpath based on the "dir" and "filepath" input 36 * - If the filepath specified does not start with a "/" and the directory 38 * - If only dir or filepath is given, this function returns a copy of the 40 * - If the filepath is fully qualified already and the "dir" is also 44 get_fullpath(char *dir, char *filepath) in get_fullpath() argument 50 if (filepath != NULL) in get_fullpath() 51 pathlen = strlen(filepath); in get_fullpath() 57 if (filepath[0] != '/') { in get_fullpath() 62 dir, filepath); in get_fullpath() 67 fullpath = (char *)strdup(filepath); in get_fullpath() [all...] |
H A D | cryptoutil.h | 209 extern char *get_fullpath(char *dir, char *filepath);
|
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | plugins.c | 84 krb5int_open_plugin (const char *filepath, struct plugin_file_handle **h, struct errinfo *ep) in krb5int_open_plugin() argument 92 if (stat (filepath, &statbuf) < 0) { in krb5int_open_plugin() 93 Tprintf ("stat(%s): %s\n", filepath, strerror (errno)); in krb5int_open_plugin() 113 handle = dlopen(filepath, PLUGIN_DLOPEN_FLAGS); in krb5int_open_plugin() 116 Tprintf ("dlopen(%s): %s\n", filepath, e); in krb5int_open_plugin() 139 pluginPath = CFStringCreateWithCString (kCFAllocatorDefault, filepath, in krb5int_open_plugin() 446 char *filepath = NULL; in krb5int_open_plugin_dirs() local 449 filepath = malloc (dirnamelen + strlen (filenames[j]) + 1); /* NULL */ in krb5int_open_plugin_dirs() 450 if (filepath == NULL) { in krb5int_open_plugin_dirs() 454 sprintf (filepath, " in krb5int_open_plugin_dirs() 473 char *filepath = NULL; krb5int_open_plugin_dirs() local [all...] |
/titanic_51/usr/src/boot/sys/boot/efi/boot1/ |
H A D | ufs_module.c | 94 load(const char *filepath, dev_info_t *dev, void **bufp, size_t *bufsize) in load() argument 102 DPRINTF("Loading '%s' from %s\n", filepath, devpath_str(dev->devpath)); in load() 109 if ((ino = lookup(filepath)) == 0) { in load() 110 DPRINTF("Failed to lookup '%s' (file not found?)\n", filepath); in load() 115 printf("Failed to read size of '%s' ino: %d\n", filepath, ino); in load() 122 size, filepath, EFI_ERROR_CODE(status)); in load() 128 printf("Failed to read '%s' (%zd != %zu)\n", filepath, read, in load()
|
H A D | zfs_module.c | 139 load(const char *filepath, dev_info_t *devinfo, void **bufp, size_t *bufsize) in load() argument 151 DPRINTF("load: '%s' spa: '%s', devpath: %s\n", filepath, spa->spa_name, in load() 164 if ((err = zfs_lookup(&zfsmount, filepath, &dn)) != 0) { in load() 167 filepath, spa->spa_name, err); in load() 170 printf("Failed to lookup '%s' on pool '%s' (%d)\n", filepath, in load() 176 printf("Failed to stat '%s' on pool '%s' (%d)\n", filepath, in load() 184 "(%lu)\n", st.st_size, spa->spa_name, filepath, EFI_ERROR_CODE(status)); in load()
|
H A D | boot_module.h | 88 EFI_STATUS (*load)(const char *filepath, dev_info_t *devinfo,
|
/titanic_51/usr/src/lib/libshell/common/scripts/ |
H A D | simplefileattributetree1.sh | 84 filepath="${filename}" 110 …typeset out.filepath="${str/~(Elr)[[:space:]]*([[:digit:]]+)[[:space:]]+([[:digit:]]+)[[:space:]]+… 218 typeset treenode.dirname="${ dirname "${treenode.filepath}" ; }" 219 typeset treenode.basename="${ basename "${treenode.filepath}" ; }" 223 typeset treenode.filetype="$(file "${treenode.filepath}")" 245 [md5]="$(sum -x md5 < "${treenode.filepath}")" 246 [sha512]="$(sum -x sha512 < "${treenode.filepath}")"
|
/titanic_51/usr/src/cmd/ast/libshell/common/scripts/ |
H A D | simplefileattributetree1.sh | 84 filepath="${filename}" 110 typeset out.filepath="${str/~(Elr)[[:space:]]*([[:digit:]]+)[[:space:]]+([[:digit:]]+)[[:space:]]+([[:alpha:]-]+)[[:space:]]+([[:digit:]]+)[[:space:]]+([[:alnum:]]+)[[:space:]]+([[:alnum:]]+)[[:space:]]+([[:digit:]]+)[[:space:]]+([[:alpha:]]*[[:space:]]+[[:digit:]]*[[:space:]]+[[:digit:]:]+)[[:space:]]+(.+)/\9}" 211 add_file_to_tree filetree "${parseddata.filepath}" treenodename 218 typeset treenode.dirname="${ dirname "${treenode.filepath}" ; }" 219 typeset treenode.basename="${ basename "${treenode.filepath}" ; }" 223 typeset treenode.filetype="$(file "${treenode.filepath}")" 227 if [[ -r "${treenode.filepath}" ]] ; then 241 done < "${treenode.filepath}" 245 [md5]="$(sum -x md5 < "${treenode.filepath}")" 246 [sha512]="$(sum -x sha512 < "${treenode.filepath}")" [all...] |
/titanic_51/usr/src/cmd/vscan/vscand/ |
H A D | vs_svc.c | 328 vs_svc_vlog(char *filepath, vs_result_t *result) in vs_svc_vlog() argument 339 syslog(LOG_NOTICE, "quarantine %s\n", filepath); in vs_svc_vlog() 343 filepath, in vs_svc_vlog() 361 timebuf, strlen(filepath), filepath); in vs_svc_vlog() 365 timebuf, strlen(filepath), filepath, in vs_svc_vlog() 383 vs_svc_audit(char *filepath, vs_result_t *result) in vs_svc_audit() argument 418 event->adt_vscan_quarantine.file = filepath; in vs_svc_audit()
|
H A D | vs_main.c | 441 vscand_init_file(char *filepath, uid_t uid, gid_t gid, mode_t access_mode) in vscand_init_file() argument 447 if ((fd = open(filepath, O_RDONLY | O_CREAT, access_mode)) == -1) { in vscand_init_file() 470 gettext("Failed to initialize"), filepath); in vscand_init_file()
|
/titanic_51/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/ |
H A D | init_os_ctx.c | 250 char* filepath = 0; in os_get_default_config_files() local 262 filepath = DEFAULT_SECURE_PROFILE_PATH; in os_get_default_config_files() 264 filepath = getenv("KRB5_CONFIG"); in os_get_default_config_files() 265 if (!filepath) filepath = DEFAULT_PROFILE_PATH; in os_get_default_config_files() 269 for(s = filepath, n_entries = 1; *s; s++) { in os_get_default_config_files() 281 for(s = filepath, i=0; (t = strchr(s, ':')) || (t=s+strlen(s)); s=t+1, i++) in os_get_default_config_files()
|
/titanic_51/usr/src/cmd/power/ |
H A D | sys-suspend.c | 489 char filepath[MAXPATHLEN]; in get_xauthority() local 519 (void) sprintf(filepath, "%s/.Xauthority", home_dir); in get_xauthority() 520 if (stat(filepath, &stat_buf) == 0) in get_xauthority() 521 return (strcat(xauthority, filepath)); in get_xauthority() 537 (void) sprintf(filepath, "%s/%s", DT_TMP, dp->d_name); in get_xauthority() 538 if (stat(filepath, &stat_buf) == -1) in get_xauthority() 543 (void) strcpy(xauth, filepath); in get_xauthority()
|
/titanic_51/usr/src/lib/pam_modules/krb5/ |
H A D | krb5_setcred.c | 478 char *filepath = NULL; in krb5_renew_tgt() local 528 * with the literal string "FILE:". Set filepath in krb5_renew_tgt() 532 filepath = strchr(kmd->env, ':'); in krb5_renew_tgt() 537 if (filepath[1] == '\0') { in krb5_renew_tgt() 545 if (chown(filepath+1, uuid, ugid)) { in krb5_renew_tgt() 550 username, filepath); in krb5_renew_tgt()
|
/titanic_51/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | kclient.sh | 367 FILEPATH) if [[ -z $filepath ]]; then 368 filepath="$value" 670 printf "\t$(gettext "[ -c filepath ] specifies the krb5.conf path used to configure this client")\n" >&2 1684 filepath="$OPTARG" 1798 if [[ -z $dnsarg && (-z $options || -z $filepath) ]]; then 1839 if [[ -z $kdc_list && (-z $options || -z $filepath) ]]; then 1873 if [[ -n $domain_list && (-z $options || -z $filepath) ]]; then 1920 # Copy over krb5.conf master copy from filepath 1922 if [[ -z $options || -z $filepath ]]; then 1926 read filepath [all...] |
/titanic_51/usr/src/cmd/auditd/ |
H A D | auditd.c | 505 char filepath[MAXPATHLEN + 1 + ISA_GROW]; in init_plugin() local 506 char *path = filepath; in init_plugin() 510 (void) strcpy(filepath, "/usr/lib/security/sparcv9/"); in init_plugin() 512 (void) strcpy(filepath, "/usr/lib/security/"); in init_plugin() 514 if (strlcat(filepath, name, MAXPATHLEN) >= MAXPATHLEN) in init_plugin()
|
/titanic_51/usr/src/tools/cscope-fast/ |
H A D | find.c | 79 static char *filepath(char *file); 458 (void) fprintf(refsfound, "%s ", filepath(file)); in findcalledbysub() 664 char *file = filepath(srcfiles[i]); in findegreppat() 691 filepath(srcfiles[i])); in findfile() 1066 if (fprintf(output, "%s %s ", filepath(file), function) == EOF) { in putref() 1265 filepath(char *file) in filepath() function
|
/titanic_51/usr/src/cmd/devfsadm/ |
H A D | disk_link.c | 145 char filepath[PATH_MAX]; in is_lofi_disk() local 149 size = snprintf(filepath, sizeof (filepath), "%s/dev/%s", in is_lofi_disk() 151 if (size > sizeof (filepath)) in is_lofi_disk() 154 size = readlink(filepath, buf, sizeof (buf) - 1); in is_lofi_disk()
|
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_init.c | 109 profile_init_path(const_profile_filespec_list_t filepath, in profile_init_path() argument 119 for(s = filepath, n_entries = 1; *s; s++) { in profile_init_path() 131 for(s = filepath, i=0; ((t = strchr(s, ':')) != NULL) || in profile_init_path()
|
/titanic_51/usr/src/uts/common/io/vscan/ |
H A D | vscan_svc.c | 1129 vscan_svc_exempt_filetype(char *filepath) in vscan_svc_exempt_filetype() argument 1136 if ((filename = strrchr(filepath, '/')) == 0) in vscan_svc_exempt_filetype() 1137 filename = filepath; in vscan_svc_exempt_filetype()
|
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 3425 char filepath[MAXPATHLEN]; in export_func() local 3436 filepath[0] = '\0'; in export_func() 3460 (void) strlcpy(filepath, in export_func() 3462 sizeof (filepath)); in export_func() 3463 if ((of = fopen(filepath, "w")) == NULL) { in export_func() 3464 nerr(gettext("opening file '%s': %s"), filepath, in export_func()
|