$NetBSD: patch-ai,v 1.2.4.1 2003/04/20 12:27:24 grant 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;
 
