2020-08-15

LinuxカーネルにおけるGPLコンドーム問題への対処パッチ

最近、Linuxカーネルで話題になっていることに、GPLコンドーム問題がある。

Kernel Developers Work To Block NVIDIA "GPL Condom" Effort Around New NetGPU Code - Phoronix

発端はNetGPUと呼ばれる機能をLinuxカーネルへ追加するパッチだ。これはNICとGPUの間のデータ転送にDMA zero-copyにしてNICとGPUが直接やり取りできるようにしつつ、プロトコル処理自体はCPUに処理させるという機能で、GPGPUがますます汎用化してくるなかでGPUから直接ネットワーク越しにデータを転送する事ができるようになる。

ところが、NetGPUをNVIDIAドライバーに対応させるパッチとやら出てきて物議を醸している。NVIDIAのドライバーはプロプライエタリであり、LinuxカーネルのGPLシンボルを使うことができない。そこでLinuxカーネルとNVIDIAのプロプライエタリドライバーをつなぐ目的のためだけの薄いshimコードをGPLと称する手口が流行っている。これがGPLコンドームと呼ばれる問題だ。NetGPUがプロプライエタリなNVIDIAだけを利するものであれば、そもそもLinux上流に取り入れる意味がない。

その流れを受けて、GPLコンドーム問題に対処するパッチが出てきた。

Linux 5.9 Brings Safeguard Following NVIDIA's Recent "GPL Condom" Incident - Phoronix

これはGPLを称しながらプロプライエタリなシンボルを使うカーネルモジュールに対してもTAINT_PROPRIETARY_MODULE taintを付加するものだ。

5 comments:

Linuxmetel said...

GPLを舐めるにも程がありますね

Anonymous said...

>GPLを舐めるにも程がありますね

GPLの汚染力というか感染力を認識できないのかも^^)。

Roman Adam said...

Nice to read your interesting blog!!
Good work Keep it up!!
handbags

Kim McNeeley said...

Google 5 Star Rating , Wow Great... your writing is so good I got a good idea later. Thanks,

Back Biller said...

The appearance of Style247 on the screen is nothing less than a breath of fresh air in the fashion industry. Here you can have your desired wonderful handbags at reasonable prices. As ladies are fond of collecting different styles and sizes of handbags, so Style247 is the right place for you, where you can easily go through all the available styles and designs of handbags online and can grab your favourite Handbag with just a single click. Handbag in Pakistan