You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/06/03 05:30:11 UTC
cvs commit: apache-2.0/src/lib/apr/locks/unix crossproc.c
trawick 00/06/02 20:30:11
Modified: src/lib/apr/locks/unix crossproc.c
Log:
Change flock support to create file with 0600 (as it did for
a long time, up until the last commit). Somebody else can
deal with the discrepency between permissions among different
functions which open the file.
Revision Changes Path
1.29 +1 -1 apache-2.0/src/lib/apr/locks/unix/crossproc.c
Index: crossproc.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/locks/unix/crossproc.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- crossproc.c 2000/06/03 03:24:38 1.28
+++ crossproc.c 2000/06/03 03:30:10 1.29
@@ -345,7 +345,7 @@
ap_status_t ap_unix_create_inter_lock(ap_lock_t *new)
{
if (new->fname) {
- new->interproc = open(new->fname, O_CREAT | O_WRONLY | O_EXCL, 0644);
+ new->interproc = open(new->fname, O_CREAT | O_WRONLY | O_EXCL, 0600);
}
else {
new->fname = ap_pstrdup(new->cntxt, "/tmp/aprXXXXXX");