summaryrefslogtreecommitdiff
path: root/db/os
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-05-11 04:01:04 +0000
committerjbj <devnull@localhost>2001-05-11 04:01:04 +0000
commitc7ee57336766b4411f3aeaaa78dd3778cfea3244 (patch)
tree628669756123446e12df3962c0d77db02551521f /db/os
parentdda243d6621372bf8c10bc04643e730d9e388091 (diff)
downloadlibrpm-tizen-c7ee57336766b4411f3aeaaa78dd3778cfea3244.tar.gz
librpm-tizen-c7ee57336766b4411f3aeaaa78dd3778cfea3244.tar.bz2
librpm-tizen-c7ee57336766b4411f3aeaaa78dd3778cfea3244.zip
- rpm database has rpm.rpm g+w permissions to share db3 mutexes.
- expose more db3 macro configuration tokens. - move fprint.[ch] and hash.[ch] to rpmdb directory. - detect and fiddle incompatible mixtures of db3 env/open flags. - add DBI_WRITECURSOR to map to db3 flags with CDB database model. - add rpmdbSetIteratorRewrite to warn of pending lazy (re-)writes. CVS patchset: 4765 CVS date: 2001/05/11 04:01:04
Diffstat (limited to 'db/os')
-rw-r--r--db/os/os_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/os/os_map.c b/db/os/os_map.c
index bb96a917d..590ebc501 100644
--- a/db/os/os_map.c
+++ b/db/os/os_map.c
@@ -110,7 +110,7 @@ __os_r_sysattach(dbenv, infop, rp)
}
}
if ((id =
- shmget(segid, rp->size, IPC_CREAT | 0600)) == -1) {
+ shmget(segid, rp->size, IPC_CREAT | 0660)) == -1) {
ret = __os_get_errno();
__db_err(dbenv,
"shmget: key: %ld: unable to create shared system memory region: %s",