[Bug 296641] sysutils/pefs-kmod script files are sort-of zeroed when execed

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296641

--- Comment #9 from Bill Blake <[email protected]> ---
(In reply to Daniel O'Connor from comment #8)

I have made a change that seemingly made my problem go away.  In pefs_open,
change:

        vnode_create_vobject(vp, 0, ap->a_td);

to:

        vnode_create_vobject(vp, VNODE_NO_SIZE, ap->a_td);

Both mmap and execution have, so far, worked.

(I haven't done any real kernel hacking in decades, so this took me way too
long.  And this bug appeared due to some obscure change in the vnode code,
which makes me wonder what else is broken by that or other obscure changes, in
pefs or elsewhere.  But I just don't have the time to spend on it.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.