From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>, SE Linux <selinux@tycho.nsa.gov>
Subject: Python changes for libselinux
Date: Tue, 11 Apr 2006 14:27:09 -0400 [thread overview]
Message-ID: <443BF4FD.9040906@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 59 bytes --]
t_output_helper is going away.
matchpathcon did not work.
[-- Attachment #2: libselinux-rhat.patch --]
[-- Type: text/x-patch, Size: 852 bytes --]
diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinuxswig.i libselinux-1.30.1/src/selinuxswig.i
--- nsalibselinux/src/selinuxswig.i 2006-01-04 10:37:35.000000000 -0500
+++ libselinux-1.30.1/src/selinuxswig.i 2006-04-11 14:23:41.000000000 -0400
@@ -29,8 +29,9 @@
$1 = &temp;
}
%typemap(argout) security_context_t * {
- $result = t_output_helper($result, PyString_FromString(*$1));
+ $result = SWIG_Python_AppendOutput($result, PyString_FromString(*$1));
}
+%typedef unsigned mode_t;
extern int is_selinux_enabled(void);
extern int is_selinux_mls_enabled(void);
@@ -114,6 +115,6 @@
}
%typemap(argout) char ** {
- $result = t_output_helper($result, PyString_FromString(*$1));
+ $result = SWIG_Python_AppendOutput($result, PyString_FromString(*$1));
}
extern int getseuserbyname(const char *linuxuser, char **seuser, char **level);
reply other threads:[~2006-04-11 18:27 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=443BF4FD.9040906@redhat.com \
--to=dwalsh@redhat.com \
--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.