All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom London <selinux@comcast.net>
To: Greg Norris <haphazard@kc.rr.com>
Cc: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: need advice for ld_so_cache_t errors
Date: Mon, 04 Oct 2004 20:45:53 -0700	[thread overview]
Message-ID: <416218F1.2030105@comcast.net> (raw)
In-Reply-To: <20041005010057.GA31754@yggdrasil.localdomain>

see: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=133505

Believe there is a bug in mprotect().

tom

Greg Norris wrote:

>Ok, I've (finally) figured out what's actually failing.  When I strace a 
>tail command on my selinux box, the following entries seem of interest:
>
>   open("/etc/ld.so.cache", O_RDONLY)      = 3
>   fstat64(3, {st_mode=S_IFREG|0644, st_size=11997, ...}) = 0
>   old_mmap(NULL, 11997, PROT_READ, MAP_PRIVATE, 3, 0) = -1 EACCES (Permission denied)
>   close(3)                                = 0
>
>   open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
>   fstat64(3, {st_mode=S_IFREG|0644, st_size=1589840, ...}) = 0
>   mmap2(NULL, 1589840, PROT_READ, MAP_PRIVATE, 3, 0) = -1 EACCES (Permission denied)
>   close(3)                                = 0
>
>When I strace the same command on my non-selinux box (also running
>Debian sid), both of the mmaps are successful.  So I guess I need to
>figure out why the the mmaps are being blocked.
>
>I'm not sure why selinux would log that as a denied execute, tho.
>  
>

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2004-10-05  3:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-01 23:35 need advice for ld_so_cache_t errors Greg Norris
2004-10-02  0:59 ` Russell Coker
2004-10-02  1:26   ` Greg Norris
2004-10-02  3:09 ` Russell Coker
2004-10-02  4:37   ` Greg Norris
2004-10-02 16:50     ` Greg Norris
2004-10-03 15:08       ` Russell Coker
2004-10-04  1:48         ` Greg Norris
2004-10-05  0:30           ` Greg Norris
2004-10-05  1:00             ` Greg Norris
2004-10-05  3:45               ` Tom London [this message]
2004-10-05 21:51                 ` Greg Norris
2004-10-08 15:42               ` Stephen Smalley
2004-10-08 21:02                 ` Daniel J Walsh
2004-10-12 13:39                   ` Stephen Smalley

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=416218F1.2030105@comcast.net \
    --to=selinux@comcast.net \
    --cc=haphazard@kc.rr.com \
    --cc=selinux@tycho.nsa.gov \
    /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.