diff options
| author | Michael Forney <mforney@mforney.org> | 2019-10-04 17:11:30 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-10-04 17:11:30 -0700 |
| commit | 61465907d6a0e405f8c5ef9d50cbbfc7f4635da4 (patch) | |
| tree | a99336606d577ecd446ffbbb6cc61ef990008174 /pkg/strace/patch/0008-Avoid-unnecessary-VLAs.patch | |
| parent | 8e68690eee717c09d006d5e73c780e3d4316b36a (diff) | |
strace: Update to 5.3
Diffstat (limited to 'pkg/strace/patch/0008-Avoid-unnecessary-VLAs.patch')
| -rw-r--r-- | pkg/strace/patch/0008-Avoid-unnecessary-VLAs.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkg/strace/patch/0008-Avoid-unnecessary-VLAs.patch b/pkg/strace/patch/0008-Avoid-unnecessary-VLAs.patch index 974f2b31..888f924c 100644 --- a/pkg/strace/patch/0008-Avoid-unnecessary-VLAs.patch +++ b/pkg/strace/patch/0008-Avoid-unnecessary-VLAs.patch @@ -1,4 +1,4 @@ -From 28c7332d091ea05171da1c59b0a2739de4548bf7 Mon Sep 17 00:00:00 2001 +From b915ef95a47e0b85988e4091366001f8f3927912 Mon Sep 17 00:00:00 2001 From: Michael Forney <mforney@mforney.org> Date: Sun, 7 Jul 2019 21:58:46 -0700 Subject: [PATCH] Avoid unnecessary VLAs @@ -64,7 +64,7 @@ index d6191187..6ce9bc30 100644 if (!inet_ntop(diag_msg->idiag_family, diag_msg->id.idiag_dst, dst_buf, text_size)) diff --git a/syscall.c b/syscall.c -index e020b180..8983b3c4 100644 +index fadd3b55..ea63216c 100644 --- a/syscall.c +++ b/syscall.c @@ -293,7 +293,7 @@ decode_socket_subcall(struct tcb *tcp) @@ -77,10 +77,10 @@ index e020b180..8983b3c4 100644 if (umoven(tcp, tcp->u_arg[1], nargs * current_wordsize, buf) < 0) return; diff --git a/util.c b/util.c -index f0b578e3..dbacecd1 100644 +index 3c630e9e..671a5c10 100644 --- a/util.c +++ b/util.c -@@ -406,8 +406,7 @@ enum sock_proto +@@ -449,8 +449,7 @@ enum sock_proto getfdproto(struct tcb *tcp, int fd) { #ifdef HAVE_SYS_XATTR_H @@ -90,7 +90,7 @@ index f0b578e3..dbacecd1 100644 ssize_t r; char path[sizeof("/proc/%u/fd/%u") + 2 * sizeof(int)*3]; -@@ -415,7 +414,7 @@ getfdproto(struct tcb *tcp, int fd) +@@ -458,7 +457,7 @@ getfdproto(struct tcb *tcp, int fd) return SOCK_PROTO_UNKNOWN; xsprintf(path, "/proc/%u/fd/%u", tcp->pid, fd); @@ -100,5 +100,5 @@ index f0b578e3..dbacecd1 100644 return SOCK_PROTO_UNKNOWN; else { -- -2.22.0 +2.23.0 |
