Searched refs:readonly (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-9.3-release/contrib/ntp/sntp/
H A Dkod_management.h15 void kod_init_kod_db(const char *db_file, int readonly);
H A Dkod_management.c181 int readonly
299 if (!readonly && write_kod_db())
/freebsd-9.3-release/usr.bin/mail/
H A Dedit.c104 fp = run_editor(setinput(mp), mp->m_size, type, readonly);
136 run_editor(FILE *fp, off_t size, int type, int readonly) argument
151 if (readonly && fchmod(t, 0400) == -1) {
191 if (readonly) {
H A Dglob.h45 int readonly; /* Will be unable to rewrite file */ variable
H A Dlex.c115 readonly = 0;
117 readonly++;
352 if (readonly && com->c_argtype & W) {
662 if (readonly)
H A Dquit.c82 if (readonly)
396 if (readonly)
/freebsd-9.3-release/sys/geom/
H A Dgeom_map.c60 uint8_t readonly[MAP_MAXSLICE]; member in struct:g_map_softc
75 if (dwrite > 0 && sc->readonly[pp->index])
207 int readonly, ret; local
260 /* variable readonly optional, disable write access */
261 if (resource_int_value("map", i, "readonly", &readonly) != 0)
262 readonly = 0;
333 sc->readonly[i] = readonly ? 1 : 0;
H A Dgeom_redboot.c74 uint8_t readonly[REDBOOT_MAXSLICE]; member in struct:g_redboot_softc
102 if (dwrite > 0 && sc->readonly[pp->index])
312 sc->readonly[i] = (strcmp(fd->name, FISDIR_NAME) == 0) ||
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/common/zfs/
H A Dzfeature_common.c130 const char *desc, boolean_t readonly, boolean_t mos,
138 ASSERT(!readonly || !mos);
149 feature->fi_can_readonly = readonly;
129 zfeature_register(spa_feature_t fid, const char *guid, const char *name, const char *desc, boolean_t readonly, boolean_t mos, boolean_t activate_on_enable, const spa_feature_t *deps) argument
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zhack/
H A Dzhack.c125 import_pool(const char *target, boolean_t readonly) argument
136 kernel_init(readonly ? FREAD : (FREAD | FWRITE));
142 g_readonly = readonly;
145 * If we only want readonly access, it's OK if we find
149 if (readonly && spa_open(target, &spa, FTAG) == 0) {
155 g_importargs.can_be_active = readonly;
182 if (readonly) {
200 zhack_spa_open(const char *target, boolean_t readonly, void *tag, spa_t **spa) argument
204 import_pool(target, readonly);
/freebsd-9.3-release/libexec/ftpd/
H A Dextern.h97 extern int readonly;
/freebsd-9.3-release/crypto/openssl/fips/
H A Dfips_premain.c57 "LIB$INITIALIZ"} readonly _align(LONGWORD)
61 "LIB$INITIALIZE"} readonly _align(LONGWORD)
/freebsd-9.3-release/contrib/nvi/common/
H A Dmain.c66 int ch, flagchk, lflag, secure, startup, readonly, rval, silent; local
93 readonly = 0;
97 /* Nview, view are readonly. */
100 readonly = 1;
177 readonly = 1;
269 if (readonly)
H A Dexf.c141 int fd, exists, open_err, readonly; local
144 open_err = readonly = 0;
336 * message, let alone make the file readonly. At some future time,
347 readonly = 1;
356 * Historically, the readonly edit option was set per edit buffer in
360 * So, the persistant readonly state has to be stored in the screen
362 * the edit buffer. If the persistant readonly flag is set, set the
363 * readonly edit option.
365 * Otherwise, try and figure out if a file is readonly. This is a
369 * mounted readonly (acces
[all...]
/freebsd-9.3-release/sys/dev/ata/
H A Datapi-tape.h48 u_int8_t readonly :1; /* read Only Mode */ member in struct:ast_cappage
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddmu_objset.h138 boolean_t readonly, void *tag, objset_t **osp);
/freebsd-9.3-release/sys/xen/
H A Dgnttab.c132 gnttab_grant_foreign_access(domid_t domid, unsigned long frame, int readonly, argument
145 shared[ref].flags = GTF_permit_access | (readonly ? GTF_readonly : 0);
155 unsigned long frame, int readonly)
161 shared[ref].flags = GTF_permit_access | (readonly ? GTF_readonly : 0);
154 gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, unsigned long frame, int readonly) argument
/freebsd-9.3-release/sys/geom/eli/
H A Dg_eli_ctl.c60 int *nargs, *detach, *readonly; local
82 readonly = gctl_get_paraml(req, "readonly", sizeof(*readonly));
83 if (readonly == NULL) {
84 gctl_error(req, "No '%s' argument.", "readonly");
133 if (*detach && *readonly) {
140 if (*readonly)
/freebsd-9.3-release/crypto/openssh/
H A Dsshconnect.c823 * is not valid. user_hostfile[0] will not be updated if 'readonly' is true.
830 Key *host_key, int readonly,
930 if (readonly || want_cert)
964 if (readonly || want_cert)
1078 if (readonly == ROQUIET)
829 check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port, Key *host_key, int readonly, char **user_hostfiles, u_int num_user_hostfiles, char **system_hostfiles, u_int num_system_hostfiles) argument
H A Dsftp-server.c78 static int readonly; variable
123 int does_write; /* if nonzero, banned for readonly mode */
127 /* NB. SSH2_FXP_OPEN does the readonly check in the handler itself */
165 if (readonly && h->does_write) {
680 if (readonly &&
1472 readonly = 1;
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vfsops.c393 boolean_t readonly = B_FALSE; local
429 readonly = B_TRUE;
432 readonly = B_FALSE;
532 readonly_changed_cb(zfsvfs, readonly);
877 * We claim to always be readonly so we can open snapshots;
1031 boolean_t readonly; local
1037 readonly = zfsvfs->z_vfs->vfs_flag & VFS_RDONLY;
1038 if (readonly != 0)
1048 * doesn't use readonly mounts, where
1080 zfsvfs->z_vfs->vfs_flag |= readonly; /* restor
[all...]
H A Dzvol.c129 uint8_t zv_flags; /* readonly, dumpified, etc. */
663 uint64_t readonly; local
687 VERIFY(dsl_prop_get_integer(zv->zv_name, "readonly", &readonly,
689 if (readonly || dmu_objset_is_snapshot(os) ||
826 uint64_t readonly; local
840 VERIFY(dsl_prop_get_integer(name, "readonly", &readonly,
842 if (readonly) {
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DMemoryBuffer.cpp201 : MFR(FD, false, sys::fs::mapped_file_region::readonly,
/freebsd-9.3-release/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c1960 int error = 0, haslock = 0, ret, readonly = 0, getfhret = 0; local
1963 readonly = 1;
2166 if ((readonly && stp->ls_clp != clp &&
2168 (!readonly && (stp->ls_clp != clp ||
2212 int readonly = 0, cbret = 1, getfhret = 0; local
2215 readonly = 1;
2458 if ((readonly && stp->ls_clp != clp &&
2460 (!readonly && (stp->ls_clp != clp ||
2706 (nfsrv_writedelegifpos || !readonly) &&
2760 (writedeleg || readonly)
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DFileSystem.h686 readonly, ///< May only access map via const_data as read only. enumerator in enum:llvm::sys::fs::mapped_file_region::mapmode

Completed in 262 milliseconds

12