Subject: kern/37542: too many arguments to VOP_ACCESS in kern/exec_script.c
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <paul.lavoie@thomson.com>
List: netbsd-bugs
Date: 12/14/2007 16:45:00
>Number: 37542
>Category: kern
>Synopsis: too many arguments to VOP_ACCESS in kern/exec_script.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 14 16:45:00 +0000 2007
>Originator: Paul Lavoie
>Release: -current
>Organization:
>Environment:
i386 4.99.35
>Description:
The change from Nov 26 to modify instances of VOP_ACCESS seems to have missed at least one occurrence in kern/exec_script.c on line 182, which is reached if the kernel is built with the option SETUIDSCRIPTS. I assume that it is just a matter of removing the 4th argument of the lwp, but I'd like it confirmed with someone who knows the kernel better than I ;-)
Thanks.
>How-To-Repeat:
Compile kernel with OPTIONS SETUIDSCRIPTS enabled.
>Fix:
Remove lwp argument to VOP_ACCESS?