From: James Antill <jantill@redhat.com>
To: Mario Fanelli <mario.fanelli@gmail.com>
Cc: SeLinux Mailing List <selinux@tycho.nsa.gov>
Subject: Re: Switch between struct security_context_t and context_t
Date: Mon, 05 Jun 2006 11:38:51 -0400 [thread overview]
Message-ID: <1149521931.13928.59.camel@code.and.org> (raw)
In-Reply-To: <44844985.754de417.4f4c.ffffbae9@mx.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 517 bytes --]
On Mon, 2006-06-05 at 17:10 +0200, Mario Fanelli wrote:
> I'm writing some simple program that uses SELinux Api but I don't find any
> function that transform a security_context_t variable in context_t. It's
> possible to force cast but if exists a function that performance this
> operation is better...
> Anyone can give me an help?
You want to use:
context_t context_new(const char *);
...you can see it being used in the secon program in policycoreutils.
--
James Antill <jantill@redhat.com>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
prev parent reply other threads:[~2006-06-05 15:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-05 15:10 Switch between struct security_context_t and context_t Mario Fanelli
2006-06-05 15:38 ` James Antill [this message]
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=1149521931.13928.59.camel@code.and.org \
--to=jantill@redhat.com \
--cc=mario.fanelli@gmail.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.