瀏覽代碼

Be more restrictive with shared memory mode bits

Everyone else seems to get by with using 0600, so let's do the same.
tags/v1.7.90
Pierre Ossman 7 年之前
父節點
當前提交
d71508b94b
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      vncviewer/PlatformPixelBuffer.cxx

+ 1
- 1
vncviewer/PlatformPixelBuffer.cxx 查看文件

@@ -154,7 +154,7 @@ bool PlatformPixelBuffer::setupShm()

shminfo->shmid = shmget(IPC_PRIVATE,
xim->bytes_per_line * xim->height,
IPC_CREAT|0777);
IPC_CREAT|0600);
if (shminfo->shmid == -1)
goto free_xim;


Loading…
取消
儲存