All of lore.kernel.org
 help / color / mirror / Atom feed
* Python changes for libselinux
@ 2006-04-11 18:27 Daniel J Walsh
  0 siblings, 0 replies; only message in thread
From: Daniel J Walsh @ 2006-04-11 18:27 UTC (permalink / raw)
  To: Stephen Smalley, SE Linux

[-- 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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-11 18:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-11 18:27 Python changes for libselinux Daniel J Walsh

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.