All of lore.kernel.org
 help / color / mirror / Atom feed
* libselinux swig wrapper breakage
@ 2006-02-20  4:12 Chris PeBenito
  2006-02-20  7:22 ` Ivan Gyurdiev
  0 siblings, 1 reply; 3+ messages in thread
From: Chris PeBenito @ 2006-02-20  4:12 UTC (permalink / raw)
  To: SELinux Mail List

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

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


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-20  7:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-20  4:12 libselinux swig wrapper breakage Chris PeBenito
2006-02-20  7:22 ` Ivan Gyurdiev
2006-02-20  7:31   ` Ivan Gyurdiev

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.