Todd Miller wrote: > Joshua Brindle wrote: >> Hrm. Why aren't we using an initializer for this struct so that this >> sort of thing doesn't happen? > > That's probably a nicer approach, I was going for a minimal change. > I suppose at its simplest the initializer could just memset() > the struct. Alternately, it could take the values to set as > parameters. > I prefer it to memset or set the values to null explicitly, the caller can then set the members it wants to. -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.