summaryrefslogtreecommitdiffstats
path: root/misc/syntax/strace.syntax
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:12 +0000
commit8ccb487c21368a7fdc8c7c72315325bf0aa06147 (patch)
treeb2056fae01d325924508a41731edfbd4c3cddd23 /misc/syntax/strace.syntax
parentInitial commit. (diff)
downloadmc-upstream.tar.xz
mc-upstream.zip
Adding upstream version 3:4.8.29.upstream/3%4.8.29upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'misc/syntax/strace.syntax')
-rw-r--r--misc/syntax/strace.syntax42
1 files changed, 42 insertions, 0 deletions
diff --git a/misc/syntax/strace.syntax b/misc/syntax/strace.syntax
new file mode 100644
index 0000000..09c5468
--- /dev/null
+++ b/misc/syntax/strace.syntax
@@ -0,0 +1,42 @@
+context default
+ keyword access(*) green
+ keyword execve(*) brightgreen
+ keyword uname(*) brightblue
+
+ keyword open(*) cyan
+ keyword close(*) cyan
+
+ keyword read(*) magenta
+ keyword select(*) magenta
+ keyword write(*) magenta
+
+ keyword readv(*) brightmagenta
+ keyword writev(*) brightmagenta
+
+ keyword fcntl64(*) white
+ keyword fstat64(*) white
+ keyword stat64(*) white
+
+ keyword old_mmap(*) red
+ keyword mmap2(*) red
+ keyword munmap(*) red
+
+ keyword exit_group(*) brightred
+ keyword kill(*) brightred
+ keyword wait4(*) brightred
+ keyword statfs(*) brightred
+ keyword ioctl(*) brightred
+ keyword rt_sigaction(*) brightred
+ keyword rt_sigprocmask(*) brightred
+ keyword alarm(*) brightred
+ keyword brk(*) brightred
+
+ keyword chown32(*) yellow
+ keyword chmod(*) yellow
+ keyword geteuid32(*) yellow
+ keyword getegid32(*) yellow
+ keyword getuid32(*) yellow
+ keyword getgid32(*) yellow
+ keyword setresuid32(*) yellow
+ keyword setresgid32(*) yellow
+ keyword gettimeofday(*) yellow