From: Chris Wright <chrisw@osdl.org>
To: Hugh Dickins <hugh@veritas.com>
Cc: Andrew Morton <akpm@osdl.org>,
Michael Kerrisk <michael.kerrisk@gmx.net>,
Linus Torvalds <torvalds@osdl.org>,
Manfred Spraul <manfred@colorfullife.com>,
Rik van Riel <riel@redhat.com>, Chris Wright <chrisw@osdl.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] shmtcl SHM_LOCK perms
Date: Tue, 30 Nov 2004 12:50:45 -0800 [thread overview]
Message-ID: <20041130125045.E2357@build.pdx.osdl.net> (raw)
In-Reply-To: <Pine.LNX.4.44.0411291855560.23341-100000@localhost.localdomain>; from hugh@veritas.com on Mon, Nov 29, 2004 at 07:09:18PM +0000
* Hugh Dickins (hugh@veritas.com) wrote:
> Michael Kerrisk has observed that at present any process can SHM_LOCK
> any shm segment of size within process RLIMIT_MEMLOCK, despite having no
> permissions on the segment: surprising, though not obviously evil. And
> any process can SHM_UNLOCK any shm segment, despite no permissions on it:
> that is surely wrong.
You may be neither the owner, nor the creator of a segment but have read
access to it. In which case you could simply copy the contents of the
segment anywhere you like, which has similar effect to SHM_UNLOCK from
the point of view of paging out sensitive data.
thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
next prev parent reply other threads:[~2004-11-30 20:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-29 19:09 [PATCH] shmtcl SHM_LOCK perms Hugh Dickins
2004-11-30 20:50 ` Chris Wright [this message]
2004-12-01 1:00 ` Hugh Dickins
2004-12-01 4:55 ` Chris Wright
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041130125045.E2357@build.pdx.osdl.net \
--to=chrisw@osdl.org \
--cc=akpm@osdl.org \
--cc=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=michael.kerrisk@gmx.net \
--cc=riel@redhat.com \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.