summaryrefslogtreecommitdiff
path: root/Ports/stress-ng
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-04-28 12:39:12 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-28 14:19:45 +0200
commitaa792062cbb0d39092948a7e71fad59737c4ac66 (patch)
tree09ff716195ccdaa7771f7188d2c9c77fd2183946 /Ports/stress-ng
parentc841012f569dba4fa72e9eb8989bb847be4535bc (diff)
downloadserenity-aa792062cbb0d39092948a7e71fad59737c4ac66.zip
Kernel+LibC: Implement the socketpair() syscall
Diffstat (limited to 'Ports/stress-ng')
-rw-r--r--Ports/stress-ng/patches/0003-missing-networking-functionality.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/Ports/stress-ng/patches/0003-missing-networking-functionality.patch b/Ports/stress-ng/patches/0003-missing-networking-functionality.patch
index 792e2a6433..436d349bf9 100644
--- a/Ports/stress-ng/patches/0003-missing-networking-functionality.patch
+++ b/Ports/stress-ng/patches/0003-missing-networking-functionality.patch
@@ -79,18 +79,3 @@ diff -ur a/stress-resources.c b/stress-resources.c
static const int types[] = { SOCK_STREAM, SOCK_DGRAM };
static stress_info_t info[MAX_LOOPS];
#if defined(O_NOATIME)
-@@ -309,11 +309,13 @@
- if (!keep_stressing_flag())
- break;
-
-+#if 0
- if (socketpair(AF_UNIX, SOCK_STREAM, 0,
- info[i].fd_socketpair) < 0) {
- info[i].fd_socketpair[0] = -1;
- info[i].fd_socketpair[1] = -1;
- }
-+#endif
-
- #if defined(HAVE_USERFAULTFD)
- info[i].fd_uf = shim_userfaultfd(0);
-d