HomeSort by: relevance | last modified time | path
    Searched refs:pathbuf (Results 1 - 25 of 98) sorted by relevancy

1 2 3 4

  /src/external/bsd/openpam/dist/lib/libpam/
openpam_check_owner_perms.c 107 char pathbuf[PATH_MAX]; local
115 if (realpath(path, pathbuf) == NULL)
117 len = strlen(pathbuf);
119 if (stat(pathbuf, &sb) != 0) {
122 openpam_log(PAM_LOG_ERROR, "%s: %m", pathbuf);
129 "%s: not a regular file", pathbuf);
136 "%s: insecure ownership or permissions", pathbuf);
140 while (--len > 0 && pathbuf[len] != '/')
141 pathbuf[len] = '\0';
  /src/usr.bin/mail/
temp.c 54 char pathbuf[MAXPATHLEN]; local
90 if (getcwd(pathbuf, sizeof(pathbuf)) != NULL)
91 origdir = savestr(pathbuf);
  /src/external/mpl/bind/dist/bin/named/
geoip.c 38 char pathbuf[PATH_MAX]; local
42 n = snprintf(pathbuf, sizeof(pathbuf), "%s/%s", dir, dbfile);
43 if (n >= sizeof(pathbuf)) {
51 ret = MMDB_open(pathbuf, MMDB_MODE_MMAP, mmdb);
55 "opened GeoIP2 database '%s'", pathbuf);
62 pathbuf, ret);
  /src/sys/sys/
namei.h 59 * To call namei, first set up a pathbuf with pathbuf_create or
62 * pathbuf before you've finished using the nameidata, or mysterious
71 struct pathbuf;
73 struct pathbuf *pathbuf_create(const char *path);
74 struct pathbuf *pathbuf_assimilate(char *path);
75 int pathbuf_copyin(const char *userpath, struct pathbuf **ret);
76 void pathbuf_destroy(struct pathbuf *);
79 void pathbuf_copystring(const struct pathbuf *, char *buf, size_t maxlen);
82 const char *pathbuf_stringcopy_get(struct pathbuf *);
83 void pathbuf_stringcopy_put(struct pathbuf *, const char *)
    [all...]
namei.src 51 * To call namei, first set up a pathbuf with pathbuf_create or
54 * pathbuf before you've finished using the nameidata, or mysterious
63 struct pathbuf;
65 struct pathbuf *pathbuf_create(const char *path);
66 struct pathbuf *pathbuf_assimilate(char *path);
67 int pathbuf_copyin(const char *userpath, struct pathbuf **ret);
68 void pathbuf_destroy(struct pathbuf *);
71 void pathbuf_copystring(const struct pathbuf *, char *buf, size_t maxlen);
74 const char *pathbuf_stringcopy_get(struct pathbuf *);
75 void pathbuf_stringcopy_put(struct pathbuf *, const char *)
    [all...]
vfs_syscalls.h 62 struct pathbuf;
63 int do_open(struct lwp *, struct vnode *, struct pathbuf *, int, int, int *);
exec.h 100 struct pathbuf; /* from namei.h */
273 struct pathbuf *, char **);
315 struct pathbuf **, size_t *);
  /src/sys/compat/common/
vfs_syscalls_10.c 48 real_sys_openat_10(struct pathbuf **pb)
  /src/bin/ln/
ln.c 191 char pathbuf[PATH_MAX]; local
211 memcpy(pathbuf, ".", 2);
213 memcpy(pathbuf, path1, file1 - path1);
214 pathbuf[file1 - path1] = '\0';
216 if (stat(pathbuf, &sb1) != 0)
219 memcpy(pathbuf, ".", 2);
221 memcpy(pathbuf, path2, file2 - path2);
222 pathbuf[file2 - path2] = '\0';
224 if (stat(pathbuf, &sb2) != 0)
  /src/sys/stand/efiboot/
boot.c 155 bootcfg_path(char *pathbuf, size_t pathbuflen)
164 efi_file_path(efi_bootdp, BOOTCFG_FILENAME, pathbuf, pathbuflen))
165 snprintf(pathbuf, pathbuflen, "%s:%s", default_device,
397 char pathbuf[80]; local
414 if (bootcfg_path(pathbuf, sizeof(pathbuf)) == 0) {
415 command_printtab("Config path", "%s\n", pathbuf);
569 char pathbuf[80]; local
572 if (bootcfg_path(pathbuf, sizeof(pathbuf)) == 0)
    [all...]
  /src/external/mpl/bind/dist/fuzz/
dns_message_checksig.c 140 char pathbuf[PATH_MAX]; local
149 snprintf(pathbuf, sizeof(pathbuf), "%s/%s", wd, f1);
150 fd = fopen(pathbuf, "w");
152 fprintf(stderr, "fopen(%s) failed\n", pathbuf);
158 snprintf(pathbuf, sizeof(pathbuf), "%s/%s", wd, f2);
159 fd = fopen(pathbuf, "w");
161 fprintf(stderr, "fopen(%s) failed\n", pathbuf);
167 snprintf(pathbuf, sizeof(pathbuf), "%s/%s", wd, f3)
    [all...]
  /src/lib/libc/gen/
glob.c 589 Char pathbuf[MAXPATHLEN+1]; local
601 return glob2(pathbuf, pathbuf,
602 pathbuf + (sizeof(pathbuf) / sizeof(*pathbuf)) - 1, pattern,
612 glob2(Char *pathbuf, Char *pathend, Char *pathlim, const Char *pattern,
620 _DIAGASSERT(pathbuf != NULL);
626 qprintf("glob2", pathbuf);
635 if (g_lstat(pathbuf, &sb, pglob)
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
glob.c 498 Char pathbuf[MaxPathLen+1]; local
503 return(glob2(pathbuf, pathbuf, pattern, pglob, limit));
521 glob2(Char *pathbuf, Char *pathend, Char *pattern, glob_t *pglob,
535 if (g_lstat(pathbuf, &sb, pglob))
541 (g_stat(pathbuf, &sb, pglob) == 0) &&
547 return(globextend(pathbuf, pglob, limit));
565 return(glob3(pathbuf, pathend, pattern, p, pglob,
572 glob3(Char *pathbuf, Char *pathend, Char *pattern, Char *restpattern,
591 if ((dirp = g_opendir(pathbuf, pglob)) == NULL)
    [all...]
  /src/sbin/fsck_ext2fs/
pass2.c 95 char pathbuf[MAXPATHLEN + 1]; local
166 getpathname(pathbuf, sizeof(pathbuf), inp->i_number,
169 pathbuf, (u_long)inp->i_isize, sblock.e2fs_bsize);
232 char pathbuf[MAXPATHLEN + 1]; local
417 getpathname(pathbuf, sizeof(pathbuf),
422 pwarn("%s %s %s\n", pathbuf,
inode.c 174 char pathbuf[MAXPATHLEN + 1]; local
192 getpathname(pathbuf, sizeof(pathbuf),
195 pathbuf);
229 getpathname(pathbuf, sizeof(pathbuf),
232 pathbuf);
262 char pathbuf[MAXPATHLEN + 1]; local
312 getpathname(pathbuf, sizeof(pathbuf),
    [all...]
  /src/sbin/fsck_lfs/
inode.c 132 char pathbuf[MAXPATHLEN + 1]; local
165 getpathname(pathbuf, sizeof(pathbuf),
168 pathbuf, (long long)idesc->id_number);
205 getpathname(pathbuf, sizeof(pathbuf),
208 pathbuf, (long long)idesc->id_number);
238 char pathbuf[MAXPATHLEN + 1], buf[BUFSIZ]; local
301 getpathname(pathbuf, sizeof(pathbuf),
    [all...]
pass2.c 70 char pathbuf[MAXPATHLEN + 1]; local
149 getpathname(pathbuf, sizeof(pathbuf), inp->i_number,
152 pathbuf, (unsigned long) inp->i_isize, LFS_DIRBLKSIZ);
223 char pathbuf[MAXPATHLEN + 1]; local
427 getpathname(pathbuf, sizeof(pathbuf),
432 pwarn("%s %s %s\n", pathbuf,
  /src/sys/arch/evbppc/stand/wii/
sdmmc.c 170 char pathbuf[PATH_MAX]; local
173 snprintf(pathbuf, sizeof(pathbuf), "%s%c:%s",
175 full_path = pathbuf;
  /src/sys/dev/
dkvar.h 37 struct pathbuf; /* from namei.h */
  /src/sys/kern/
subr_emul.c 106 struct pathbuf *pb;
kern_ktrace_vfs.c 96 struct pathbuf *pb;
  /src/bin/ps/
ps.c 156 char pathbuf[MAXPATHLEN]; local
170 (void)snprintf(pathbuf,
171 sizeof(pathbuf), "%s%s", _PATH_DEV, ttname);
172 ttypath = pathbuf;
174 (void)snprintf(pathbuf,
175 sizeof(pathbuf), "%s%s", _PATH_TTY, ttname);
176 ttypath = pathbuf;
189 snprintf(pathbuf, sizeof(pathbuf), "pts/%d", ptsminor);
190 if (strcmp(pathbuf, ttname) == 0 && ptsminor >= 0
    [all...]
  /src/sbin/fsck_ffs/
pass2.c 76 char pathbuf[MAXPATHLEN + 1]; local
174 getpathname(pathbuf, sizeof(pathbuf), inp->i_number,
178 "DIRECTORY", pathbuf,
182 "DIRECTORY", pathbuf,
334 char pathbuf[MAXPATHLEN + 1]; local
596 getpathname(pathbuf, sizeof(pathbuf),
600 pwarn("%s %s %s\n", pathbuf,
  /src/external/cddl/osnet/dist/cmd/zlook/
zlook.c 273 char pathbuf[MAXPATHLEN]; local
278 (void) strlcpy(pathbuf, argv[optind], MAXPATHLEN);
279 result = pathconf(pathbuf, check);
280 (void) printf("pathconf(2) check for %s\n", pathbuf);
  /src/external/mpl/bind/dist/tests/dns/
geoip_test.c 71 char pathbuf[PATH_MAX]; local
74 snprintf(pathbuf, sizeof(pathbuf), "%s/%s", dir, dbfile);
75 ret = MMDB_open(pathbuf, MMDB_MODE_MMAP, mmdb);

Completed in 59 milliseconds

1 2 3 4