Searched refs:access (Results 1 - 25 of 302) sorted by last modified time

1234567891011>>

/freebsd-9.3-release/contrib/tzcode/zic/
H A Dzic.c653 access(fromname, F_OK) == 0 &&
703 accres = access(myname, F_OK);
/freebsd-9.3-release/crypto/openssl/apps/
H A Dca.c785 * outdir is a directory spec, but access() for VMS demands a
788 * catch an error if there is no write access.
792 * to access(). However, time's too short to do that just now.
794 if (access(outdir, R_OK | W_OK | X_OK) != 0) {
795 BIO_printf(bio_err, "I am unable to access the %s directory\n",
/freebsd-9.3-release/etc/
H A DMakefile26 login.access \
156 ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \
/freebsd-9.3-release/usr.sbin/ntp/doc/
H A DMakefile10 FILES= access.html accopt.html assoc.html audio.html authentic.html \
/freebsd-9.3-release/contrib/ntp/sntp/libopts/compat/
H A Dpathfind.c82 * Make sure we can access it in the way we want
84 if (access(abs_name, mode_bits) >= 0) {
/freebsd-9.3-release/contrib/ntp/sntp/libopts/
H A Dtime.c99 if (access(envptr+8, R_OK) != 0)
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dfsaccess.c38 isc_fsaccess_add(int trustee, int permission, isc_fsaccess_t *access) { argument
43 *access |= permission;
46 *access |= (permission << GROUP);
49 *access |= (permission << OTHER);
53 isc_fsaccess_remove(int trustee, int permission, isc_fsaccess_t *access) { argument
59 *access &= ~permission;
62 *access &= ~(permission << GROUP);
65 *access &= ~(permission << OTHER);
69 check_bad_bits(isc_fsaccess_t access, isc_boolean_t is_dir) { argument
94 if ((access
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/
H A Dfsaccess.h24 * \brief The ISC filesystem access module encapsulates the setting of file
25 * and directory access permissions into one API that is meant to be
29 * are POSIX and Windows NT 4.0 and later. The Windows NT access model is
60 * unless the directory path disallows complete access somewhere along
93 * The Windows standard access right "DELETE" doesn't have a direct
117 * \li What NT access right controls the ability to rename a file?
128 * granting or denying access. Because this functionality is
168 isc_fsaccess_add(int trustee, int permission, isc_fsaccess_t *access);
171 isc_fsaccess_remove(int trustee, int permission, isc_fsaccess_t *access);
174 isc_fsaccess_set(const char *path, isc_fsaccess_t access);
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/unix/
H A Dfsaccess.c36 isc_fsaccess_set(const char *path, isc_fsaccess_t access) { argument
51 result = check_bad_bits(access, is_dir);
61 if ((access & bits) != 0) { \
63 access &= ~bits; \
87 INSIST(access == 0);
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dfsaccess.c21 * Note that Win32 does not have the concept of files having access
24 * different concept of controlling access.
26 * This code needs to be revisited to set up proper access control for
54 * In order to set or retrieve access information, we need to obtain
114 FAT_fsaccess_set(const char *path, isc_fsaccess_t access) { argument
124 if ((access & bits) != 0) { \
126 access &= ~bits; \
145 INSIST(access == 0);
154 NTFS_Access_Control(const char *filename, const char *user, int access, argument
197 caccess = access;
283 NTFS_fsaccess_set(const char *path, isc_fsaccess_t access, isc_boolean_t isdir) argument
299 isc_fsaccess_set(const char *path, isc_fsaccess_t access) argument
[all...]
H A Dunistd.h39 * access() related definitions for winXP
58 #define access _access macro
/freebsd-9.3-release/usr.sbin/pkg/
H A Dconfig.c525 if (access(path, F_OK) == 0 &&
582 if (access(confpath, F_OK) == 0 && read_conf_file(confpath,
H A Dpkg.c1020 if ((bootstrap_only && force) || access(pkgpath, X_OK) == -1) {
1041 if (access(pkgarg, R_OK) == -1) {
/freebsd-9.3-release/contrib/file/src/
H A Dmagic.c115 if (access(hmagicpath, R_OK) == -1)
136 if (tmppath && access(tmppath, R_OK) != -1) { \
227 if (access(file, W_OK) == 0)
230 if (access(file, X_OK) == 0)
309 * Try to restore access, modification times if read it.
/freebsd-9.3-release/bin/mv/
H A Dmv.c181 * Check access. If interactive and file exists, ask user if it
185 if (!fflg && !access(to, F_OK)) {
202 } else if (access(to, W_OK) && !stat(to, &sb) && isatty(STDIN_FILENO)) {
/freebsd-9.3-release/bin/pax/
H A Dfile_subs.c61 * and setting access modes, uid/gid and times of files
145 * then set file permission modes. Then set file access and
452 if (access(arcn->name, R_OK | W_OK | X_OK) < 0) {
454 syswarn(0, errno,"Could not access %s (stat)",
576 * required (do an access()).
608 if ((access(name, R_OK | W_OK | X_OK) < 0) &&
621 * Set the access time and modification time for a named file. If frc is
623 * request access and/or modification time preservation (this is also
624 * used by -t to reset access times).
688 * Set file access mod
[all...]
/freebsd-9.3-release/bin/rm/
H A Drm.c498 (!access(name, W_OK) &&
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c96 if (access(_libctf_zlib, R_OK) == -1)
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c1626 if (access(file, R_OK) == 0) {
/freebsd-9.3-release/cddl/compat/opensolaris/misc/
H A Dmkdirp.c88 if (access(str, F_OK) == 0)
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c731 if (0 != access(altdir, F_OK)) {
752 if (0 != access(zo->zo_alt_ztest, X_OK)) {
756 } else if (0 != access(zo->zo_alt_libpath, X_OK)) {
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfconvert.c210 if (access(infile, R_OK) != 0)
211 terminate("Can't access %s", infile);
H A Dctfmerge.c855 if (uniqfile && access(uniqfile, R_OK) != 0) {
860 if (withfile && access(withfile, R_OK) != 0) {
865 if (outfile && access(outfile, R_OK|W_OK) != 0)
/freebsd-9.3-release/lib/ncurses/ncurses/
H A DMakefile175 access.c \
/freebsd-9.3-release/lib/libfetch/
H A Dcommon.c703 access(LOCAL_CERT_FILE, R_OK) == 0)

Completed in 281 milliseconds

1234567891011>>