Searched defs:filepath (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dutil.c34 * 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) argument
50 if (filepath != NULL)
51 pathlen = strlen(filepath);
57 if (filepath[0] != '/') {
62 dir, filepath);
67 fullpath = (char *)strdup(filepath);
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/
H A Dufs_module.c96 load(const char *filepath, dev_info_t *dev, void **bufp, size_t *bufsize) argument
104 DPRINTF("Loading '%s' from %s\n", filepath, devpath_str(dev->devpath));
111 if ((ino = lookup(filepath)) == 0) {
112 DPRINTF("Failed to lookup '%s' (file not found?)\n", filepath);
117 printf("Failed to read size of '%s' ino: %d\n", filepath, ino);
124 size, filepath, EFI_ERROR_CODE(status));
130 printf("Failed to read '%s' (%zd != %zu)\n", filepath, read,
H A Dzfs_module.c94 load(const char *filepath, dev_info_t *devinfo, void **bufp, size_t *bufsize) argument
106 DPRINTF("load: '%s' spa: '%s', devpath: %s\n", filepath, spa->spa_name,
119 if ((err = zfs_lookup(&zfsmount, filepath, &dn)) != 0) {
122 filepath, spa->spa_name, err);
125 printf("Failed to lookup '%s' on pool '%s' (%d)\n", filepath,
131 printf("Failed to stat '%s' on pool '%s' (%d)\n", filepath,
139 "(%lu)\n", st.st_size, spa->spa_name, filepath, EFI_ERROR_CODE(status));
/illumos-gate/usr/src/lib/pam_modules/krb5/
H A Dkrb5_setcred.c478 char *filepath = NULL; local
528 * with the literal string "FILE:". Set filepath
532 filepath = strchr(kmd->env, ':');
537 if (filepath[1] == '\0') {
545 if (chown(filepath+1, uuid, ugid)) {
550 username, filepath);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_init.c109 profile_init_path(const_profile_filespec_list_t filepath, argument
119 for(s = filepath, n_entries = 1; *s; s++) {
131 for(s = filepath, i=0; ((t = strchr(s, ':')) != NULL) ||
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_svc.c328 vs_svc_vlog(char *filepath, vs_result_t *result) argument
339 syslog(LOG_NOTICE, "quarantine %s\n", filepath);
343 filepath,
361 timebuf, strlen(filepath), filepath);
365 timebuf, strlen(filepath), filepath,
383 vs_svc_audit(char *filepath, vs_result_t *result) argument
418 event->adt_vscan_quarantine.file = filepath;
H A Dvs_main.c441 vscand_init_file(char *filepath, uid_t uid, gid_t gid, mode_t access_mode) argument
447 if ((fd = open(filepath, O_RDONLY | O_CREAT, access_mode)) == -1) {
470 gettext("Failed to initialize"), filepath);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/
H A Dinit_os_ctx.c250 char* filepath = 0; local
262 filepath = DEFAULT_SECURE_PROFILE_PATH;
264 filepath = getenv("KRB5_CONFIG");
265 if (!filepath) filepath = DEFAULT_PROFILE_PATH;
269 for(s = filepath, n_entries = 1; *s; s++) {
281 for(s = filepath, i=0; (t = strchr(s, ':')) || (t=s+strlen(s)); s=t+1, i++)
/illumos-gate/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) argument
92 if (stat (filepath, &statbuf) < 0) {
93 Tprintf ("stat(%s): %s\n", filepath, strerror (errno));
113 handle = dlopen(filepath, PLUGIN_DLOPEN_FLAGS);
116 Tprintf ("dlopen(%s): %s\n", filepath, e);
139 pluginPath = CFStringCreateWithCString (kCFAllocatorDefault, filepath,
446 char *filepath = NULL; local
449 filepath = malloc (dirnamelen + strlen (filenames[j]) + 1); /* NULL */
450 if (filepath == NULL) {
454 sprintf (filepath, "
473 char *filepath = NULL; local
[all...]
/illumos-gate/usr/src/cmd/power/
H A Dsys-suspend.c489 char filepath[MAXPATHLEN]; local
519 (void) sprintf(filepath, "%s/.Xauthority", home_dir);
520 if (stat(filepath, &stat_buf) == 0)
521 return (strcat(xauthority, filepath));
537 (void) sprintf(filepath, "%s/%s", DT_TMP, dp->d_name);
538 if (stat(filepath, &stat_buf) == -1)
543 (void) strcpy(xauth, filepath);
/illumos-gate/usr/src/cmd/auditd/
H A Dauditd.c505 char filepath[MAXPATHLEN + 1 + ISA_GROW]; local
506 char *path = filepath;
510 (void) strcpy(filepath, "/usr/lib/security/sparcv9/");
512 (void) strcpy(filepath, "/usr/lib/security/");
514 if (strlcat(filepath, name, MAXPATHLEN) >= MAXPATHLEN)
/illumos-gate/usr/src/tools/cscope-fast/
H A Dfind.c79 static char *filepath(char *file);
458 (void) fprintf(refsfound, "%s ", filepath(file));
664 char *file = filepath(srcfiles[i]);
691 filepath(srcfiles[i]));
1066 if (fprintf(output, "%s %s ", filepath(file), function) == EOF) {
1265 filepath(char *file) function
/illumos-gate/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 class:WorkSpace
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddisk_link.c145 char filepath[PATH_MAX]; local
149 size = snprintf(filepath, sizeof (filepath), "%s/dev/%s",
151 if (size > sizeof (filepath))
154 size = readlink(filepath, buf, sizeof (buf) - 1);
/illumos-gate/usr/src/uts/common/io/vscan/
H A Dvscan_svc.c1129 vscan_svc_exempt_filetype(char *filepath) argument
1136 if ((filename = strrchr(filepath, '/')) == 0)
1137 filename = filepath;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c3425 char filepath[MAXPATHLEN]; local
3436 filepath[0] = '\0';
3460 (void) strlcpy(filepath,
3462 sizeof (filepath));
3463 if ((of = fopen(filepath, "w")) == NULL) {
3464 nerr(gettext("opening file '%s': %s"), filepath,

Completed in 72 milliseconds