From: korkishko Tymur <k.tymur@samsung.com>
To: SELinux@tycho.nsa.gov
Subject: Genfscon 'dash' issue
Date: Fri, 10 Oct 2008 05:07:44 +0000 (GMT) [thread overview]
Message-ID: <18500085.31951223615264682.JavaMail.weblogic@epml14> (raw)
Hello!
I have Linux kernel 2.6.26 with a patch from NSA that allows genfscon support of security contexts for directories/files (others than / ).
I use genfscon to label files/directories on cramfs filesystem(read-only filesystem) that does not support xattr.
It seems that current genfscon implementation does not support “–“(dash) in path names. If I try to compile policy containing this line:
genfscon cramfs /usr/sbin/an-app user_u:system_r:my_app_t
I will get an syntax error from checkpolicy aboutusing “– “ (dash) in the path:
ERROR ‘invalid type app’ at token ‘genfscon’ on line...
So, could you please suggest a way to fix theissue with “– “ (dash) and genfscon?
Unfortunately, it is not possible to change “–“(dash) to “_” (underbar) in path names.
Kindest regards,
Tymur Korkishko
--
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.
next reply other threads:[~2008-10-10 5:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-10 5:07 korkishko Tymur [this message]
2008-10-10 12:45 ` Genfscon 'dash' issue Stephen Smalley
-- strict thread matches above, loose matches on Subject: below --
2008-10-14 2:00 korkishko Tymur
2008-10-14 14:57 ` Stephen Smalley
2008-10-14 19:09 ` Joshua Brindle
2008-10-15 15:08 ` Joshua Brindle
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=18500085.31951223615264682.JavaMail.weblogic@epml14 \
--to=k.tymur@samsung.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.