* [PATCH v1 00/10] Define _GNU_SOURCE for sources using
@ 2024-04-30 23:50 Edward Liaw
2024-04-30 23:50 ` [PATCH v1 01/10] selftests/sgx: Compile with -D_GNU_SOURCE Edward Liaw
` (10 more replies)
0 siblings, 11 replies; 18+ messages in thread
From: Edward Liaw @ 2024-04-30 23:50 UTC (permalink / raw)
To: shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Edward Liaw, Andrew Morton, Muhammad Usama Anjum
Cc: linux-kernel, linux-kselftest, kernel-team, linux-sound,
linux-input, kvm, netdev, linux-rtc, linux-sgx
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
asprintf into kselftest_harness.h, which is a GNU extension and needs
_GNU_SOURCE to either be defined prior to including headers or with the
-D_GNU_SOURCE flag passed to the compiler.
Edward Liaw (10):
selftests/sgx: Compile with -D_GNU_SOURCE
selftests/alsa: Compile with -D_GNU_SOURCE
selftests/hid: Compile with -D_GNU_SOURCE
selftests/kvm: Define _GNU_SOURCE
selftests/nci: Compile with -D_GNU_SOURCE
selftests/net: Define _GNU_SOURCE
selftests/prctl: Compile with -D_GNU_SOURCE
selftests/rtc: Compile with -D_GNU_SOURCE
selftests/tdx: Compile with -D_GNU_SOURCE
selftests/user_events: Compiled with -D_GNU_SOURCE
tools/testing/selftests/alsa/Makefile | 1 +
tools/testing/selftests/hid/Makefile | 2 +-
tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c | 2 ++
tools/testing/selftests/nci/Makefile | 2 +-
tools/testing/selftests/net/bind_wildcard.c | 1 +
tools/testing/selftests/net/ip_local_port_range.c | 1 +
tools/testing/selftests/net/reuseaddr_ports_exhausted.c | 2 ++
tools/testing/selftests/prctl/Makefile | 1 +
tools/testing/selftests/rtc/Makefile | 2 +-
tools/testing/selftests/sgx/Makefile | 2 +-
tools/testing/selftests/sgx/sigstruct.c | 2 --
tools/testing/selftests/tdx/Makefile | 2 +-
tools/testing/selftests/user_events/Makefile | 2 +-
tools/testing/selftests/user_events/abi_test.c | 1 -
14 files changed, 14 insertions(+), 9 deletions(-)
--
2.45.0.rc0.197.gbae5840b3b-goog
^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH v1 01/10] selftests/sgx: Compile with -D_GNU_SOURCE
2024-04-30 23:50 [PATCH v1 00/10] Define _GNU_SOURCE for sources using Edward Liaw
@ 2024-04-30 23:50 ` Edward Liaw
2024-05-03 1:46 ` Jarkko Sakkinen
2024-04-30 23:50 ` [PATCH v1 02/10] selftests/alsa: " Edward Liaw
` (9 subsequent siblings)
10 siblings, 1 reply; 18+ messages in thread
From: Edward Liaw @ 2024-04-30 23:50 UTC (permalink / raw)
To: shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Edward Liaw, Andrew Morton, Muhammad Usama Anjum
Cc: linux-kernel, linux-kselftest, kernel-team, linux-sound,
linux-input, kvm, netdev, linux-rtc, linux-sgx,
kernel test robot
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
asprintf into kselftest_harness.h, which is a GNU extension and needs
_GNU_SOURCE to either be defined prior to including headers or with the
-D_GNU_SOURCE flag passed to the compiler.
Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202404301040.3bea5782-oliver.sang@intel.com
Signed-off-by: Edward Liaw <edliaw@google.com>
---
tools/testing/selftests/sgx/Makefile | 2 +-
tools/testing/selftests/sgx/sigstruct.c | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/tools/testing/selftests/sgx/Makefile b/tools/testing/selftests/sgx/Makefile
index 867f88ce2570..272da790d9ae 100644
--- a/tools/testing/selftests/sgx/Makefile
+++ b/tools/testing/selftests/sgx/Makefile
@@ -12,7 +12,7 @@ OBJCOPY := $(CROSS_COMPILE)objcopy
endif
INCLUDES := -I$(top_srcdir)/tools/include
-HOST_CFLAGS := -Wall -Werror -g $(INCLUDES) -fPIC
+HOST_CFLAGS := -Wall -Werror -g $(INCLUDES) -fPIC -D_GNU_SOURCE
HOST_LDFLAGS := -z noexecstack -lcrypto
ENCL_CFLAGS += -Wall -Werror -static-pie -nostdlib -ffreestanding -fPIE \
-fno-stack-protector -mrdrnd $(INCLUDES)
diff --git a/tools/testing/selftests/sgx/sigstruct.c b/tools/testing/selftests/sgx/sigstruct.c
index d73b29becf5b..a0c2de7c5302 100644
--- a/tools/testing/selftests/sgx/sigstruct.c
+++ b/tools/testing/selftests/sgx/sigstruct.c
@@ -1,7 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 2016-20 Intel Corporation. */
-
-#define _GNU_SOURCE
#include <assert.h>
#include <getopt.h>
#include <stdbool.h>
--
2.45.0.rc0.197.gbae5840b3b-goog
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v1 02/10] selftests/alsa: Compile with -D_GNU_SOURCE
2024-04-30 23:50 [PATCH v1 00/10] Define _GNU_SOURCE for sources using Edward Liaw
2024-04-30 23:50 ` [PATCH v1 01/10] selftests/sgx: Compile with -D_GNU_SOURCE Edward Liaw
@ 2024-04-30 23:50 ` Edward Liaw
2024-04-30 23:50 ` [PATCH v1 03/10] selftests/hid: " Edward Liaw
` (8 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: Edward Liaw @ 2024-04-30 23:50 UTC (permalink / raw)
To: shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Edward Liaw, Andrew Morton, Muhammad Usama Anjum
Cc: linux-kernel, linux-kselftest, kernel-team, linux-sound,
linux-input, kvm, netdev, linux-rtc, linux-sgx
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
asprintf into kselftest_harness.h, which is a GNU extension and needs
_GNU_SOURCE to either be defined prior to including headers or with the
-D_GNU_SOURCE flag passed to the compiler.
Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
Signed-off-by: Edward Liaw <edliaw@google.com>
---
tools/testing/selftests/alsa/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/alsa/Makefile b/tools/testing/selftests/alsa/Makefile
index 5af9ba8a4645..3a0fae2bea39 100644
--- a/tools/testing/selftests/alsa/Makefile
+++ b/tools/testing/selftests/alsa/Makefile
@@ -6,6 +6,7 @@ LDLIBS += $(shell pkg-config --libs alsa)
ifeq ($(LDLIBS),)
LDLIBS += -lasound
endif
+CFLAGS += -D_GNU_SOURCE
CFLAGS += -L$(OUTPUT) -Wl,-rpath=./
LDLIBS+=-lpthread
--
2.45.0.rc0.197.gbae5840b3b-goog
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v1 03/10] selftests/hid: Compile with -D_GNU_SOURCE
2024-04-30 23:50 [PATCH v1 00/10] Define _GNU_SOURCE for sources using Edward Liaw
2024-04-30 23:50 ` [PATCH v1 01/10] selftests/sgx: Compile with -D_GNU_SOURCE Edward Liaw
2024-04-30 23:50 ` [PATCH v1 02/10] selftests/alsa: " Edward Liaw
@ 2024-04-30 23:50 ` Edward Liaw
2024-04-30 23:50 ` [PATCH v1 04/10] selftests/kvm: Define _GNU_SOURCE Edward Liaw
` (7 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: Edward Liaw @ 2024-04-30 23:50 UTC (permalink / raw)
To: shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Edward Liaw, Andrew Morton, Muhammad Usama Anjum
Cc: linux-kernel, linux-kselftest, kernel-team, linux-sound,
linux-input, kvm, netdev, linux-rtc, linux-sgx
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
asprintf into kselftest_harness.h, which is a GNU extension and needs
_GNU_SOURCE to either be defined prior to including headers or with the
-D_GNU_SOURCE flag passed to the compiler.
Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
Signed-off-by: Edward Liaw <edliaw@google.com>
---
tools/testing/selftests/hid/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/hid/Makefile b/tools/testing/selftests/hid/Makefile
index 2b5ea18bde38..33170d23315b 100644
--- a/tools/testing/selftests/hid/Makefile
+++ b/tools/testing/selftests/hid/Makefile
@@ -21,7 +21,7 @@ CXX ?= $(CROSS_COMPILE)g++
HOSTPKG_CONFIG := pkg-config
-CFLAGS += -g -O0 -rdynamic -Wall -Werror -I$(OUTPUT)
+CFLAGS += -g -O0 -rdynamic -Wall -Werror -D_GNU_SOURCE -I$(OUTPUT)
CFLAGS += -I$(OUTPUT)/tools/include
LDLIBS += -lelf -lz -lrt -lpthread
--
2.45.0.rc0.197.gbae5840b3b-goog
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v1 04/10] selftests/kvm: Define _GNU_SOURCE
2024-04-30 23:50 [PATCH v1 00/10] Define _GNU_SOURCE for sources using Edward Liaw
` (2 preceding siblings ...)
2024-04-30 23:50 ` [PATCH v1 03/10] selftests/hid: " Edward Liaw
@ 2024-04-30 23:50 ` Edward Liaw
2024-05-01 13:26 ` Sean Christopherson
2024-04-30 23:50 ` [PATCH v1 05/10] selftests/nci: Compile with -D_GNU_SOURCE Edward Liaw
` (6 subsequent siblings)
10 siblings, 1 reply; 18+ messages in thread
From: Edward Liaw @ 2024-04-30 23:50 UTC (permalink / raw)
To: shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Edward Liaw, Andrew Morton, Muhammad Usama Anjum
Cc: linux-kernel, linux-kselftest, kernel-team, linux-sound,
linux-input, kvm, netdev, linux-rtc, linux-sgx
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
asprintf into kselftest_harness.h, which is a GNU extension and needs
_GNU_SOURCE to either be defined prior to including headers or with the
-D_GNU_SOURCE flag passed to the compiler.
Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
Signed-off-by: Edward Liaw <edliaw@google.com>
---
tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c b/tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c
index f3c2239228b1..7422e8ff6bd3 100644
--- a/tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c
+++ b/tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c
@@ -4,6 +4,8 @@
*
* Tests for KVM paravirtual feature disablement
*/
+#define _GNU_SOURCE
+
#include <asm/kvm_para.h>
#include <linux/kvm_para.h>
#include <linux/stringify.h>
--
2.45.0.rc0.197.gbae5840b3b-goog
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v1 05/10] selftests/nci: Compile with -D_GNU_SOURCE
2024-04-30 23:50 [PATCH v1 00/10] Define _GNU_SOURCE for sources using Edward Liaw
` (3 preceding siblings ...)
2024-04-30 23:50 ` [PATCH v1 04/10] selftests/kvm: Define _GNU_SOURCE Edward Liaw
@ 2024-04-30 23:50 ` Edward Liaw
2024-04-30 23:50 ` [PATCH v1 06/10] selftests/net: Define _GNU_SOURCE Edward Liaw
` (5 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: Edward Liaw @ 2024-04-30 23:50 UTC (permalink / raw)
To: shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Edward Liaw, Andrew Morton, Muhammad Usama Anjum
Cc: linux-kernel, linux-kselftest, kernel-team, linux-sound,
linux-input, kvm, netdev, linux-rtc, linux-sgx
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
asprintf into kselftest_harness.h, which is a GNU extension and needs
_GNU_SOURCE to either be defined prior to including headers or with the
-D_GNU_SOURCE flag passed to the compiler.
Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
Signed-off-by: Edward Liaw <edliaw@google.com>
---
tools/testing/selftests/nci/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/nci/Makefile b/tools/testing/selftests/nci/Makefile
index 47669a1d6a59..f615f5d71f7f 100644
--- a/tools/testing/selftests/nci/Makefile
+++ b/tools/testing/selftests/nci/Makefile
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-CFLAGS += -Wl,-no-as-needed -Wall
+CFLAGS += -Wl,-no-as-needed -Wall -D_GNU_SOURCE
LDFLAGS += -lpthread
TEST_GEN_PROGS := nci_dev
--
2.45.0.rc0.197.gbae5840b3b-goog
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v1 06/10] selftests/net: Define _GNU_SOURCE
2024-04-30 23:50 [PATCH v1 00/10] Define _GNU_SOURCE for sources using Edward Liaw
` (4 preceding siblings ...)
2024-04-30 23:50 ` [PATCH v1 05/10] selftests/nci: Compile with -D_GNU_SOURCE Edward Liaw
@ 2024-04-30 23:50 ` Edward Liaw
2024-04-30 23:50 ` [PATCH v1 07/10] selftests/prctl: Compile with -D_GNU_SOURCE Edward Liaw
` (4 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: Edward Liaw @ 2024-04-30 23:50 UTC (permalink / raw)
To: shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Edward Liaw, Andrew Morton, Muhammad Usama Anjum
Cc: linux-kernel, linux-kselftest, kernel-team, linux-sound,
linux-input, kvm, netdev, linux-rtc, linux-sgx
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
asprintf into kselftest_harness.h, which is a GNU extension and needs
_GNU_SOURCE to either be defined prior to including headers or with the
-D_GNU_SOURCE flag passed to the compiler.
Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
Signed-off-by: Edward Liaw <edliaw@google.com>
---
tools/testing/selftests/net/bind_wildcard.c | 1 +
tools/testing/selftests/net/ip_local_port_range.c | 1 +
tools/testing/selftests/net/reuseaddr_ports_exhausted.c | 2 ++
3 files changed, 4 insertions(+)
diff --git a/tools/testing/selftests/net/bind_wildcard.c b/tools/testing/selftests/net/bind_wildcard.c
index b7b54d646b93..be0773cbc15b 100644
--- a/tools/testing/selftests/net/bind_wildcard.c
+++ b/tools/testing/selftests/net/bind_wildcard.c
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright Amazon.com Inc. or its affiliates. */
+#define _GNU_SOURCE
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/tools/testing/selftests/net/ip_local_port_range.c b/tools/testing/selftests/net/ip_local_port_range.c
index 193b82745fd8..08fbd3449ffa 100644
--- a/tools/testing/selftests/net/ip_local_port_range.c
+++ b/tools/testing/selftests/net/ip_local_port_range.c
@@ -6,6 +6,7 @@
* Tests assume that net.ipv4.ip_local_port_range is [40000, 49999].
* Don't run these directly but with ip_local_port_range.sh script.
*/
+#define _GNU_SOURCE
#include <fcntl.h>
#include <netinet/ip.h>
diff --git a/tools/testing/selftests/net/reuseaddr_ports_exhausted.c b/tools/testing/selftests/net/reuseaddr_ports_exhausted.c
index 066efd30e294..a5c40528837f 100644
--- a/tools/testing/selftests/net/reuseaddr_ports_exhausted.c
+++ b/tools/testing/selftests/net/reuseaddr_ports_exhausted.c
@@ -17,6 +17,8 @@
*
* Author: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
*/
+#define _GNU_SOURCE
+
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
--
2.45.0.rc0.197.gbae5840b3b-goog
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v1 07/10] selftests/prctl: Compile with -D_GNU_SOURCE
2024-04-30 23:50 [PATCH v1 00/10] Define _GNU_SOURCE for sources using Edward Liaw
` (5 preceding siblings ...)
2024-04-30 23:50 ` [PATCH v1 06/10] selftests/net: Define _GNU_SOURCE Edward Liaw
@ 2024-04-30 23:50 ` Edward Liaw
2024-04-30 23:50 ` [PATCH v1 08/10] selftests/rtc: " Edward Liaw
` (3 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: Edward Liaw @ 2024-04-30 23:50 UTC (permalink / raw)
To: shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Edward Liaw, Andrew Morton, Muhammad Usama Anjum
Cc: linux-kernel, linux-kselftest, kernel-team, linux-sound,
linux-input, kvm, netdev, linux-rtc, linux-sgx
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
asprintf into kselftest_harness.h, which is a GNU extension and needs
_GNU_SOURCE to either be defined prior to including headers or with the
-D_GNU_SOURCE flag passed to the compiler.
Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
Signed-off-by: Edward Liaw <edliaw@google.com>
---
tools/testing/selftests/prctl/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/prctl/Makefile b/tools/testing/selftests/prctl/Makefile
index 01dc90fbb509..23d319a7a322 100644
--- a/tools/testing/selftests/prctl/Makefile
+++ b/tools/testing/selftests/prctl/Makefile
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
+CFLAGS += -D_GNU_SOURCE
ifndef CROSS_COMPILE
uname_M := $(shell uname -m 2>/dev/null || echo not)
ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
--
2.45.0.rc0.197.gbae5840b3b-goog
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v1 08/10] selftests/rtc: Compile with -D_GNU_SOURCE
2024-04-30 23:50 [PATCH v1 00/10] Define _GNU_SOURCE for sources using Edward Liaw
` (6 preceding siblings ...)
2024-04-30 23:50 ` [PATCH v1 07/10] selftests/prctl: Compile with -D_GNU_SOURCE Edward Liaw
@ 2024-04-30 23:50 ` Edward Liaw
2024-04-30 23:50 ` [PATCH v1 09/10] selftests/tdx: " Edward Liaw
` (2 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: Edward Liaw @ 2024-04-30 23:50 UTC (permalink / raw)
To: shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Edward Liaw, Andrew Morton, Muhammad Usama Anjum
Cc: linux-kernel, linux-kselftest, kernel-team, linux-sound,
linux-input, kvm, netdev, linux-rtc, linux-sgx
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
asprintf into kselftest_harness.h, which is a GNU extension and needs
_GNU_SOURCE to either be defined prior to including headers or with the
-D_GNU_SOURCE flag passed to the compiler.
Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
Signed-off-by: Edward Liaw <edliaw@google.com>
---
tools/testing/selftests/rtc/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/rtc/Makefile b/tools/testing/selftests/rtc/Makefile
index 55198ecc04db..4ef7ee969003 100644
--- a/tools/testing/selftests/rtc/Makefile
+++ b/tools/testing/selftests/rtc/Makefile
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-CFLAGS += -O3 -Wl,-no-as-needed -Wall
+CFLAGS += -O3 -Wl,-no-as-needed -Wall -D_GNU_SOURCE
LDLIBS += -lrt -lpthread -lm
TEST_GEN_PROGS = rtctest
--
2.45.0.rc0.197.gbae5840b3b-goog
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v1 09/10] selftests/tdx: Compile with -D_GNU_SOURCE
2024-04-30 23:50 [PATCH v1 00/10] Define _GNU_SOURCE for sources using Edward Liaw
` (7 preceding siblings ...)
2024-04-30 23:50 ` [PATCH v1 08/10] selftests/rtc: " Edward Liaw
@ 2024-04-30 23:50 ` Edward Liaw
2024-04-30 23:50 ` [PATCH v1 10/10] selftests/user_events: Compiled " Edward Liaw
2024-05-01 1:59 ` [PATCH v1 00/10] Define _GNU_SOURCE for sources using Mark Brown
10 siblings, 0 replies; 18+ messages in thread
From: Edward Liaw @ 2024-04-30 23:50 UTC (permalink / raw)
To: shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Edward Liaw, Andrew Morton, Muhammad Usama Anjum
Cc: linux-kernel, linux-kselftest, kernel-team, linux-sound,
linux-input, kvm, netdev, linux-rtc, linux-sgx
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
asprintf into kselftest_harness.h, which is a GNU extension and needs
_GNU_SOURCE to either be defined prior to including headers or with the
-D_GNU_SOURCE flag passed to the compiler.
Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
Signed-off-by: Edward Liaw <edliaw@google.com>
---
tools/testing/selftests/tdx/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/tdx/Makefile b/tools/testing/selftests/tdx/Makefile
index 306e9c4d5ef7..5a084a792a21 100644
--- a/tools/testing/selftests/tdx/Makefile
+++ b/tools/testing/selftests/tdx/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-CFLAGS += -O3 -Wl,-no-as-needed -Wall $(KHDR_INCLUDES) -static
+CFLAGS += -O3 -Wl,-no-as-needed -Wall -D_GNU_SOURCE $(KHDR_INCLUDES) -static
TEST_GEN_PROGS := tdx_guest_test
--
2.45.0.rc0.197.gbae5840b3b-goog
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v1 10/10] selftests/user_events: Compiled with -D_GNU_SOURCE
2024-04-30 23:50 [PATCH v1 00/10] Define _GNU_SOURCE for sources using Edward Liaw
` (8 preceding siblings ...)
2024-04-30 23:50 ` [PATCH v1 09/10] selftests/tdx: " Edward Liaw
@ 2024-04-30 23:50 ` Edward Liaw
2024-05-01 1:59 ` [PATCH v1 00/10] Define _GNU_SOURCE for sources using Mark Brown
10 siblings, 0 replies; 18+ messages in thread
From: Edward Liaw @ 2024-04-30 23:50 UTC (permalink / raw)
To: shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Edward Liaw, Andrew Morton, Muhammad Usama Anjum
Cc: linux-kernel, linux-kselftest, kernel-team, linux-sound,
linux-input, kvm, netdev, linux-rtc, linux-sgx
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
asprintf into kselftest_harness.h, which is a GNU extension and needs
_GNU_SOURCE to either be defined prior to including headers or with the
-D_GNU_SOURCE flag passed to the compiler.
Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
Signed-off-by: Edward Liaw <edliaw@google.com>
---
tools/testing/selftests/user_events/Makefile | 2 +-
tools/testing/selftests/user_events/abi_test.c | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/testing/selftests/user_events/Makefile b/tools/testing/selftests/user_events/Makefile
index 10fcd0066203..344a71769113 100644
--- a/tools/testing/selftests/user_events/Makefile
+++ b/tools/testing/selftests/user_events/Makefile
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-CFLAGS += -Wl,-no-as-needed -Wall $(KHDR_INCLUDES)
+CFLAGS += -Wl,-no-as-needed -Wall -D_GNU_SOURCE $(KHDR_INCLUDES)
LDLIBS += -lrt -lpthread -lm
TEST_GEN_PROGS = ftrace_test dyn_test perf_test abi_test
diff --git a/tools/testing/selftests/user_events/abi_test.c b/tools/testing/selftests/user_events/abi_test.c
index 7288a05136ba..3e3a0327afdc 100644
--- a/tools/testing/selftests/user_events/abi_test.c
+++ b/tools/testing/selftests/user_events/abi_test.c
@@ -5,7 +5,6 @@
* Copyright (c) 2022 Beau Belgrave <beaub@linux.microsoft.com>
*/
-#define _GNU_SOURCE
#include <sched.h>
#include <errno.h>
--
2.45.0.rc0.197.gbae5840b3b-goog
^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH v1 00/10] Define _GNU_SOURCE for sources using
2024-04-30 23:50 [PATCH v1 00/10] Define _GNU_SOURCE for sources using Edward Liaw
` (9 preceding siblings ...)
2024-04-30 23:50 ` [PATCH v1 10/10] selftests/user_events: Compiled " Edward Liaw
@ 2024-05-01 1:59 ` Mark Brown
2024-05-01 5:40 ` Muhammad Usama Anjum
2024-05-01 13:24 ` Sean Christopherson
10 siblings, 2 replies; 18+ messages in thread
From: Mark Brown @ 2024-05-01 1:59 UTC (permalink / raw)
To: Edward Liaw
Cc: shuah, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Andrew Morton, Muhammad Usama Anjum, linux-kernel,
linux-kselftest, kernel-team, linux-sound, linux-input, kvm,
netdev, linux-rtc, linux-sgx
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
On Tue, Apr 30, 2024 at 11:50:09PM +0000, Edward Liaw wrote:
> 809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
> asprintf into kselftest_harness.h, which is a GNU extension and needs
> _GNU_SOURCE to either be defined prior to including headers or with the
> -D_GNU_SOURCE flag passed to the compiler.
This seems like something that should be handled centrally rather than
having to go round and audit the users every time some update is made.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v1 00/10] Define _GNU_SOURCE for sources using
2024-05-01 1:59 ` [PATCH v1 00/10] Define _GNU_SOURCE for sources using Mark Brown
@ 2024-05-01 5:40 ` Muhammad Usama Anjum
2024-05-07 17:53 ` Edward Liaw
2024-05-01 13:24 ` Sean Christopherson
1 sibling, 1 reply; 18+ messages in thread
From: Muhammad Usama Anjum @ 2024-05-01 5:40 UTC (permalink / raw)
To: Mark Brown, Edward Liaw
Cc: Muhammad Usama Anjum, shuah, Jaroslav Kysela, Takashi Iwai,
Jiri Kosina, Benjamin Tissoires, Sean Christopherson,
Paolo Bonzini, Bongsu Jeon, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen,
Dave Hansen, Andrew Morton, linux-kernel, linux-kselftest,
kernel-team, linux-sound, linux-input, kvm, netdev, linux-rtc,
linux-sgx
Thanks for the fixes.
On 5/1/24 6:59 AM, Mark Brown wrote:
> On Tue, Apr 30, 2024 at 11:50:09PM +0000, Edward Liaw wrote:
>> 809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
>> asprintf into kselftest_harness.h, which is a GNU extension and needs
>> _GNU_SOURCE to either be defined prior to including headers or with the
>> -D_GNU_SOURCE flag passed to the compiler.
>
> This seems like something that should be handled centrally rather than
> having to go round and audit the users every time some update is made.
The easiest way I could think of is to add -D_GNU_SOURCE to KHDR_HEADERS
definition in tools/testing/selftests/Makefile. It wouldn't be obvious from
KHDR_HEADERS name that there could be other flags in it as well though.
--
BR,
Muhammad Usama Anjum
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v1 00/10] Define _GNU_SOURCE for sources using
2024-05-01 1:59 ` [PATCH v1 00/10] Define _GNU_SOURCE for sources using Mark Brown
2024-05-01 5:40 ` Muhammad Usama Anjum
@ 2024-05-01 13:24 ` Sean Christopherson
2024-05-02 22:41 ` Kees Cook
1 sibling, 1 reply; 18+ messages in thread
From: Sean Christopherson @ 2024-05-01 13:24 UTC (permalink / raw)
To: Mark Brown
Cc: Edward Liaw, shuah, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Paolo Bonzini, Bongsu Jeon, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Alexandre Belloni,
Jarkko Sakkinen, Dave Hansen, Andrew Morton,
Muhammad Usama Anjum, linux-kernel, linux-kselftest, kernel-team,
linux-sound, linux-input, kvm, netdev, linux-rtc, linux-sgx
On Wed, May 01, 2024, Mark Brown wrote:
> On Tue, Apr 30, 2024 at 11:50:09PM +0000, Edward Liaw wrote:
> > 809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
> > asprintf into kselftest_harness.h, which is a GNU extension and needs
> > _GNU_SOURCE to either be defined prior to including headers or with the
> > -D_GNU_SOURCE flag passed to the compiler.
>
> This seems like something that should be handled centrally rather than
> having to go round and audit the users every time some update is made.
+1.
And if for some reason unilaterally defining _GNU_SOURCE in
tools/testing/selftests/lib.mk isn't an option, we should at least have
kselftest_harness.h assert instead of making a futile attempt to provide its own
definition, e.g.
diff --git a/tools/testing/selftests/kselftest_harness.h b/tools/testing/selftests/kselftest_harness.h
index 4fd735e48ee7..6741b4f20f25 100644
--- a/tools/testing/selftests/kselftest_harness.h
+++ b/tools/testing/selftests/kselftest_harness.h
@@ -51,7 +51,7 @@
#define __KSELFTEST_HARNESS_H
#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
+static_assert(0, "Using the kselftests harness requires building with _GNU_SOURCE");
#endif
#include <asm/types.h>
#include <ctype.h>
^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH v1 04/10] selftests/kvm: Define _GNU_SOURCE
2024-04-30 23:50 ` [PATCH v1 04/10] selftests/kvm: Define _GNU_SOURCE Edward Liaw
@ 2024-05-01 13:26 ` Sean Christopherson
0 siblings, 0 replies; 18+ messages in thread
From: Sean Christopherson @ 2024-05-01 13:26 UTC (permalink / raw)
To: Edward Liaw
Cc: shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Paolo Bonzini, Bongsu Jeon, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Alexandre Belloni,
Jarkko Sakkinen, Dave Hansen, Andrew Morton,
Muhammad Usama Anjum, linux-kernel, linux-kselftest, kernel-team,
linux-sound, linux-input, kvm, netdev, linux-rtc, linux-sgx
On Tue, Apr 30, 2024, Edward Liaw wrote:
> 809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
> asprintf into kselftest_harness.h, which is a GNU extension and needs
> _GNU_SOURCE to either be defined prior to including headers or with the
> -D_GNU_SOURCE flag passed to the compiler.
>
> Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
> Signed-off-by: Edward Liaw <edliaw@google.com>
> ---
> tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c | 2 ++
> 1 file changed, 2 insertions(+)
Regardless of where this series ends up going, this patch can be dropped as I
already have a fix applied for all KVM selftests[*].
Thanks!
[*] https://lore.kernel.org/all/20240423190308.2883084-1-seanjc@google.com
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v1 00/10] Define _GNU_SOURCE for sources using
2024-05-01 13:24 ` Sean Christopherson
@ 2024-05-02 22:41 ` Kees Cook
0 siblings, 0 replies; 18+ messages in thread
From: Kees Cook @ 2024-05-02 22:41 UTC (permalink / raw)
To: Sean Christopherson
Cc: Mark Brown, Edward Liaw, shuah, Jaroslav Kysela, Takashi Iwai,
Jiri Kosina, Benjamin Tissoires, Paolo Bonzini, Bongsu Jeon,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Alexandre Belloni, Jarkko Sakkinen, Dave Hansen, Andrew Morton,
Muhammad Usama Anjum, linux-kernel, linux-kselftest, kernel-team,
linux-sound, linux-input, kvm, netdev, linux-rtc, linux-sgx
On Wed, May 01, 2024 at 06:24:36AM -0700, Sean Christopherson wrote:
> On Wed, May 01, 2024, Mark Brown wrote:
> > On Tue, Apr 30, 2024 at 11:50:09PM +0000, Edward Liaw wrote:
> > > 809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
> > > asprintf into kselftest_harness.h, which is a GNU extension and needs
> > > _GNU_SOURCE to either be defined prior to including headers or with the
> > > -D_GNU_SOURCE flag passed to the compiler.
> >
> > This seems like something that should be handled centrally rather than
> > having to go round and audit the users every time some update is made.
>
> +1.
>
> And if for some reason unilaterally defining _GNU_SOURCE in
> tools/testing/selftests/lib.mk isn't an option, we should at least have
> kselftest_harness.h assert instead of making a futile attempt to provide its own
> definition, e.g.
>
> diff --git a/tools/testing/selftests/kselftest_harness.h b/tools/testing/selftests/kselftest_harness.h
> index 4fd735e48ee7..6741b4f20f25 100644
> --- a/tools/testing/selftests/kselftest_harness.h
> +++ b/tools/testing/selftests/kselftest_harness.h
> @@ -51,7 +51,7 @@
> #define __KSELFTEST_HARNESS_H
>
> #ifndef _GNU_SOURCE
> -#define _GNU_SOURCE
> +static_assert(0, "Using the kselftests harness requires building with _GNU_SOURCE");
> #endif
> #include <asm/types.h>
> #include <ctype.h>
Yeah, let's fix centrally. I like this approach.
--
Kees Cook
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v1 01/10] selftests/sgx: Compile with -D_GNU_SOURCE
2024-04-30 23:50 ` [PATCH v1 01/10] selftests/sgx: Compile with -D_GNU_SOURCE Edward Liaw
@ 2024-05-03 1:46 ` Jarkko Sakkinen
0 siblings, 0 replies; 18+ messages in thread
From: Jarkko Sakkinen @ 2024-05-03 1:46 UTC (permalink / raw)
To: Edward Liaw, shuah, Mark Brown, Jaroslav Kysela, Takashi Iwai,
Jiri Kosina, Benjamin Tissoires, Sean Christopherson,
Paolo Bonzini, Bongsu Jeon, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Alexandre Belloni, Dave Hansen,
Andrew Morton, Muhammad Usama Anjum
Cc: linux-kernel, linux-kselftest, kernel-team, linux-sound,
linux-input, kvm, netdev, linux-rtc, linux-sgx,
kernel test robot
On Wed May 1, 2024 at 2:50 AM EEST, Edward Liaw wrote:
> 809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
> asprintf into kselftest_harness.h, which is a GNU extension and needs
> _GNU_SOURCE to either be defined prior to including headers or with the
> -D_GNU_SOURCE flag passed to the compiler.
>
> Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
> Reported-by: kernel test robot <oliver.sang@intel.com>
> Closes: https://lore.kernel.org/oe-lkp/202404301040.3bea5782-oliver.sang@intel.com
> Signed-off-by: Edward Liaw <edliaw@google.com>
> ---
> tools/testing/selftests/sgx/Makefile | 2 +-
> tools/testing/selftests/sgx/sigstruct.c | 2 --
> 2 files changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/tools/testing/selftests/sgx/Makefile b/tools/testing/selftests/sgx/Makefile
> index 867f88ce2570..272da790d9ae 100644
> --- a/tools/testing/selftests/sgx/Makefile
> +++ b/tools/testing/selftests/sgx/Makefile
> @@ -12,7 +12,7 @@ OBJCOPY := $(CROSS_COMPILE)objcopy
> endif
>
> INCLUDES := -I$(top_srcdir)/tools/include
> -HOST_CFLAGS := -Wall -Werror -g $(INCLUDES) -fPIC
> +HOST_CFLAGS := -Wall -Werror -g $(INCLUDES) -fPIC -D_GNU_SOURCE
> HOST_LDFLAGS := -z noexecstack -lcrypto
> ENCL_CFLAGS += -Wall -Werror -static-pie -nostdlib -ffreestanding -fPIE \
> -fno-stack-protector -mrdrnd $(INCLUDES)
> diff --git a/tools/testing/selftests/sgx/sigstruct.c b/tools/testing/selftests/sgx/sigstruct.c
> index d73b29becf5b..a0c2de7c5302 100644
> --- a/tools/testing/selftests/sgx/sigstruct.c
> +++ b/tools/testing/selftests/sgx/sigstruct.c
> @@ -1,7 +1,5 @@
> // SPDX-License-Identifier: GPL-2.0
> /* Copyright(c) 2016-20 Intel Corporation. */
> -
> -#define _GNU_SOURCE
> #include <assert.h>
> #include <getopt.h>
> #include <stdbool.h>
> --
> 2.45.0.rc0.197.gbae5840b3b-goog
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
BR, Jarkko
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v1 00/10] Define _GNU_SOURCE for sources using
2024-05-01 5:40 ` Muhammad Usama Anjum
@ 2024-05-07 17:53 ` Edward Liaw
0 siblings, 0 replies; 18+ messages in thread
From: Edward Liaw @ 2024-05-07 17:53 UTC (permalink / raw)
To: Muhammad Usama Anjum
Cc: Mark Brown, shuah, Jaroslav Kysela, Takashi Iwai, Jiri Kosina,
Benjamin Tissoires, Sean Christopherson, Paolo Bonzini,
Bongsu Jeon, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Alexandre Belloni, Jarkko Sakkinen, Dave Hansen,
Andrew Morton, linux-kernel, linux-kselftest, kernel-team,
linux-sound, linux-input, kvm, netdev, linux-rtc, linux-sgx
On Tue, Apr 30, 2024 at 10:41 PM Muhammad Usama Anjum
<usama.anjum@collabora.com> wrote:
>
> Thanks for the fixes.
>
> On 5/1/24 6:59 AM, Mark Brown wrote:
> > On Tue, Apr 30, 2024 at 11:50:09PM +0000, Edward Liaw wrote:
> >> 809216233555 ("selftests/harness: remove use of LINE_MAX") introduced
> >> asprintf into kselftest_harness.h, which is a GNU extension and needs
> >> _GNU_SOURCE to either be defined prior to including headers or with the
> >> -D_GNU_SOURCE flag passed to the compiler.
> >
> > This seems like something that should be handled centrally rather than
> > having to go round and audit the users every time some update is made.
> The easiest way I could think of is to add -D_GNU_SOURCE to KHDR_HEADERS
> definition in tools/testing/selftests/Makefile. It wouldn't be obvious from
> KHDR_HEADERS name that there could be other flags in it as well though.
I'll try this approach and see. It looks like there are also some
Makefiles that don't currently include KHDR_INCLUDES.
Also, this will cause _GNU_SOURCE redefined warnings wherever #define
_GNU_SOURCE is present. Should I also delete them or wrap them with
#ifndef?
>
>
> --
> BR,
> Muhammad Usama Anjum
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2024-05-07 17:53 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-30 23:50 [PATCH v1 00/10] Define _GNU_SOURCE for sources using Edward Liaw
2024-04-30 23:50 ` [PATCH v1 01/10] selftests/sgx: Compile with -D_GNU_SOURCE Edward Liaw
2024-05-03 1:46 ` Jarkko Sakkinen
2024-04-30 23:50 ` [PATCH v1 02/10] selftests/alsa: " Edward Liaw
2024-04-30 23:50 ` [PATCH v1 03/10] selftests/hid: " Edward Liaw
2024-04-30 23:50 ` [PATCH v1 04/10] selftests/kvm: Define _GNU_SOURCE Edward Liaw
2024-05-01 13:26 ` Sean Christopherson
2024-04-30 23:50 ` [PATCH v1 05/10] selftests/nci: Compile with -D_GNU_SOURCE Edward Liaw
2024-04-30 23:50 ` [PATCH v1 06/10] selftests/net: Define _GNU_SOURCE Edward Liaw
2024-04-30 23:50 ` [PATCH v1 07/10] selftests/prctl: Compile with -D_GNU_SOURCE Edward Liaw
2024-04-30 23:50 ` [PATCH v1 08/10] selftests/rtc: " Edward Liaw
2024-04-30 23:50 ` [PATCH v1 09/10] selftests/tdx: " Edward Liaw
2024-04-30 23:50 ` [PATCH v1 10/10] selftests/user_events: Compiled " Edward Liaw
2024-05-01 1:59 ` [PATCH v1 00/10] Define _GNU_SOURCE for sources using Mark Brown
2024-05-01 5:40 ` Muhammad Usama Anjum
2024-05-07 17:53 ` Edward Liaw
2024-05-01 13:24 ` Sean Christopherson
2024-05-02 22:41 ` Kees Cook
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.