Date: Thu, 2 Dec 2004 22:51:23 +0100 From: Mark Santcroos <marks@ripe.net> To: Poul-Henning Kamp <phk@FreeBSD.org> Cc: current@freebsd.org Subject: VOP_* changes causes NULL ptr dereference for acl_get_file(3) Message-ID: <20041202215123.GA1512@laptop.6bone.nl> In-Reply-To: <200412012316.iB1NGcmu024834@repoman.freebsd.org> References: <200412012316.iB1NGcmu024834@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I need at least the following patch to keep my system alive. A simple call to acl_get_file(3) is enough to crash the machine. You will have to think a bit more about how you want to initialize stuff or about better defaults for cases like ACLs. Mark ==== //depot/projects/custom/kern/vfs_default.c#35 - /home/marks/proj/perforce/projects/custom/kern/vfs_default.c ==== @@ -95,6 +95,7 @@ .vop_revoke = VOP_PANIC, .vop_strategy = vop_nostrategy, .vop_unlock = vop_stdunlock, + .vop_getacl = VOP_EINVAL, }; /* -- RIPE NCC - Delft University of Technology - The FreeBSD Project marks@ripe.net - m.a.santcroos@ewi.tudelft.nl - marks@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041202215123.GA1512>