Bug 1032072 - cogl: insecure shmget permissions
Summary: cogl: insecure shmget permissions
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cogl
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jonas Ådahl
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1032071
TreeView+ depends on / blocked
 
Reported: 2013-11-19 13:52 UTC by Florian Weimer
Modified: 2020-12-08 13:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-08 13:19:22 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 755532 0 Normal NEW insecure shmget permissions 2020-12-08 12:26:57 UTC

Description Florian Weimer 2013-11-19 13:52:46 UTC
IPC_PRIVATE is a misnomer, and this will create a SHM segment with 0777 permissions:

  tex_pixmap->shm_info.shmid = shmget (IPC_PRIVATE,
                                       dummy_image->bytes_per_line
                                       * dummy_image->height,
                                       IPC_CREAT | 0777);

This should probably use 0600 permissions instead.  As far as I can see, it's a cosmetic issue because the SHM segment is only temporary and not used for anything important.

Comment 2 RHEL Program Management 2014-03-22 06:30:46 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.


Note You need to log in before you can comment on or make changes to this bug.