$NetBSD: patch-ai,v 1.3 2003/03/29 08:18:49 taca Exp $

--- profile/profile.c.orig	2002-11-21 21:23:08.000000000 +0900
+++ profile/profile.c
@@ -23,7 +23,7 @@
 #include "includes.h"
 
 #ifdef WITH_PROFILE
-#define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6))
+#define IPC_PERMS ((S_IRUSR | S_IWUSR) | S_IRGRP | S_IROTH)
 static int shm_id;
 static BOOL read_only;
 
