Skip to contentSkip to conversation

libselinux patch to add getpidcon python wrapper.

PATCH Daniel J Walsh 2 participants 2 messages Jan 3, 2006 – Jan 4, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw
src/selinuxswig.i +1 -1
diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinuxswig.i libselinux-1.29.2/src/selinuxswig.i
@@ -36,7 +37,7 @@
 extern int is_selinux_mls_enabled(void);
 extern int getcon(security_context_t *con);
 extern int setcon(security_context_t con);
-extern int getpidcon(pid_t pid, security_context_t *con);
+extern int getpidcon(int pid, security_context_t *con);
 extern int getprevcon(security_context_t *con);
 extern int getexeccon(security_context_t *con);
 extern int setexeccon(security_context_t con);
src/selinuxswig_wrap.c +65 -74

182 lines not on this page · raw message

#1 lore raw

Merged along with Ulrich's patch in libselinux 1.29.3.

Signature · 8 lines
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.