Source-Changes-D archive

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

Re: CVS commit: src/sys/kern




To: Mindaugas Rasiukevicius <rmind%NetBSD.org@localhost>

Subject: Re: CVS commit: src/sys/kern

From: tsugutomo.enami%jp.sony.com@localhost

Date: Tue, 24 May 2011 12:09:21 +0900


Mindaugas Rasiukevicius <rmind%NetBSD.org@localhost> writes:

> Module Name:  src
> Committed By: rmind
> Date:         Sat Apr 30 23:41:17 UTC 2011
>
> Modified Files:
>       src/sys/kern: kern_resource.c
>
> Log Message:
> sysctl_proc_corename: improve comments, clean up, move a check for
> KAUTH_REQ_PROCESS_CORENAME_SET earlier, do not bother to strcmp().
>
>
> 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.

enami.


Follow-Ups:

Re: CVS commit: src/sys/kern
From: Mindaugas Rasiukevicius




Prev by Date: Re: CVS commit: src/usr.sbin/makefs

Next by Date: Re: CVS commit: src/usr.sbin/makefs

Previous by Thread: Re: CVS commit: src/usr.sbin/makefs

Next by Thread: Re: CVS commit: src/sys/kern

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index