$OpenBSD: patch-src_qt_src_gui_image_qpixmap_x11_cpp,v 1.1.1.1 2013/12/20 00:54:06 sthen Exp $
--- src/qt/src/gui/image/qpixmap_x11.cpp.orig	Thu Sep  5 23:36:02 2013
+++ src/qt/src/gui/image/qpixmap_x11.cpp	Mon Nov 25 18:31:47 2013
@@ -193,7 +193,7 @@ static bool qt_create_mitshm_buffer(const QPaintDevice
     bool ok;
     xshminfo.shmid = shmget(IPC_PRIVATE,
                              xshmimg->bytes_per_line * xshmimg->height,
-                             IPC_CREAT | 0777);
+                             IPC_CREAT | 0700);
     ok = xshminfo.shmid != -1;
     if (ok) {
         xshmimg->data = (char*)shmat(xshminfo.shmid, 0, 0);
