* Looking for extensible kernel database format
@ 2015-04-10 0:57 Luis R. Rodriguez
2015-04-13 18:09 ` Luis R. Rodriguez
0 siblings, 1 reply; 2+ messages in thread
From: Luis R. Rodriguez @ 2015-04-10 0:57 UTC (permalink / raw)
To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: linux-wireless, Matthew Garrett, Kees Cook, Ming Lei,
Greg Kroah-Hartman, Johannes Berg, Seth Forshee,
Luis R. Rodriguez, netfilter-devel
Hey folks,
next week I'd like to address replacing the need for CRDA [0] as a
udev helper with in-kernel functionality There's a few motivations
for this but a good one is that the kernel already has now
cryptographic support to verify the integrity of the regulatory
database, just as it has support for verifying the integrity of
modules / firmware. We'd use something like:
request_file(file_reqs)
Where the file_reqs provides the requirements, including cryptographic
requirements, and I suspect we'd use LSM to vet for the cryptographic
needs of the file.
Now other than this step CRDA currently *reads* a database and today
we have our own format. If we want to extend this though we will have
to issue a new regdb format and old kernels might not be compatible
with the new format. This is a typical database problem and I'm hoping
we are not the first to deal with this. What *extensible* kernel
database format are there already, are they generic already? I'd
prefer something already using netlink.
Any recommendations?
[0] https://wireless.wiki.kernel.org/en/developers/regulatory/crda
Luis
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Looking for extensible kernel database format
2015-04-10 0:57 Looking for extensible kernel database format Luis R. Rodriguez
@ 2015-04-13 18:09 ` Luis R. Rodriguez
0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2015-04-13 18:09 UTC (permalink / raw)
To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: linux-wireless, Matthew Garrett, Kees Cook, Ming Lei,
Greg Kroah-Hartman, Johannes Berg, Seth Forshee,
Luis R. Rodriguez, netfilter-devel
On Thu, Apr 9, 2015 at 5:57 PM, Luis R. Rodriguez
<mcgrof@do-not-panic.com> wrote:
> Hey folks,
>
> next week I'd like to address replacing the need for CRDA [0] as a
> udev helper with in-kernel functionality There's a few motivations
> for this but a good one is that the kernel already has now
> cryptographic support to verify the integrity of the regulatory
> database, just as it has support for verifying the integrity of
> modules / firmware. We'd use something like:
>
> request_file(file_reqs)
>
> Where the file_reqs provides the requirements, including cryptographic
> requirements, and I suspect we'd use LSM to vet for the cryptographic
> needs of the file.
>
> Now other than this step CRDA currently *reads* a database and today
> we have our own format. If we want to extend this though we will have
> to issue a new regdb format and old kernels might not be compatible
> with the new format. This is a typical database problem and I'm hoping
> we are not the first to deal with this. What *extensible* kernel
> database format are there already, are they generic already? I'd
> prefer something already using netlink.
>
> Any recommendations?
>
> [0] https://wireless.wiki.kernel.org/en/developers/regulatory/crda
OK I haven't heard back so will just work towards a very simple
extensible db and proceed as planned to reuse the existing
request_firmware_direct() API but with cryptographic requirements and
vetting through LSM.
Luis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-13 18:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-10 0:57 Looking for extensible kernel database format Luis R. Rodriguez
2015-04-13 18:09 ` Luis R. Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).