summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-11 20:13:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-11 20:13:48 +0000
commit71368518123d95dcba8f0ba5a22e9650a9c64a66 (patch)
treed7c6bafa9fe50873a1bab199060997a6f1ec07fa /usr.sbin
parent6900488045e59003d8b6b6c91ce13e2514a9b72d (diff)
do not let the group access the sem
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/httpd/src/modules/ssl/ssl_engine_mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/modules/ssl/ssl_engine_mutex.c b/usr.sbin/httpd/src/modules/ssl/ssl_engine_mutex.c
index 720854d9e53..fdbfd48aaee 100644
--- a/usr.sbin/httpd/src/modules/ssl/ssl_engine_mutex.c
+++ b/usr.sbin/httpd/src/modules/ssl/ssl_engine_mutex.c
@@ -308,7 +308,7 @@ void ssl_mutex_sem_create(server_rec *s, pool *p)
}
semctlbuf.sem_perm.uid = ap_user_id;
semctlbuf.sem_perm.gid = ap_group_id;
- semctlbuf.sem_perm.mode = 0660;
+ semctlbuf.sem_perm.mode = 0600;
semctlarg.buf = &semctlbuf;
if (semctl(semid, 0, IPC_SET, semctlarg) < 0) {
ssl_log(s, SSL_LOG_ERROR|SSL_ADD_ERRNO,