Searched refs:pathname (Results 1 - 10 of 10) sorted by relevance

/seL4-refos-master/libs/libmuslc/src/linux/
H A Dfanotify.c10 int dfd, const char *pathname)
12 return syscall(SYS_fanotify_mark, fanotify_fd, flags, __SYSCALL_LL_E(mask), dfd, pathname);
9 fanotify_mark(int fanotify_fd, unsigned flags, unsigned long long mask, int dfd, const char *pathname) argument
H A Dinotify.c18 int inotify_add_watch(int fd, const char *pathname, uint32_t mask) argument
20 return syscall(SYS_inotify_add_watch, fd, pathname, mask);
/seL4-refos-master/libs/libmuslc/src/stat/
H A Dfutimesat.c8 int __futimesat(int dirfd, const char *pathname, const struct timeval times[2]) argument
20 return utimensat(dirfd, pathname, times ? ts : 0, 0);
/seL4-refos-master/libs/libmuslc/src/time/
H A D__map_file.c8 const char unsigned *__map_file(const char *pathname, size_t *size) argument
12 int fd = __sys_open(pathname, O_RDONLY|O_CLOEXEC|O_NONBLOCK);
H A D__tz.c120 char buf[NAME_MAX+25], *pathname=buf+24; local
148 /* Non-suid can use an absolute tzfile pathname or a relative
159 memcpy(pathname, s, l+1);
160 pathname[l] = 0;
163 memcpy(pathname-l, try, l);
164 map = __map_file(pathname-l, &map_size);
/seL4-refos-master/libs/libsel4muslcsys/src/
H A Dsys_io.c178 static long sys_open_impl(const char *pathname, int flags, mode_t mode) argument
184 ZF_LOGE("Open only supports O_RDONLY, not 0x%x on %s\n", flags, pathname);
192 file = cpio_get_file_impl(cpio_archive_symbol, cpio_archive_len, pathname, &size);
193 if (!file && strncmp(pathname, "./", 2) == 0) {
194 file = cpio_get_file_impl(cpio_archive_symbol, cpio_archive_len, pathname + 2, &size);
198 ZF_LOGE("Failed to open file %s\n", pathname);
224 const char *pathname = va_arg(ap, const char *); local
228 return sys_open_impl(pathname, flags, mode);
234 const char *pathname = va_arg(ap, const char *); local
243 return sys_open_impl(pathname, flag
526 const char *pathname = va_arg(ap, const char *); local
[all...]
/seL4-refos-master/projects/seL4_libs/libsel4muslcsys/src/
H A Dsys_io.c178 static long sys_open_impl(const char *pathname, int flags, mode_t mode) argument
184 ZF_LOGE("Open only supports O_RDONLY, not 0x%x on %s\n", flags, pathname);
192 file = cpio_get_file_impl(cpio_archive_symbol, cpio_archive_len, pathname, &size);
193 if (!file && strncmp(pathname, "./", 2) == 0) {
194 file = cpio_get_file_impl(cpio_archive_symbol, cpio_archive_len, pathname + 2, &size);
198 ZF_LOGE("Failed to open file %s\n", pathname);
224 const char *pathname = va_arg(ap, const char *); local
228 return sys_open_impl(pathname, flags, mode);
234 const char *pathname = va_arg(ap, const char *); local
243 return sys_open_impl(pathname, flag
526 const char *pathname = va_arg(ap, const char *); local
[all...]
/seL4-refos-master/libs/librefossys/src/
H A Dsys_io.c254 char *pathname = va_arg(ap, char*); local
262 snprintf(tempBufferPath, REFOS_SYSIO_MAX_PATHLEN, "%s%s", getenv("PWD"), pathname);
263 pathname = tempBufferPath;
267 fd = filetable_dspace_open(&refosIOState.fdTable, pathname, flags, 0, 0x1000);
/seL4-refos-master/projects/refos/impl/libs/librefossys/src/
H A Dsys_io.c254 char *pathname = va_arg(ap, char*); local
262 snprintf(tempBufferPath, REFOS_SYSIO_MAX_PATHLEN, "%s%s", getenv("PWD"), pathname);
263 pathname = tempBufferPath;
267 fd = filetable_dspace_open(&refosIOState.fdTable, pathname, flags, 0, 0x1000);
/seL4-refos-master/libs/libmuslc/ldso/
H A Ddynlink.c768 * pathname is under the control of the caller of execve.
770 * since the library's pathname came from a trusted source
892 const char *pathname; local
942 pathname = name;
996 pathname = buf;
1006 * pathname but a search found the same inode,
1008 if (!p->shortname && pathname != name)
1024 alloc_size = sizeof *p + strlen(pathname) + 1;
1044 strcpy(p->name, pathname);
1045 /* Add a shortname only if name arg was not an explicit pathname
[all...]

Completed in 179 milliseconds