blob: 715f51a2f5a69d2c3d9de9b3bbede9a1828da818 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From 94ad2d17986ad9c73efdc9f42a773a217af8ad38 Mon Sep 17 00:00:00 2001
From: Brian Gianforcaro <b.gianfo@gmail.com>
Date: Fri, 18 Mar 2022 02:36:55 -0700
Subject: [PATCH 13/14] serenity: Disable prctl stressor on serenity
---
stress-usersyscall.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/stress-usersyscall.c b/stress-usersyscall.c
index 26732db..a4eb903 100644
--- a/stress-usersyscall.c
+++ b/stress-usersyscall.c
@@ -26,7 +26,8 @@ static const stress_help_t help[] = {
};
#if defined(SA_SIGINFO) && \
- defined(HAVE_SYS_PRCTL_H)
+ defined(HAVE_SYS_PRCTL_H) && \
+ !defined(__serenity__)
#include <sys/prctl.h>
--
2.32.0
|