OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:R_OK
(Results
1 - 25
of
37
) sorted by relevancy
1
2
/src/lib/libc/gen/
extattr.c
314
if ((mode & (
R_OK
|W_OK)) && getuid() != 0)
331
if (extattr_namespace_access(*ns,
R_OK
|W_OK) != 0)
348
if (extattr_namespace_access(*ns,
R_OK
|W_OK) != 0)
365
if (extattr_namespace_access(*ns,
R_OK
|W_OK) != 0)
/src/usr.sbin/sliplogin/
sliplogin.c
150
if (access(loginfile,
R_OK
|X_OK) != 0) {
152
if (access(loginfile,
R_OK
|X_OK)) {
191
if (access(logoutfile,
R_OK
|X_OK) != 0)
193
if (access(logoutfile,
R_OK
|X_OK) == 0) {
/src/sys/sys/
unistd.h
175
#define
R_OK
0x04 /* test for read permission */
/src/usr.bin/last/
last.c
231
if (access(_PATH_WTMPX,
R_OK
) == 0)
236
if (access(_PATH_WTMP,
R_OK
) == 0)
/src/usr.bin/qsubst/
qsubst.c
552
if ((access(av[1],
R_OK
| W_OK) == 0) &&
553
(access(av[ac - 1],
R_OK
| W_OK) < 0) &&
554
(access(av[ac - 2],
R_OK
| W_OK) < 0)) {
/src/sys/arch/x68k/stand/newdisk/
newdisk.c
109
if (access(mboot,
R_OK
) < 0)
/src/tests/lib/libc/sys/
t_access.c
46
static const int mode[4] = {
R_OK
, W_OK, X_OK, F_OK };
/src/libexec/utmp_update/
utmp_update.c
146
if (access(tty, W_OK|
R_OK
) == -1)
/src/usr.bin/tip/
remote.c
93
(host[0] == '/' && access(DV = host,
R_OK
| W_OK) == 0)) {
/src/bin/ksh/
io.c
328
&& (((mode &
R_OK
) && fl != O_RDONLY)
404
int fd = (mode &
R_OK
) ? coproc.read : coproc.write;
c_sh.c
197
file = search(cp, path,
R_OK
, &err);
266
if ((fd = coproc_getfd(
R_OK
, &emsg)) < 0) {
281
else if ((fd = check_fd(cp,
R_OK
, &emsg)) < 0) {
sh.h
35
# define
R_OK
4
exec.c
922
tp->u.fpath = search(name, fpath,
R_OK
,
975
&& (npath = search(name, fpath,
R_OK
,
1047
int mode; /*
R_OK
or X_OK */
1177
X_OK | ((iop->flag & IORDUP) ?
R_OK
: W_OK),
c_test.c
251
return test_eaccess(opnd1,
R_OK
) == 0;
/src/sys/arch/x68k/stand/installboot/
installboot.c
80
if (access(name,
R_OK
) < 0)
/src/tests/lib/libutil/
t_pidfile.c
96
if (access(path,
R_OK
) != -1) {
/src/usr.bin/sort/
sort.c
282
} else if ((ch = access(argv[i],
R_OK
)))
/src/usr.sbin/powerd/
powerd.c
189
if (access(path,
R_OK
|X_OK) == 0) {
/src/usr.sbin/sysinst/arch/i386/
md.c
188
rval = access(bootxx,
R_OK
);
370
if (access(src,
R_OK
) != 0)
/src/bin/pax/
file_subs.c
613
if (access(nm,
R_OK
| W_OK | X_OK) < 0) {
783
if ((access(name,
R_OK
| W_OK | X_OK) < 0) &&
/src/lib/libc/time/
private.h
265
# include <unistd.h> /* for
R_OK
, and other POSIX goodness */
329
#ifndef
R_OK
330
# define
R_OK
4
331
#endif /* !defined
R_OK
*/
/src/usr.bin/cksum/
cksum.c
426
if (access(filename,
R_OK
) == 0
/src/usr.sbin/sysinst/
target.c
453
if (access(realfrom,
R_OK
) == -1 && optional)
/src/games/wump/
wump.c
758
if (access(_PATH_WUMPINFO,
R_OK
)) {
/src/usr.sbin/apmd/
apmd.c
533
if (access(file, X_OK|
R_OK
)) {
Completed in 26 milliseconds
1
2
Indexes created Tue Oct 28 09:09:52 GMT 2025