Subject: kern/28194: portalfs broken, missing call to unp_externalize?
To: None <email@example.com, firstname.lastname@example.org,>
From: Andrew Brown <email@example.com>
Date: 11/11/2004 03:13:00
>Synopsis: portalfs broken, missing call to unp_externalize?
>Arrival-Date: Thu Nov 11 03:13:00 +0000 2004
System: NetBSD this 2.99.10 NetBSD 2.99.10 (THAT) #357: Wed Nov 10 19:39:12 EST 2004 andrew@this:/usr/src/sys/arch/i386/compile/THAT i386
portalfs makes machine panic. i've dug through the code and
it seems that the fd that mount_portal passes back to
portal_open is processed by unp_internalize() but is somehow
missing a pass through unp_externalize(), so portal_open()
ends up using the pointer to the struct file as if it were a
mount a portalfs and use it?
not sure yet. i'm filing this so that someone else can try to
take a whack at this while i try to figure it out myself.