Home
last modified time | relevance | path

Searched refs:AT_FDCWD (Results 1 – 25 of 88) sorted by relevance

1234

/titanic_50/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c61 AT_FDCWD, path, sb, 0)); in s10_stat()
68 AT_FDCWD, path, sb, AT_SYMLINK_NOFOLLOW)); in s10_lstat()
92 AT_FDCWD, path, sb, 0)); in s10_stat64()
99 AT_FDCWD, path, sb, AT_SYMLINK_NOFOLLOW)); in s10_lstat64()
122 AT_FDCWD, path, oflag, mode)); in s10_open()
129 AT_FDCWD, path, O_WRONLY | O_CREAT | O_TRUNC, mode)); in s10_creat()
145 AT_FDCWD, path, oflag, mode)); in s10_open64()
152 AT_FDCWD, path, O_WRONLY | O_CREAT | O_TRUNC, mode)); in s10_creat64()
211 AT_FDCWD, name, mode, 0)); in s10_chmod()
233 AT_FDCWD, name, uid, gid, 0)); in s10_chown()
[all …]
/titanic_50/usr/src/lib/libc/port/sys/
H A Dlink.c56 return (linkat(AT_FDCWD, path1, AT_FDCWD, path2, in link()
62 return (linkat(AT_FDCWD, path1, AT_FDCWD, path2, 0)); in link()
H A Dstat.c49 return (fstatat64(AT_FDCWD, name, sb, 0)); in stat64()
60 return (fstatat64(AT_FDCWD, name, sb, AT_SYMLINK_NOFOLLOW)); in lstat64()
91 return (fstatat(AT_FDCWD, name, sb, 0)); in stat()
102 return (fstatat(AT_FDCWD, name, sb, AT_SYMLINK_NOFOLLOW)); in lstat()
H A Drename.c46 return (renameat(AT_FDCWD, oldname, AT_FDCWD, newname)); in rename()
H A Dunlink.c46 return (unlinkat(AT_FDCWD, name, 0)); in unlink()
57 return (unlinkat(AT_FDCWD, name, AT_REMOVEDIR)); in rmdir()
H A Dchown.c48 return (fchownat(AT_FDCWD, name, uid, gid, 0)); in chown()
59 return (fchownat(AT_FDCWD, name, uid, gid, AT_SYMLINK_NOFOLLOW)); in lchown()
/titanic_50/usr/src/lib/libbc/libc/sys/sys5/
H A Dexecve.c39 if (_syscall(SYS_faccessat, AT_FDCWD, file, F_OK, 0) == -1) { in execve()
48 if (_syscall(SYS_faccessat, AT_FDCWD, path, F_OK, 0) == 0) in execve()
54 if (_syscall(SYS_faccessat, AT_FDCWD, path, F_OK, 0) == 0) in execve()
59 if (_syscall(SYS_faccessat, AT_FDCWD, path, F_OK, 0) in execve()
H A Dlink.c32 return (_syscall(SYS_linkat, AT_FDCWD, a, AT_FDCWD, b, 0)); in link()
H A Drename.c48 return (_syscall(SYS_renameat, AT_FDCWD, path1, AT_FDCWD, path2)); in rename()
/titanic_50/usr/src/lib/libbc/libc/sys/4.2/
H A Dexecve.c41 if (_syscall(SYS_faccessat, AT_FDCWD, file, F_OK, 0) == -1) { in execve()
51 if (_syscall(SYS_faccessat, AT_FDCWD, path, F_OK, 0) == 0) in execve()
57 if (_syscall(SYS_faccessat, AT_FDCWD, path, F_OK, 0) == 0) in execve()
62 if (_syscall(SYS_faccessat, AT_FDCWD, path, F_OK, 0) in execve()
H A Dlink.c34 return (_syscall(SYS_linkat, AT_FDCWD, a, AT_FDCWD, b, 0)); in link()
H A Drename.c57 return (_syscall(SYS_renameat, AT_FDCWD, path1, AT_FDCWD, path2)); in rename()
/titanic_50/usr/src/lib/libbc/libc/sys/common/
H A D_creat.c47 if ((fd = _syscall(SYS_openat, AT_FDCWD, in creat_com()
54 if ((fd = _syscall(SYS_openat, AT_FDCWD, in creat_com()
59 return (_syscall(SYS_openat, AT_FDCWD, path, CREATFLAGS, mode)); in creat_com()
H A D_open.c105 return (_syscall(SYS_openat, AT_FDCWD, locbuf, nflags, mode)); in open_com()
115 if ((fd = _syscall(SYS_openat, AT_FDCWD, path, nflags, mode)) in open_com()
124 AT_FDCWD, "/var/adm/utmpx", nflags, mode); in open_com()
132 AT_FDCWD, "/var/adm/wtmpx", nflags, mode); in open_com()
138 return (_syscall(SYS_openat, AT_FDCWD, path, nflags, mode)); in open_com()
181 fd = _syscall(SYS_openat, AT_FDCWD, tmp_name, O_RDONLY); in open_mnt()
322 if ((fd = _syscall(SYS_openat, AT_FDCWD, file, oflag, 0666)) < 0) in _fopen()
361 tmp_file = _syscall(SYS_openat, AT_FDCWD, tmp_name, O_RDONLY); in open_printcap()
384 if ((config_fd = _syscall(SYS_openat, AT_FDCWD, fullPath, O_RDONLY)) in getPrinterInfo()
H A D_stat.c132 if ((ret = _syscall(SYS_fstatat, AT_FDCWD, in stat_com()
141 if ((ret = _syscall(SYS_fstatat, AT_FDCWD, in stat_com()
160 if ((ret = _syscall(SYS_fstatat, AT_FDCWD, path, &nb, follow)) != -1) in stat_com()
/titanic_50/usr/src/lib/libproc/common/
H A Dpr_rename.c47 adp->arg_value = AT_FDCWD; in pr_rename()
61 adp->arg_value = AT_FDCWD; in pr_rename()
98 adp->arg_value = AT_FDCWD; in pr_link()
112 adp->arg_value = AT_FDCWD; in pr_link()
156 adp->arg_value = AT_FDCWD; in pr_unlink()
H A Dpr_open.c49 adp->arg_value = AT_FDCWD; in pr_open()
100 adp->arg_value = AT_FDCWD; in pr_creat()
181 adp->arg_value = AT_FDCWD; in pr_access()
/titanic_50/usr/src/uts/common/syscall/
H A Dopen.c87 if (startfd == AT_FDCWD) { in copen()
132 if (startfd == AT_FDCWD) { in copen()
303 return (openat(AT_FDCWD, path, fmode, cmode)); in open()
319 return (openat64(AT_FDCWD, path, fmode, cmode)); in open64()
337 return (openat32(AT_FDCWD, path, fmode, cmode)); in open32()
H A Dstat.c79 if (fd == AT_FDCWD) { in cstatat_getvp()
142 if (fd == AT_FDCWD) \
179 return (fstatat(AT_FDCWD, name, sb, 0)); in stat()
185 return (fstatat(AT_FDCWD, name, sb, AT_SYMLINK_NOFOLLOW)); in lstat()
314 return (fstatat32(AT_FDCWD, name, sb, 0)); in stat32()
320 return (fstatat32(AT_FDCWD, name, sb, AT_SYMLINK_NOFOLLOW)); in lstat32()
441 return (fstatat64(AT_FDCWD, name, sb, 0)); in stat64()
447 return (fstatat64(AT_FDCWD, name, sb, AT_SYMLINK_NOFOLLOW)); in lstat64()
552 return (fstatat64_32(AT_FDCWD, name, sb, 0)); in stat64_32()
558 return (fstatat64_32(AT_FDCWD, name, sb, AT_SYMLINK_NOFOLLOW)); in lstat64_32()
H A Dunlink.c75 return (unlinkat(AT_FDCWD, name, 0)); in unlink()
81 return (unlinkat(AT_FDCWD, name, AT_REMOVEDIR)); in rmdir()
H A Drename.c79 return (renameat(AT_FDCWD, from, AT_FDCWD, to)); in rename()
H A Dlink.c84 return (linkat(AT_FDCWD, from, AT_FDCWD, to, 0)); in link()
H A Dchown.c85 return (fchownat(AT_FDCWD, path, uid, gid, 0)); in chown()
91 return (fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW)); in lchown()
/titanic_50/usr/src/cmd/backup/restore/
H A Dutilities.c136 if (fromfd != AT_FDCWD) (void) close(fromfd); in renameit()
137 if (tofd != AT_FDCWD) (void) close(tofd); in renameit()
155 if (dfd != AT_FDCWD) { in newnode()
176 if (dfd != AT_FDCWD) { in newnode()
201 if (dfd != AT_FDCWD) { in removenode()
220 if (dfd != AT_FDCWD) { in removenode()
250 if (dfd != AT_FDCWD) in removeleaf()
332 if (dfd != AT_FDCWD) { in lf_linkit()
776 fd = safe_open(AT_FDCWD, filename, bmode, perms);
1103 *fd = tfd = AT_FDCWD;
[all …]
/titanic_50/usr/src/cmd/sgs/rtld.4.x/
H A Drtldlib.s30 #define AT_FDCWD 0xffd19553 macro
88 mov %o2, %o3 ! openat(AT_FDCWD, path, oflag, mode)
91 sethi %hi(AT_FDCWD), %o0
92 or %o0, %lo(AT_FDCWD), %o0

1234