$NetBSD: patch-ai,v 1.2 2002/07/07 14:36:45 taca Exp $

--- profile/profile.c.orig	Fri Jun  7 20:08:25 2002
+++ profile/profile.c
@@ -22,7 +22,7 @@
 
 #include "includes.h"
 
-#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;
