Browse Source

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 years ago
parent
commit
d71508b94b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      vncviewer/PlatformPixelBuffer.cxx

+ 1
- 1
vncviewer/PlatformPixelBuffer.cxx View File



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



Loading…
Cancel
Save