Re: [PATCH 4/4] SELinux: allow userspace to read policy back out of the kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2010-06-16 at 12:41 -0400, Stephen Smalley wrote:
> On Wed, 2010-06-16 at 11:26 -0400, Eric Paris wrote:

> > No question wrapping my head around the new ebitmap format was the tough
> > part.  I added printk's to display every ebitmap and node as it was read
> > in and as I wrote them out.  Got the same thing for the couple thousand
> > lines I could show in dmesg, so I think I'm ok there.
> > 
> > I was trying to use gdb yesterday to figure out what was wrong, but
> > could get the darn thing to break where I wanted it to.  I'll debug like
> > I'm used to (in the kernel) and see what I did....
> 
> Oh, I found it.  mls_write_level() in your patch sets buf[1] rather than
> buf[0] and then writes buf[0].

/me feels like the compiler should have been able to find that
particular one....


--
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.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux