|
|
b48781 |
From e604d7bfd18cf5f29e6723091cc1db2945c918c9 Mon Sep 17 00:00:00 2001
|
|
|
b48781 |
From: Eugene Syromyatnikov <evgsyr@gmail.com>
|
|
|
b48781 |
Date: Tue, 28 Jun 2022 16:46:53 +0200
|
|
|
b48781 |
Subject: [PATCH] strauss: tips whitespace and phrasing cleanups
|
|
|
b48781 |
|
|
|
b48781 |
* src/strauss.c (tips_tricks_tweaks): Fix some whitespace and phrasing
|
|
|
b48781 |
issues.
|
|
|
b48781 |
---
|
|
|
b48781 |
src/strauss.c | 13 +++++++------
|
|
|
b48781 |
1 file changed, 7 insertions(+), 6 deletions(-)
|
|
|
b48781 |
|
|
|
b48781 |
Index: strace-5.18/src/strauss.c
|
|
|
b48781 |
===================================================================
|
|
|
b48781 |
--- strace-5.18.orig/src/strauss.c 2022-07-12 17:17:08.712197019 +0200
|
|
|
b48781 |
+++ strace-5.18/src/strauss.c 2022-07-12 17:17:20.685055717 +0200
|
|
|
b48781 |
@@ -128,8 +128,8 @@
|
|
|
b48781 |
{ "strace is about as old as the Linux kernel.",
|
|
|
b48781 |
"It has been originally written for SunOS",
|
|
|
b48781 |
"by Paul Kranenburg in 1991. The support",
|
|
|
b48781 |
- "for all OSes except Linux has been dropped",
|
|
|
b48781 |
- "since 2012, though, in strace 4.7." },
|
|
|
b48781 |
+ "for all OSes except Linux was dropped"
|
|
|
b48781 |
+ "in 2012, though, in strace 4.7." },
|
|
|
b48781 |
{ "strace is able to decode netlink messages.",
|
|
|
b48781 |
"It does so automatically for I/O performed",
|
|
|
b48781 |
"on netlink sockets. Try it yourself:", "",
|
|
|
b48781 |
@@ -187,7 +187,7 @@
|
|
|
b48781 |
"want to try --seccomp-bpf option, maybe you",
|
|
|
b48781 |
"will feel better." },
|
|
|
b48781 |
{ "-v is a shorthand for -e abbrev=none and not",
|
|
|
b48781 |
- " for -e verbose=all. It is idiosyncratic,",
|
|
|
b48781 |
+ "for -e verbose=all. It is idiosyncratic,",
|
|
|
b48781 |
"but it is the historic behaviour." },
|
|
|
b48781 |
{ "strace uses netlink for printing",
|
|
|
b48781 |
"protocol-specific information about socket",
|
|
|
b48781 |
@@ -254,7 +254,7 @@
|
|
|
b48781 |
"by invoking it with the following options:", "",
|
|
|
b48781 |
" strace -DDDqqq -enone --signal=none" },
|
|
|
b48781 |
{ "Historically, supplying -o option to strace",
|
|
|
b48781 |
- "led to silencing of messages about tracee",
|
|
|
b48781 |
+ "leads to silencing of messages about tracee",
|
|
|
b48781 |
"attach/detach and personality changes.",
|
|
|
b48781 |
"It can be now overridden with --quiet=none",
|
|
|
b48781 |
"option." },
|
|
|
b48781 |
@@ -285,8 +285,9 @@
|
|
|
b48781 |
"will trace all syscalls related to accessing",
|
|
|
b48781 |
"and modifying process's user/group IDs",
|
|
|
b48781 |
"and capability sets. Other pre-defined",
|
|
|
b48781 |
- "syscall classes include %clock, %desc,%file,",
|
|
|
b48781 |
- "%ipc,%memory, %net,%process, and %signal." },
|
|
|
b48781 |
+ "syscall classes include %clock, %desc,"
|
|
|
b48781 |
+ "%file, %ipc, %memory, %net, %process,"
|
|
|
b48781 |
+ "and %signal." },
|
|
|
b48781 |
{ "Trying to figure out communication between",
|
|
|
b48781 |
"tracees inside a different PID namespace",
|
|
|
b48781 |
"(in so-called \"containers\", for example)?",
|