Home
last modified time | relevance | path

Searched refs:readonly (Results 1 – 25 of 67) sorted by relevance

123

/titanic_41/usr/src/uts/common/xen/sys/
H A Dgnttab.h89 int gnttab_grant_foreign_access(domid_t, gnttab_frame_t, int readonly);
96 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly);
104 void gnttab_end_foreign_access(grant_ref_t ref, int readonly,
136 gnttab_frame_t frame, int readonly);
/titanic_41/usr/src/cmd/zhack/
H A Dzhack.c124 import_pool(const char *target, boolean_t readonly) in import_pool() argument
135 kernel_init(readonly ? FREAD : (FREAD | FWRITE)); in import_pool()
141 g_readonly = readonly; in import_pool()
148 if (readonly && spa_open(target, &spa, FTAG) == 0) { in import_pool()
154 g_importargs.can_be_active = readonly; in import_pool()
181 if (readonly) { in import_pool()
199 zhack_spa_open(const char *target, boolean_t readonly, void *tag, spa_t **spa) in zhack_spa_open() argument
203 import_pool(target, readonly); in zhack_spa_open()
/titanic_41/usr/src/uts/common/xen/os/
H A Dgnttab.c255 gnttab_grant_foreign_access(domid_t domid, gnttab_frame_t frame, int readonly) in gnttab_grant_foreign_access() argument
267 shared[ref].flags = GTF_permit_access | (readonly ? GTF_readonly : 0); in gnttab_grant_foreign_access()
274 gnttab_frame_t frame, int readonly) in gnttab_grant_foreign_access_ref() argument
281 shared[ref].flags = GTF_permit_access | (readonly ? GTF_readonly : 0); in gnttab_grant_foreign_access_ref()
299 gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref() argument
317 gnttab_end_foreign_access(grant_ref_t ref, int readonly, gnttab_frame_t page) in gnttab_end_foreign_access() argument
321 if (gnttab_end_foreign_access_ref(ref, readonly)) { in gnttab_end_foreign_access()
/titanic_41/usr/src/lib/libsqlite/test/
H A Dtemptable.test352 catch {file attributes test.db -readonly 1}
355 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
363 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
368 } {1 {attempt to write a readonly database}}
382 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
388 } {1 {attempt to write a readonly database}}
H A Dversion.test182 catch {file attributes test.db -readonly 1}
184 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
188 } {1 {unable to upgrade database to the version 2.6 format: attempt to write a readonly database}}
H A Ddelete.test266 catch {file attributes test.db -readonly 1}
272 } {1 {attempt to write a readonly database}}
280 } {1 {attempt to write a readonly database}}
/titanic_41/usr/src/cmd/mailx/
H A Dlex.c178 readonly = 0; in setfile()
180 readonly = Passeren() == -1; in setfile()
186 if (!readonly) in setfile()
188 readonly++; in setfile()
557 if (readonly && com->c_argtype & W) { in execute()
919 if (readonly) in newfileinfo()
H A Dedit.c160 if (readonly) in edit1()
195 if (readonly) { in edit1()
H A Dinit.c125 int readonly; /* Will be unable to rewrite file */ variable
/titanic_41/usr/src/cmd/fs.d/cachefs/mount/
H A Dmount.c166 char *backfstypep, char *mynamep, int readonly);
201 int readonly; in main() local
244 readonly = 0; in main()
264 readonly = 1; in main()
340 if (readonly) { in main()
398 myname, readonly); in main()
1090 char *backfstypep, char *mynamep, int readonly) in dobackmnt() argument
1105 if (readonly) in dobackmnt()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_objset.h143 boolean_t readonly, void *tag, objset_t **osp);
145 dmu_objset_type_t type, boolean_t readonly, void *tag, objset_t **osp);
/titanic_41/usr/src/lib/libpkg/common/
H A Dpkgserv.c247 pkgopenserver_i(const char *root, const char *sadmdir, boolean_t readonly, in pkgopenserver_i() argument
270 if (readonly) { in pkgopenserver_i()
291 server->onetime = readonly; in pkgopenserver_i()
328 if (readonly) { in pkgopenserver_i()
382 if (readonly) in pkgopenserver_i()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Docfile.c375 boolean_t readonly = B_FALSE; in socfile() local
394 readonly = B_TRUE; in socfile()
397 newserver = pkgopenserver(NULL, pkgadm_dir, readonly); in socfile()
/titanic_41/usr/src/cmd/ast/msgcc/
H A Dmsgcc.tst20 NOTE 'ignore readonly redefinitions'
/titanic_41/usr/src/lib/libshell/common/data/
H A Dbuiltins.c67 "export", NV_BLTIN|BLT_ENV|BLT_SPC|BLT_DCL,bltin(readonly),
83 "readonly", NV_BLTIN|BLT_ENV|BLT_SPC|BLT_DCL,bltin(readonly),
/titanic_41/usr/src/cmd/hal/hald/
H A Dproperty.c49 gboolean readonly; member
346 prop->readonly = val; in hal_property_set_attribute()
365 return prop->readonly; in hal_property_get_attribute()
/titanic_41/usr/src/lib/libelfsign/common/
H A Delfcertlib.c689 boolean_t readonly; in elfcertlib_settoken() local
693 readonly = B_TRUE; in elfcertlib_settoken()
701 KMF_READONLY_ATTR, &readonly, sizeof (readonly)); in elfcertlib_settoken()
/titanic_41/usr/src/cmd/mailx/hdr/
H A Dglob.h110 extern int readonly; /* Will be unable to rewrite file */
/titanic_41/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.h56 char *domain, bool_t readonly, int *statP);
/titanic_41/usr/src/cmd/sh/
H A Dmsg.c189 const char readonly[] = "readonly"; variable
/titanic_41/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c388 boolean_t readonly; in fs_is_readonly() local
400 readonly = stvfs.f_flag & ST_RDONLY; in fs_is_readonly()
406 return (readonly); in fs_is_readonly()
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_get/
H A Dzpool_get.cfg34 "free" "allocated" "readonly" "comment" "expandsize" "freeing" "failmode"
/titanic_41/usr/src/lib/libpp/common/
H A Dpp.tab83 readonly
174 READONLY # mark macro definitions readonly
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Dpk11tokens.c502 kmf_select_token(KMF_HANDLE_T handle, char *label, int readonly) in kmf_select_token() argument
535 if (!readonly) in kmf_select_token()
/titanic_41/usr/src/cmd/cmd-crypto/elfsign/
H A Delfsign.c766 boolean_t readonly; in create_csr() local
778 readonly = B_FALSE; in create_csr()
787 KMF_READONLY_ATTR, &readonly, sizeof (readonly)); in create_csr()

123