From: Daniel J Walsh <dwalsh@redhat.com>
To: James Athey <jathey@tresys.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: [PATCH] libselinux: fix rpm_execcon in SWIG bindings
Date: Thu, 06 Sep 2007 08:37:48 -0400 [thread overview]
Message-ID: <46DFF49C.8040905@redhat.com> (raw)
In-Reply-To: <1189020922.8528.10.camel@exodus.columbia.tresys.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
James Athey wrote:
> On Tue, 2007-09-04 at 10:23 -0400, Daniel J Walsh wrote:
>> https://bugzilla.redhat.com/show_bug.cgi?id=276121
>>
>> Bug in refactored SWIG Bindings.
>>
>>
>> #!/usr/bin/python
>>
>> import selinux
>> args = [ "/bin/bash", "--version" ]
>> selinux.rpm_execcon(0, args[0], args, [ ])
>>
>> Produces:
>>
>> Traceback (most recent call last):
>> File "test.py", line 5, in <module>
>> selinux.rpm_execcon(0, args[0], args, [ ])
>> TypeError: in method 'rpm_execcon', argument 3 of type 'char *const []'
>>
>> Version-Release number of selected component (if applicable):
>> libselinux-2.0.31-3.fc8
>>
>> James do you have a nice quick fix for this?
>
> It's nice, it's quick, and I think it's a fix, but I'll let you be the
> judge of that.
>
>
Works for me.
Updated in rawhide.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFG3/ScrlYvE4MpobMRAqDWAKCb82kdVoqccXUk1KDyGw17kzyRBACghIlB
V4pH947JvzdUUxeKITc+qUU=
=+ZBw
-----END PGP SIGNATURE-----
--
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.
prev parent reply other threads:[~2007-09-06 12:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-13 14:27 [RFC][PATCH] libselinux: refactored SWIG bindings James Athey
2007-06-19 11:40 ` Stephen Smalley
2007-06-19 15:08 ` James Athey
2007-06-19 18:48 ` Daniel J Walsh
2007-06-19 19:51 ` James Athey
2007-06-19 19:53 ` Daniel J Walsh
2007-06-22 19:38 ` Stephen Smalley
2007-09-04 14:23 ` Daniel J Walsh
2007-09-05 19:35 ` [PATCH] libselinux: fix rpm_execcon in " James Athey
2007-09-06 12:37 ` Daniel J Walsh [this message]
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=46DFF49C.8040905@redhat.com \
--to=dwalsh@redhat.com \
--cc=jathey@tresys.com \
--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.