/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | opendir.c | 54 if ((fd = openat(AT_FDCWD, filename,
|
H A D | _xftw.c | 83 * during the call to openat(), therefore if the depth argument 84 * is less than 2 _xftw will not use openat(), and it will fail with 271 * depth arg >= 2, use openat() to make sure that it doesn't fail with 284 * Traverse the path using openat() to get the fd for 292 if ((fd = openat(AT_FDCWD, dirp, O_RDONLY)) < 0) { 298 if ((cfd = openat(fd, token, O_RDONLY)) < 0) { 319 * use openat() to make sure that it doesn't fail with ENAMETOOLONG. 333 /* Traverse path using openat() to get fd for fstatat(). */ 339 if ((fd = openat(AT_FDCWD, dirp, O_RDONLY)) < 0) { 347 if ((cfd = openat(f [all...] |
H A D | attropen.c | 96 if ((attrfd = openat(fd, attr, oflag | O_XATTR,
|
H A D | attrat.c | 167 xattrfd = openat(basefd, xattrname, oflag);
|
H A D | nftw.c | 91 * descriptors to be open during the call to openat(), therefore if 92 * the depth argument is less than 2 nftw will not use openat(), and 555 * requires a depth arg >= 2 so that nocdopendir() can use openat() 701 if ((fd = openat(AT_FDCWD, dirp, O_RDONLY)) < 0) { 707 if ((cfd = openat(fd, token, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/head/ |
H A D | fcntl.h | 85 #pragma redefine_extname openat openat64 97 #define openat openat64 macro 113 #pragma redefine_extname openat64 openat 125 #define openat64 openat 140 extern int openat(int, const char *, int, ...);
|
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | process_xattrs.c | 104 if ((indfd = openat(srcfd, ".", O_RDONLY|O_XATTR)) == -1) { 105 etext = dgettext(TEXT_DOMAIN, "cannot openat source"); 129 if ((sattrfd = openat(indfd, dp->d_name, 140 if ((tattrfd = openat(outdfd, dp->d_name,
|
/illumos-gate/usr/src/man/man2/ |
H A D | Makefile | 218 openat.2 \ 351 openat.2 := LINKSRC = open.2
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | open.c | 55 * Common code for openat(). Check permissions, allocate an open 94 * We're here via openat() 295 openat(int fd, char *path, int fmode, int cmode) function 303 return (openat(AT_FDCWD, path, fmode, cmode));
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mktree/ |
H A D | mktree.c | 177 if ((afd = openat(fd, "xattr", O_CREAT | O_RDWR | O_XATTR, 0777)) < 0) { 178 (void) fprintf(stderr, "openat failed.\n[%d]: %s.\n",
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 199 * to determine the target of relative file paths in the openat() and 323 int openat(int, const char *, int, ...);
|
/illumos-gate/usr/src/cmd/mv/ |
H A D | mv.c | 2030 if ((sourcedirfd = openat(srcfd, ".", O_RDONLY|O_XATTR)) == -1) { 2061 if ((targetdirfd = openat(targfd, ".", O_RDONLY|O_XATTR)) == -1) { 2141 if ((srcattrfd = openat(sourcedirfd, dp->d_name, 2167 if ((targattrfd = openat(targetdirfd, dp->d_name, 2180 if ((targattrfd = openat(targetdirfd, dp->d_name,
|
/illumos-gate/usr/src/cmd/sgs/rtld.4.x/ |
H A D | rtldlib.s | 88 mov %o2, %o3 ! openat(AT_FDCWD, path, oflag, mode)
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | external.c | 649 openat(int fd, const char *path, int oflag, ...) function
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 353 fd = openat(dvp->v_fd, name, omode, 0); 423 fd = openat(dvp->v_fd, name, omode, mode); 554 if ((fd = openat(dvp->v_fd, name, O_RDONLY)) == -1)
|
/illumos-gate/usr/src/cmd/rm/ |
H A D | rm.c | 248 while ((fd = openat(dirfd, entry, O_RDONLY|O_NONBLOCK)) == -1 &&
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | log.c | 674 if ((logfd = openat(dirfd, STARTD_DEFAULT_LOG,
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 64 #pragma weak _openat = openat 822 openat(int fd, const char *path, int oflag, ...) function
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | utilities.c | 603 if ((fd = openat(dfd, filename, 624 if ((fd = openat(dfd, filename, working_mode)) < 0) {
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgserv.c | 129 fd = openat(dir, PKGDOOR, O_RDWR);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sysent.c | 109 int openat(int, char *, int, int); 521 /* 68 */ SYSENT_CI("openat", openat, 4), 892 /* 68 */ SYSENT_CI("openat", openat32, 4),
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 548 * such as openat, fchownat(), unlinkat()... 559 * fd = openat(dfd, <name>,....); 3266 if ((Ifile = openat(G_p->g_dirfd, get_component(namep), 0)) < 0) { 3955 if ((dirfd = openat(cwd, (pattr == NULL) ? fullname : pattr, 3997 ofilefd = openat(pdirfd, name, oflag, mode); 5673 if ((result = openat(dirfd, get_component(nam_p), 8434 filefd = openat(Gen.g_dirfd, dp->d_name, O_RDONLY); 8720 return (openat(G_p->g_dirfd, G_p->g_attrnam_p, omode)); 8722 return (openat(G_p->g_dirfd, 8730 return (openat(G_ 9691 openat(int fd, char *name, int oflag, mode_t cmode) function [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_mount.c | 206 if ((dirfd = openat(AT_FDCWD, dirname,
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 107 static int openat(); 238 * such as openat, fchownat(), unlinkat()... 249 * fd = openat(dfd, <name>,....); 2311 if ((infile = openat(dirfd, shortname, 0)) < 0) { 3473 ofile = openat(dirfd, comp, O_RDWR|O_CREAT|O_TRUNC, 8440 if ((dirfd = openat(cwd, (pattr == NULL) ? dirp : pattr, 8483 ofilefd = openat(pdirfd, name, oflag, mode); 8533 openat(int fd, const char *name, int oflag, mode_t cmode) function
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | dfs.c | 1201 xfd = openat(dfd, DFS_ROOT_XATTR, oflag | O_XATTR, 0600);
|