tsugutomo.en...@jp.sony.com wrote: > > To generate a diff of this commit: > > cvs rdiff -u -r1.157 -r1.158 src/sys/kern/kern_resource.c > > Why the authorization check for set can be done such earlier? > > The kauth(9) man page defines that the 2nd arg is new corename to be > set, but I don't think path buffer just returned from PNBUG_GET() > contains anything useful.
Fixed (kauth does not inspect the string, though). Thanks. -- Mindaugas