diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2001-12-20 19:18:58 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2001-12-20 19:18:58 +0000 |
commit | a5efa8078d71461572d85d3890476d6fac06a7a5 (patch) | |
tree | 41ed08bff195693dabad1faebb568038f7f2e3d2 /x11-toolkits/gtk12/files/patch-gdk::gdkimage.c | |
parent | o If either WITH_LIBARTS or WITH_VORBIS were defined, LIB_DEPENDS (diff) |
When creating shared memory segments, make them readable/writable
only by the owner.
Diffstat (limited to 'x11-toolkits/gtk12/files/patch-gdk::gdkimage.c')
-rw-r--r-- | x11-toolkits/gtk12/files/patch-gdk::gdkimage.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/gtk12/files/patch-gdk::gdkimage.c b/x11-toolkits/gtk12/files/patch-gdk::gdkimage.c new file mode 100644 index 000000000000..ba18a62305b7 --- /dev/null +++ b/x11-toolkits/gtk12/files/patch-gdk::gdkimage.c @@ -0,0 +1,11 @@ +--- gdk/gdkimage.c.orig Wed Dec 19 08:39:12 2001 ++++ gdk/gdkimage.c Wed Dec 19 08:39:19 2001 +@@ -213,7 +213,7 @@ + + x_shm_info->shmid = shmget (IPC_PRIVATE, + private->ximage->bytes_per_line * private->ximage->height, +- IPC_CREAT | 0777); ++ IPC_CREAT | SHM_R | SHM_W); + + if (x_shm_info->shmid == -1) + { |