NetBSD-Bugs archive

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

Re: kern/45393 (core dumps are unilaterally prevented by unmounted cwd or MNT_NOCOREDUMP even if corename will be valid)



On Sat, Sep 24, 2011 at 11:00:09PM +0000, Christos Zoulas wrote:
 >  |  So, with that said I'd say yes, please close this PR (though perhaps
 >  |  your final fix deserves a pull-up to netbsd-5?)
 >  
 >  Well, that is going to be a bit difficult because 5 is missing the simple
 >  namei() function that I am using :-)

That's not that big a deal; you can just use the expansion of
namei_simple* from vfs_lookup.c and get rid of the pathbuf logic. The
main point of those functions is to isolate struct nameidata and
NDINIT from random callers that don't need to fiddle with them
directly.

admittedly it's not 100% trivial, but I think maybe it's worthwhile,
so I'll leave the PR open for now until I or someone gets around to it.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index