I tried sending this with the diff but I think it was a bit big, here is the text, the diff is at ftp.netbsd.org under /pub/NetBSD/misc/blymn/veriexec_update
On Mon, Aug 14, 2023 at 07:51:50AM +0930, Brett Lymn wrote: > On Fri, Aug 04, 2023 at 11:24:22PM +0000, David Holland wrote: > > > > I was looking at this last weekend and for veriexec I have one fix and > > some comments/notes, which I should probably commit. > > > > OK, that sounds good. > > > fileassoc I would recommend flushing and replacing with a proper > > specificdata implementation for vnodes, which there should be no > > particular barrier to. fileassoc is trying to be that but it's both > > bust and doing it wrong. :-| > > > > I think fileassoc was added with the view for using it for other things > but in the end only veriexec is using it. We can revert it back to > it being veriexec specific. > > I have attached a diff that is a version of veriexec that uses condvars > and ref counters to handle the access control. It compiles but > hasn't been run tested on a current kernel (it worked when i used it > before but it has been a long time). > -- Brett Lymn -- Sent from my NetBSD device. "We are were wolves", "You mean werewolves?", "No we were wolves, now we are something else entirely", "Oh"