unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Karel Klic <kklic@redhat.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] SELinux support
Date: Wed, 17 Mar 2010 20:10:29 -0400	[thread overview]
Message-ID: <bwpr32trpm.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <c9r5nj1yik.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue\, 16 Mar 2010 22\:18\:43 -0400")


I tried it on a (virtual) Fedora 12 installation, and it doesn't seem
to work. file-selinux-context always returns nil. (Disclaimer: I know
nothing about SELinux.)

/usr/sbin/getenforce       -> Enforcing

checking for libselinux... yes
checking LIBSELINUX_LIBS... -lselinux
  Does Emacs use -lselinux?                    yes

ldd emacs | grep selinux      -> libselinux.so.1 => /lib64/libselinux.so.1

ls -l --context /etc/printcap
-rw-r--r--. root root system_u:object_r:cupsd_rw_etc_t:s0 /etc/printcap

(file-selinux-context "/etc/printcap")      -> (nil nil nil nil)




  reply	other threads:[~2010-03-18  0:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-02 19:36 [PATCH] SELinux support Karel Klic
2010-03-17  2:18 ` Glenn Morris
2010-03-18  0:10   ` Glenn Morris [this message]
2010-03-18 13:33     ` Karel Klic
2010-03-19  2:46       ` Glenn Morris
2010-03-22 14:53         ` Karel Klic
2010-03-22 16:01           ` Tom Tromey
2010-03-22 18:13             ` Glenn Morris
2010-03-29 13:53         ` Karel Klic
2010-03-29 19:00           ` Glenn Morris
2010-04-21  3:55           ` Glenn Morris
2010-04-23 14:23           ` Michael Albinus
2010-04-30  6:43             ` Karel Klic

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bwpr32trpm.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kklic@redhat.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).