On Wed, 13 Oct 2010, Eric Paris wrote: > +/* > + * Write the configuration data in a policy database > + * structure to a policy database binary representation > + * file. > + */ > +int policydb_write(struct policydb *p, void *fp) Perhaps check that fp->len is still the same as policydb.len here before writing to the buffer. -- James Morris <jmorris@xxxxxxxxx> -- 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.