public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v1] lib: Fix headers that are used to interface with kernel syscalls
@ 2025-10-01 19:40 Luiz Augusto von Dentz
  2025-10-01 21:07 ` [BlueZ,v1] " bluez.test.bot
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2025-10-01 19:40 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This fixes the headers that are used to interface with kernel syscalls
which seems to be broken for a very long time due bluetooth not having
proper uapi in the kernel and libbluetooth not licensing the headers
according to the same headers in the kernel.

Fixes: https://github.com/bluez/bluez/issues/989
---
 lib/bluetooth/bluetooth.h | 2 +-
 lib/bluetooth/bnep.h      | 2 +-
 lib/bluetooth/cmtp.h      | 2 +-
 lib/bluetooth/hci.h       | 2 +-
 lib/bluetooth/hidp.h      | 2 +-
 lib/bluetooth/iso.h       | 2 +-
 lib/bluetooth/l2cap.h     | 2 +-
 lib/bluetooth/mgmt.h      | 2 +-
 lib/bluetooth/rfcomm.h    | 2 +-
 lib/bluetooth/sco.h       | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/lib/bluetooth/bluetooth.h b/lib/bluetooth/bluetooth.h
index 88a5d8b66134..a16523815442 100644
--- a/lib/bluetooth/bluetooth.h
+++ b/lib/bluetooth/bluetooth.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/lib/bluetooth/bnep.h b/lib/bluetooth/bnep.h
index a0d39058c6e4..f8a08b46ec08 100644
--- a/lib/bluetooth/bnep.h
+++ b/lib/bluetooth/bnep.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/lib/bluetooth/cmtp.h b/lib/bluetooth/cmtp.h
index 7ba8bfc3bf6f..47ec4119a6f9 100644
--- a/lib/bluetooth/cmtp.h
+++ b/lib/bluetooth/cmtp.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/lib/bluetooth/hci.h b/lib/bluetooth/hci.h
index 732477ec4b55..754c32cd8913 100644
--- a/lib/bluetooth/hci.h
+++ b/lib/bluetooth/hci.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/lib/bluetooth/hidp.h b/lib/bluetooth/hidp.h
index da42a1b9ecbf..aacd398562c2 100644
--- a/lib/bluetooth/hidp.h
+++ b/lib/bluetooth/hidp.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/lib/bluetooth/iso.h b/lib/bluetooth/iso.h
index 1e9f79ce5d4c..e0b22eced82d 100644
--- a/lib/bluetooth/iso.h
+++ b/lib/bluetooth/iso.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/lib/bluetooth/l2cap.h b/lib/bluetooth/l2cap.h
index 62cc04b57ae9..ca6bcaac8805 100644
--- a/lib/bluetooth/l2cap.h
+++ b/lib/bluetooth/l2cap.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/lib/bluetooth/mgmt.h b/lib/bluetooth/mgmt.h
index 2b45010d1b0b..ba539ad0db1d 100644
--- a/lib/bluetooth/mgmt.h
+++ b/lib/bluetooth/mgmt.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *  BlueZ - Bluetooth protocol stack for Linux
  *
diff --git a/lib/bluetooth/rfcomm.h b/lib/bluetooth/rfcomm.h
index 0347ddc36770..354263135ea7 100644
--- a/lib/bluetooth/rfcomm.h
+++ b/lib/bluetooth/rfcomm.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/lib/bluetooth/sco.h b/lib/bluetooth/sco.h
index 307d81f813ff..c27f7530bd4c 100644
--- a/lib/bluetooth/sco.h
+++ b/lib/bluetooth/sco.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-01 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-01 19:40 [PATCH BlueZ v1] lib: Fix headers that are used to interface with kernel syscalls Luiz Augusto von Dentz
2025-10-01 21:07 ` [BlueZ,v1] " bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox