summaryrefslogtreecommitdiffstats
path: root/src/global.go
diff options
context:
space:
mode:
authorWe-unite <3205135446@qq.com>2024-07-29 11:46:02 +0800
committerWe-unite <3205135446@qq.com>2024-07-29 11:46:02 +0800
commita345258c3082903702c81c6c830ff1fd35758861 (patch)
treea8521e954630b299c85adc10182ee3470a982415 /src/global.go
parentec260a31927ef77295eaa07ba370b58b416f47f5 (diff)
downloadgodo-a345258c3082903702c81c6c830ff1fd35758861.tar.gz
godo-a345258c3082903702c81c6c830ff1fd35758861.zip
Hear file Open and close, especially O_TRUNC
this commit i successfully catch open/close syscall, and insert them as an independent collection in mongodb otherwise along with pids. and now I've record those open flag "O_TRUNC" as written.
Diffstat (limited to 'src/global.go')
-rw-r--r--src/global.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/global.go b/src/global.go
index 7401dc5..d1c5c0f 100644
--- a/src/global.go
+++ b/src/global.go
@@ -13,6 +13,7 @@ const (
13 EXECVE 13 EXECVE
14 FILEOPEN 14 FILEOPEN
15 FILEWRITE 15 FILEWRITE
16 FILECLOSE
16 TYPENUM 17 TYPENUM
17) 18)
18 19