Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/uts/common/xen/sys/
H A Dgnttab.h87 int gnttab_grant_foreign_access(domid_t, gnttab_frame_t, int readonly);
94 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly);
102 void gnttab_end_foreign_access(grant_ref_t ref, int readonly,
134 gnttab_frame_t frame, int readonly);
/illumos-gate/usr/src/cmd/zhack/
H A Dzhack.c123 zhack_import(char *target, boolean_t readonly) in zhack_import() argument
129 kernel_init(readonly ? FREAD : (FREAD | FWRITE)); in zhack_import()
133 g_readonly = readonly; in zhack_import()
134 g_importargs.can_be_active = readonly; in zhack_import()
143 if (readonly) { in zhack_import()
151 (readonly ? ZFS_IMPORT_SKIP_MMP : ZFS_IMPORT_NORMAL)); in zhack_import()
162 zhack_spa_open(char *target, boolean_t readonly, void *tag, spa_t **spa) in zhack_spa_open() argument
166 zhack_import(target, readonly); in zhack_spa_open()
/illumos-gate/usr/src/uts/common/xen/os/
H A Dgnttab.c253 gnttab_grant_foreign_access(domid_t domid, gnttab_frame_t frame, int readonly) in gnttab_grant_foreign_access() argument
265 shared[ref].flags = GTF_permit_access | (readonly ? GTF_readonly : 0); in gnttab_grant_foreign_access()
272 gnttab_frame_t frame, int readonly) in gnttab_grant_foreign_access_ref() argument
279 shared[ref].flags = GTF_permit_access | (readonly ? GTF_readonly : 0); in gnttab_grant_foreign_access_ref()
297 gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref() argument
315 gnttab_end_foreign_access(grant_ref_t ref, int readonly, gnttab_frame_t page) in gnttab_end_foreign_access() argument
319 if (gnttab_end_foreign_access_ref(ref, readonly)) { in gnttab_end_foreign_access()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dmake.probe87 #endif' > readonly.$src
160 readonly=
1615 if $cc -o readonly.$exe $co $1 readonly.$src && $executable readonly.$exe
1618 else readonly=$1
1624 rm -f readonly.$exe readonly.s
1625 if $cc -S readonly.$src && test -f readonly.s
1632 readonly.s > ro.s && $cc -o readonly.$exe ro.s && $executable readonly.$exe
1639 rm -f readonly.$exe
1646 readonly.s > ro.s && $cc -o readonly.$exe ro.s && $executable readonly.$exe
1654 readonly.s > ro.s && $cc -o readonly.$exe ro.s && $executable readonly.$exe
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Dlex.c177 readonly = 0; in setfile()
179 readonly = Passeren() == -1; in setfile()
185 if (!readonly) in setfile()
187 readonly++; in setfile()
556 if (readonly && com->c_argtype & W) { in execute()
908 if (readonly) in newfileinfo()
H A Dedit.c158 if (readonly) in edit1()
193 if (readonly) { in edit1()
H A Dinit.c123 int readonly; /* Will be unable to rewrite file */ variable
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dtemptable.test350 catch {file attributes test.db -readonly 1}
353 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
361 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
366 } {1 {attempt to write a readonly database}}
380 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
386 } {1 {attempt to write a readonly database}}
H A Dversion.test180 catch {file attributes test.db -readonly 1}
182 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
186 } {1 {unable to upgrade database to the version 2.6 format: attempt to write a readonly database}}
H A Ddelete.test264 catch {file attributes test.db -readonly 1}
270 } {1 {attempt to write a readonly database}}
278 } {1 {attempt to write a readonly database}}
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c251 pkgopenserver_i(const char *root, const char *sadmdir, boolean_t readonly, in pkgopenserver_i() argument
274 if (readonly) { in pkgopenserver_i()
295 server->onetime = readonly; in pkgopenserver_i()
332 if (readonly) { in pkgopenserver_i()
386 if (readonly) in pkgopenserver_i()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Docfile.c377 boolean_t readonly = B_FALSE; in socfile() local
396 readonly = B_TRUE; in socfile()
399 newserver = pkgopenserver(NULL, pkgadm_dir, readonly); in socfile()
/illumos-gate/usr/src/contrib/ast/src/cmd/msgcc/
H A Dmsgcc.tst20 NOTE 'ignore readonly redefinitions'
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_objset.h208 boolean_t readonly, boolean_t decrypt, void *tag, objset_t **osp);
210 dmu_objset_type_t type, boolean_t readonly, boolean_t decrypt,
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/data/
H A Dbuiltins.c72 "export", NV_BLTIN|BLT_ENV|BLT_SPC|BLT_DCL,bltin(readonly),
88 "readonly", NV_BLTIN|BLT_ENV|BLT_SPC|BLT_DCL,bltin(readonly),
/illumos-gate/usr/src/test/zfs-tests/include/
H A Dproperties.shlib97 typeset -a binary_props=('atime' 'devices' 'exec' 'nbmand' 'readonly' 'setuid'
130 toggle_prop $ds readonly
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c420 boolean_t readonly = B_FALSE; in zfs_register_callbacks() local
447 readonly = B_TRUE; in zfs_register_callbacks()
450 readonly = B_FALSE; in zfs_register_callbacks()
561 readonly_changed_cb(zfsvfs, readonly); in zfs_register_callbacks()
1181 boolean_t ro = (readonly || (strchr(osname, '@') != NULL)); in zfsvfs_create()
1249 boolean_t readonly; in zfsvfs_setup() local
1255 readonly = zfsvfs->z_vfs->vfs_flag & VFS_RDONLY; in zfsvfs_setup()
1256 if (readonly != 0) { in zfsvfs_setup()
1301 if (readonly != 0) in zfsvfs_setup()
1374 boolean_t readonly = vfsp->vfs_flag & VFS_RDONLY ? B_TRUE : B_FALSE; in zfs_domount() local
[all …]
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Dglob.h110 extern int readonly; /* Will be unable to rewrite file */
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.h56 char *domain, bool_t readonly, int *statP);
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c386 boolean_t readonly; in fs_is_readonly() local
398 readonly = stvfs.f_flag & ST_RDONLY; in fs_is_readonly()
404 return (readonly); in fs_is_readonly()
/illumos-gate/usr/src/cmd/sh/
H A Dmsg.c187 const char readonly[] = "readonly"; variable
/illumos-gate/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()
/illumos-gate/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()

123