[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-kern
Subject:    Re: some fileassoc changes
From:       Elad Efrat <elad () NetBSD ! org>
Date:       2006-12-14 9:01:43
Message-ID: 458112F7.6030901 () NetBSD ! org
[Download RAW message or body]

YAMAMOTO Takashi wrote:

> the attached diff does:
> 
> - just associate fileassoc "table" to struct mount.
>   because the latter is always available during the lifetime of the former,
>   there is little point to use another global list.
>   it also allows to remove an #ifdef FILEASSOC.

for the record, I didn't expect these ugly #ifdefs to remain too long;
the goal is to eventually have it all replaced by kauth(9) listeners.

> - avoid some operations (memory allocation and VOP) in fileassoc_file_lookup,
>   when fileassoc table is not used.
> 
> is it ok?

yes.

-e.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic