On 4/10/07, Stephen Smalley wrote: > On Mon, 2007-04-09 at 14:08 -0500, Ted X Toth wrote: > > When you have aliases in your setrans.conf > > seobject.setransRecords().get_all returns a dictionary containing values > > with the last alias whereas the first alias is what I'd like (this is > > also what the os uses). Alternatively it could return an ordered list of > > all of the aliases as the dictionary values or maybe this would be a > > different method. > > Unless such a change would pose a problem for current users of > seobject.setransRecords().get_all, I'd be fine with changing it to > return the first alias, and possibly introduce another method if we need > to return all the aliases (to preserve interface compatibility). cc'd > Dan and Karl since they are likely to be more familiar with how this is > being used today by tools like system-config-selinux. > > Do you want to submit a patch or are you making a RFE? > > -- > Stephen Smalley > National Security Agency > > Here's a patch for the first versus last alias. I'm not sure yet about needing all of the aliases. Ted