lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2023103021-revolving-clapper-632d@gregkh>
Date:   Mon, 30 Oct 2023 12:30:53 +0100
From:   Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:     Tingwei Zhang <quic_tingweiz@...cinc.com>
Cc:     Masami Hiramatsu <mhiramat@...nel.org>,
        "Rafael J. Wysocki" <rafael@...nel.org>,
        linux-kernel@...r.kernel.org, Trilok Soni <quic_tsoni@...cinc.com>,
        Jinlong Mao <quic_jinlmao@...cinc.com>
Subject: Re: How to pass software configuration to driver built as module in
 boot up phase

On Mon, Oct 30, 2023 at 07:21:48PM +0800, Tingwei Zhang wrote:
> Hi Masami, Greg and Rafael,
> 
> I have one driver that needs a bunch to software configuration like 1000
> settings. These settings can be different according to the use case.

That seems very odd, what type of driver is this?

> They are required in boot up phase so we can't reply on user space to make
> the configuration.
> 
> Boot config is not preferred since we'd like to build that driver as dynamic
> load Kernel module.
> 
> Could you let me know if there's any mechanism in Kernel to do that?

What is wrong with the existing ways of doing this that all other
drivers use?

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ