Home
last modified time | relevance | path

Searched refs:filepath (Results 1 – 17 of 17) sorted by relevance

/titanic_41/usr/src/lib/libcryptoutil/common/
H A Dutil.c44 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()
H A Dcryptoutil.h209 extern char *get_fullpath(char *dir, char *filepath);
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dplugins.c84 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, "%s/%s", dirnames[i], filenames[j]); in krb5int_open_plugin_dirs()
[all …]
/titanic_41/usr/src/lib/libshell/common/scripts/
H A Dsimplefileattributetree1.sh84 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_41/usr/src/cmd/vscan/vscand/
H A Dvs_svc.c328 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 Dvs_main.c441 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_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/
H A Dinit_os_ctx.c250 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_41/usr/src/cmd/power/
H A Dsys-suspend.c489 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_41/usr/src/lib/pam_modules/krb5/
H A Dkrb5_setcred.c478 char *filepath = NULL; in krb5_renew_tgt() local
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_41/usr/src/cmd/krb5/kadmin/kclient/
H A Dkclient.sh366 FILEPATH) if [[ -z $filepath ]]; then
1669 filepath="$OPTARG"
1783 if [[ -z $dnsarg && (-z $options || -z $filepath) ]]; then
1824 if [[ -z $kdc_list && (-z $options || -z $filepath) ]]; then
1858 if [[ -n $domain_list && (-z $options || -z $filepath) ]]; then
1907 if [[ -z $options || -z $filepath ]]; then
1911 read filepath
1915 if [[ -n $filepath && -r $filepath ]]; then
1916 cp $filepath $KRB5_CONFIG
1918 printf "$(gettext "Copied %s to %s").\n" $filepath $KRB5_CONFIG
[all …]
/titanic_41/usr/src/cmd/auditd/
H A Dauditd.c505 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_41/usr/src/tools/cscope-fast/
H A Dfind.c79 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_41/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_init.c109 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_41/usr/src/uts/common/io/vscan/
H A Dvscan_svc.c1129 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_41/usr/src/tools/onbld/hgext/
H A Dcdm.py145 return [(ws.filepath(e.name), e) for e in sorted(active)]
659 tfile = wslist[repo].filepath('.hgtags')
1421 ui.write("%s\n" % wslist[repo].filepath(elt))
/titanic_41/usr/src/tools/onbld/Scm/
H A DWorkSpace.py433 if paths and self.ws.filepath(entry.name) not in paths:
928 def filepath(self, path): member in WorkSpace
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c3425 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()