Research Menu

.
Skip Search Box

SELinux Mailing List

libselinux swig wrapper breakage

From: Chris PeBenito <pebenito_at_gentoo.org>
Date: Sun, 19 Feb 2006 23:12:25 -0500


I was testing a few functions from the libselinux swig wrapper (cvs selinux-usr) and ran in to problems:

>>> import selinux
>>> selinux.setexeccon('user_u:user_r:user_spamassassin_t')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: argument number 1: a 'security_context_t *' is expected, 'str(user_u:user_r:user_spamassassin_t)' is received
>>> selinux.getexeccon()

Segmentation fault

-- 
Chris PeBenito
<pebenito@gentoo.org>
Developer,
Hardened Gentoo Linux
Embedded Gentoo Linux
 
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243
Key fingerprint = B0E6 877A 883F A57A 8E6A  CB00 BC8E E42D E6AF 9243


-- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.

Received on Sun 19 Feb 2006 - 23:12:33 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service