All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ivan Gyurdiev <ivg2@cornell.edu>
To: selinux@tycho.nsa.gov
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Subject: [SEMANAGE] semanage_fcontext_get_by_idx
Date: Wed, 04 Jan 2006 17:20:07 -0500	[thread overview]
Message-ID: <43BC4A17.5000203@cornell.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 96 bytes --]

Funny thing... without this none of the swig wrappers are generated for 
policy file_contexts.


[-- Attachment #2: libsemanage.fcontext_swig.diff --]
[-- Type: text/x-patch, Size: 557 bytes --]

diff -Naurp --exclude man --exclude-from excludes old/libsemanage/src/semanageswig.i new/libsemanage/src/semanageswig.i
--- old/libsemanage/src/semanageswig.i	2006-01-04 14:18:49.000000000 -0500
+++ new/libsemanage/src/semanageswig.i	2006-01-04 17:11:00.000000000 -0500
@@ -61,6 +61,9 @@
 	semanage_bool_t *semanage_bool_by_idx(semanage_bool_t **list, int n) {
 		return list[n];
 	}
+	semanage_fcontext_t *semanage_fcontext_by_idx(semanage_fcontext_t **list, int n) {
+		return list[n];
+	}
 	char *char_by_idx(char **list, int n) {
 		return list[n];
 	}

                 reply	other threads:[~2006-01-04 22:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=43BC4A17.5000203@cornell.edu \
    --to=ivg2@cornell.edu \
    --cc=sds@tycho.nsa.gov \
    --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.