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

List:       netbsd-tech-kern
Subject:    Re: Lua in-kernel (lbuf library)
From:       Marc Balmer <marc () msys ! ch>
Date:       2013-10-24 7:46:50
Message-ID: 5268D06A.3080207 () msys ! ch
[Download RAW message or body]

Am 19.10.13 00:51, schrieb John Nemeth:

> } kern.lua.autoload is a safety barrier. One may wish not allow any lua kernel
> } script to load any given lua kernel module.
> 
>      The lua(4) implementers can certainly do this if they want.
> However, module_autoload() won't be looking at this flag and will
> continue to refuse to autoload any module that has the noautoload
> flag set.  Also, there is the kern.module.autoload sysctl that can
> prevent any module from autoloading.

And I think that is a good thing.  If kern.module.autoload is used to
prevent module autoloading, then lua(4) must not be a way to circumvent
this.

For clarification:  The kern.lua.autoload sysctl merely controls whether
lua(4) *tries* to autload a module when it encounters the "require"
statement.  If it is set to false, it will not try it.



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

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