From: martin.christian@secunet.com (Martin Christian)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] Type enforcement on files and their fds
Date: Wed, 29 Jun 2011 19:06:24 +0200 [thread overview]
Message-ID: <4E0B5B90.9050601@secunet.com> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm slowly getting deeper into the SELinux internals. Hence, my
questions will be quite kernel related. But I hope this list is still
considered the right place for such questions, isn't it?
The notation X:t1 shall be X has/is running with type t1.
How are file descriptors associated with files regarding their labels?
1. Consider a file f:t2 is opened by p1:t1 for writing through file
descriptor fd3.
=> Which label has fd3 now? t1 or t2?
2. Consider a file f is created for writing by p1:t1 in directory d:t2
with fd=3.
=> Which label has f? And which label has fd3?
Regards,
Martin.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJOC1uJAAoJEGpTkDITRjmoJAYH/21h8teiEbXbHutrmQ/jucnG
3Ky1MmMy6VfjUkBNuFIvswQWaunnrsouyx8+Iugcl1mMMV9WTp+fiFo84C7Wd6E5
5K2WJKYe5rtiPptBK+AGpKgQKOf2hao+LMozskvn/SK6gokGmppEac1J5AzhWd7g
lvAyDr5McvEEjGGiPIM+jbbFF+6drph4tZmOa9qcBSazHsRNK5rqtKuqL/9bqIGT
rV2bWA5OLOCtpXUMbF+umeN34sswrzEH8iIO5CMtPUNzNsYnhP6r3jGx98L+deNP
MPz9ode9IYVSUoAQxd3/kmxWbsdpVdqWJ6f6aGVkc1NW4cNf8VWB6wKI82cqwBM=
=DjV9
-----END PGP SIGNATURE-----
next reply other threads:[~2011-06-29 17:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-29 17:06 Martin Christian [this message]
2011-06-30 2:15 ` [refpolicy] Type enforcement on files and their fds HarryCiao
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=4E0B5B90.9050601@secunet.com \
--to=martin.christian@secunet.com \
--cc=refpolicy@oss.tresys.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.
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.