Searched refs:filepath (Results 1 - 25 of 27) sorted by relevance

12

/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/
H A Dpaths.c127 char filepath[MAXPATHLEN]; local
207 (void) snprintf(filepath, sizeof(filepath),
209 if (access(filepath, R_OK) == 0) {
210 (void) strlcpy(_path_ftpaccess, filepath,
216 (void) snprintf(filepath, sizeof(filepath),
218 if (access(filepath, R_OK) == 0)
219 (void) strlcpy(_path_ftpusers, filepath,
222 (void) snprintf(filepath, sizeo
[all...]
H A Dextensions.c882 int deny_badasciixfer(int msgcode, char *filepath) argument
885 if (type == TYPE_A && !*filepath) {
/opensolaris-onvv-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...]
H A Dcryptoutil.h205 extern char *get_fullpath(char *dir, char *filepath);
/opensolaris-onvv-gate/usr/src/lib/libshell/common/scripts/
H A Dsimplefileattributetree1.sh84 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...]
/opensolaris-onvv-gate/usr/src/tools/scripts/
H A Dwx.sh126 # $1 is the filepath to remove
130 # Get past filepath line
165 # renamed $1 to $2 filepath in active list
173 # Return 0 if filepath arg is found in active list.
182 # if an arg is passed in then this is assumed to be the filepath
187 filepath=$1
195 if is_active $filepath; then
196 if wx_pnt_filepath $filepath; then
200 The file $filepath
210 $filepath
[all...]
/opensolaris-onvv-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);
/opensolaris-onvv-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...]
/opensolaris-onvv-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++)
/opensolaris-onvv-gate/usr/src/cmd/power/
H A Dsys-suspend.c488 char filepath[MAXPATHLEN]; local
518 (void) sprintf(filepath, "%s/.Xauthority", home_dir);
519 if (stat(filepath, &stat_buf) == 0)
520 return (strcat(xauthority, filepath));
536 (void) sprintf(filepath, "%s/%s", DT_TMP, dp->d_name);
537 if (stat(filepath, &stat_buf) == -1)
542 (void) strcpy(xauth, filepath);
/opensolaris-onvv-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);
/opensolaris-onvv-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
/opensolaris-onvv-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dkclient.sh365 FILEPATH) if [[ -z $filepath ]]; then
366 filepath="$value"
668 printf "\t$(gettext "[ -c filepath ] specifies the krb5.conf path used to configure this client")\n" >&2
1672 filepath="$OPTARG"
1786 if [[ -z $dnsarg && (-z $options || -z $filepath) ]]; then
1827 if [[ -z $kdc_list && (-z $options || -z $filepath) ]]; then
1861 if [[ -n $domain_list && (-z $options || -z $filepath) ]]; then
1908 # Copy over krb5.conf master copy from filepath
1910 if [[ -z $options || -z $filepath ]]; then
1914 read filepath
[all...]
/opensolaris-onvv-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)
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsKeystoreUtil.c372 char filepath[BUFSIZ]; local
378 (void) snprintf(filepath, sizeof (filepath),
381 if ((rv = kms_read_config_data(filepath, &kmscfg)))
388 (void) snprintf(filepath, sizeof (filepath),
391 if (stat(filepath, &statp))
/opensolaris-onvv-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) ||
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/
H A DInstall.pm332 my($filepath,$libdir,$verbose,$nonono) = @_;
334 my $file = (File::Spec->splitpath($filepath))[2];
353 if ( -f $targetfile && -s _ == -s $filepath) {
355 $diff = compare($filepath,$targetfile);
H A DMM_Any.pm757 directory and filename in a filepath. ie. / on Unix, \ on Win32 and
/opensolaris-onvv-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;
/opensolaris-onvv-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,
/opensolaris-onvv-gate/usr/src/tools/onbld/hgext/
H A Dcdm.py104 return [(ws.filepath(e.name), e) for e in sorted(active)]
519 tfile = wslist[repo].filepath('.hgtags')
881 os.putenv('filepath', path)
893 $filepath - path from workspace root to active file.
914 appnd = ' $filepath'
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/
H A DChecker.pm26 $syntax_okay = podchecker($filepath, $outputpath, %options);
29 $checker->parse_from_file($filepath, \*STDERR);
33 C<$filepath> is the input POD to read and C<$outputpath> is
/opensolaris-onvv-gate/usr/src/tools/onbld/Scm/
H A DWorkSpace.py793 def filepath(self, path): member in class:WorkSpace
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/DynaLoader/
H A DDynaLoader_pm.PL382 # Special fast case: full filepath requires no search
707 $filepath = dl_expandspec($spec)

Completed in 288 milliseconds

12