BIND 10 trac1704, updated. 5f89e03f687942a5dc77f1f4684b55a208213094 [1704] Use mode bits 0660 when creating lock file

BIND 10 source code commits bind10-changes at lists.isc.org
Mon May 21 07:38:57 UTC 2012


The branch, trac1704 has been updated
       via  5f89e03f687942a5dc77f1f4684b55a208213094 (commit)
      from  edb1ef2c48d4be26c1b52b992910f9bc3adb2d00 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5f89e03f687942a5dc77f1f4684b55a208213094
Author: Mukund Sivaraman <muks at isc.org>
Date:   Mon May 21 13:08:24 2012 +0530

    [1704] Use mode bits 0660 when creating lock file

-----------------------------------------------------------------------

Summary of changes:
 src/lib/log/logger_impl.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/log/logger_impl.cc b/src/lib/log/logger_impl.cc
index 0a1cb91..c0a4adc 100644
--- a/src/lib/log/logger_impl.cc
+++ b/src/lib/log/logger_impl.cc
@@ -71,7 +71,7 @@ LoggerImpl::LoggerImpl(const string& name) : name_(expandLoggerName(name)),
     // Open the lockfile in the constructor so it doesn't do the access
     // checks every time a message is logged.
     mode_t mode = umask(0111);
-    lock_fd_ = open(lockfile_path_.c_str(), O_CREAT | O_RDWR, 0666);
+    lock_fd_ = open(lockfile_path_.c_str(), O_CREAT | O_RDWR, 0660);
     umask(mode);
 
     if (lock_fd_ == -1) {



More information about the bind10-changes mailing list