From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <43E8BACD.1070106@redhat.com> Date: Tue, 07 Feb 2006 10:20:45 -0500 From: Daniel J Walsh MIME-Version: 1.0 To: Ivan Gyurdiev CC: Stephen Smalley , Chad Hanson , Joshua Brindle , SELinux Subject: Re: [PATCH] Add seuser and user_extra to package format References: <43E7D03D.4090909@tresys.com> <43E80E52.6090503@cornell.edu> <1139322866.2872.44.camel@moss-spartans.epoch.ncsc.mil> <43E8B5EF.1030101@cornell.edu> In-Reply-To: <43E8B5EF.1030101@cornell.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov Ivan Gyurdiev wrote: > >>> I will resync my nodecon patch tomorrow - let me know if anything's >>> wrong with it, otherwise will submit as is (ordering pending in a >>> later patch). >>> >> >> I still wasn't clear on the disposition of the pylist patch. >> > I think the typemap code would be sufficiently different in diff. > languages, that we can (and will have to) write a completely new .i > file for another language. I doubt the current typemap code is > language portable (I don't know how adding things to output vector > will translate to other languages). It seems to me that the portable > portion of the code is generated by swig, and any typemaps we add on > top will be mostly language specific. > > Dan, maybe you can comment on this. I added a patch that translates > out-bound C list (type**, int) to an actual PyList, which is garbage > collected, and you can have a for-in loop range over it without an > index, and you don't need get_*_by_idx. There are probably other > advantages that I don't know about. Would this be useful to a python > developer? What about an in-bound PyList (for set_roles)? Do > iterate() function pointers work currently? If not, maybe better > python integration can help make them work? Yes I think that would be preferable to the current rather clunky interface. > >> For the nodecon patch, I wasn't sure if we were sufficiently confident >> in the ABI/API stability to include it for FC5 or if it should wait on >> FC6 devel. It would likely help to have feedback from potential users >> of the nodecon API. >> > Ok... I would like to hear any recommendations on byte order/byte > array handling. -- 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.