public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ v1] lib: Fix headers that are used to interface with kernel syscalls
Date: Wed,  1 Oct 2025 15:40:49 -0400	[thread overview]
Message-ID: <20251001194049.86963-1-luiz.dentz@gmail.com> (raw)

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


             reply	other threads:[~2025-10-01 19:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-01 19:40 Luiz Augusto von Dentz [this message]
2025-10-01 21:07 ` [BlueZ,v1] lib: Fix headers that are used to interface with kernel syscalls bluez.test.bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251001194049.86963-1-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox