Skip to content
Open
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
f22ff46
base
ghorges Apr 27, 2019
00267e0
first
ghorges May 3, 2019
215e774
README.md
ghorges May 3, 2019
e4b0020
some bugs
ghorges May 4, 2019
2caf692
some bugs
ghorges May 4, 2019
a649e42
README.md
ghorges May 4, 2019
3dad36b
some bugs
ghorges May 5, 2019
81ef090
version2
ghorges May 18, 2019
fb5117e
change bugs
ghorges May 19, 2019
03723fc
修复了Epoll
yaomer May 19, 2019
382311f
deleted old version
yaomer May 19, 2019
32b80af
deleted old files
yaomer May 19, 2019
4a2d923
new version
yaomer May 19, 2019
154c361
x
yaomer May 20, 2019
b739268
Create LICENSE
okokme May 26, 2019
c4acc5a
线程使用std::thread
yaomer May 27, 2019
cb96a3e
Merge branch 'master' of https://github.com/xiyou-linuxer/deepin-file…
yaomer May 27, 2019
b05ea29
deleted tmp.c
yaomer May 28, 2019
bad9c28
deleted tmp.cc
yaomer May 28, 2019
1c8b064
Merge branch 'master' of https://github.com/xiyou-linuxer/deepin-file…
yaomer May 28, 2019
ed68e7e
fix bug
ghorges May 28, 2019
266bbdf
fix bug
ghorges May 28, 2019
5739883
fix bug
ghorges May 28, 2019
4f1a9b5
fix bug
ghorges May 28, 2019
2a87c7e
fix bug
ghorges May 29, 2019
4f5df04
README.md
ghorges May 29, 2019
d4f7b09
README.md
ghorges May 29, 2019
7587041
README.md
ghorges May 29, 2019
3e74dbe
add some sh
ghorges May 30, 2019
d4cab0e
rmversion1
ghorges May 30, 2019
63f1d74
rmversion1
ghorges May 30, 2019
ee0d4a6
server
ghorges May 30, 2019
f3fbf88
rm log
ghorges May 30, 2019
bfcf227
update project.md
yaomer May 30, 2019
c408d28
Merge branch 'master' of https://github.com/xiyou-linuxer/deepin-file…
yaomer May 30, 2019
21ca0c4
rm-client
ghorges May 30, 2019
cc80785
Merge branch 'master' of https://github.com/xiyou-linuxer/deepin-file…
ghorges May 30, 2019
15220dd
fix-some-bugs
ghorges May 30, 2019
0769744
fix-bugs
ghorges May 30, 2019
ef6e72d
change build.sh
ghorges May 30, 2019
ce0ad7d
fix-bugs
ghorges May 30, 2019
be77e60
rm log
ghorges May 30, 2019
e5f8325
update
ghorges May 30, 2019
229ba52
Update myhook.c
ghorges May 31, 2019
b8f9ac3
Update threadpool.h
ghorges May 31, 2019
95078df
fix-bugs
ghorges May 31, 2019
feb134a
update Buffer
yaomer Aug 19, 2019
ea6320a
Merge branch 'master' of https://github.com/xiyou-linuxer/deepin-file…
yaomer Aug 19, 2019
a07e24e
add zip
ghorges Aug 20, 2019
2304cc9
add zip
ghorges Aug 20, 2019
c6ce3c4
add zip
ghorges Aug 20, 2019
1aea1b1
Update README.md
ghorges Aug 21, 2019
6432bf1
Update README.md
ghorges Aug 21, 2019
277528a
add zip
ghorges Aug 21, 2019
4b68cbc
Merge branch 'master' of https://github.com/xiyou-linuxer/deepin-file…
ghorges Aug 21, 2019
8061764
move server src by:<xiyoulinuxgroup>
ghorges Aug 22, 2019
4b0ea81
fix make.sh bugs by:<xiyoulinuxgroup>
ghorges Aug 22, 2019
ce4ccdd
fix some bugs by:<xiyoulinuxgroup>
ghorges Aug 22, 2019
bc6fbc0
fix some bugs by:<xiyoulinuxgroup>
ghorges Aug 22, 2019
b9f72a8
fix some bugs by:<xiyoulinuxgroup>
ghorges Aug 22, 2019
d8e5be4
fix some bugs by:<xiyoulinuxgroup>
ghorges Aug 22, 2019
3cdf5a4
fix some bugs by:<xiyoulinuxgroup>
ghorges Aug 22, 2019
54fac31
Update README.md
okokme Aug 22, 2019
89b025c
Update README.md
okokme Aug 22, 2019
09dab5e
Update README.md
okokme Aug 22, 2019
c0609a4
Update README.md
okokme Aug 22, 2019
220dae9
Update README.md
okokme Aug 23, 2019
de75377
add doc by:<xiyoulinuxgroup>
okokme Aug 23, 2019
3403e7f
Update README.md
okokme Aug 23, 2019
8591628
Update README.md
okokme Aug 23, 2019
433f15c
update build.sh
yaomer Aug 23, 2019
8ca64af
fix some bugs by:<xiyoulinuxgroup>
ghorges Aug 23, 2019
d037f22
Update README.md
jialuhu Nov 3, 2019
bf412e9
fix some bugs by:<xiyoulinuxgroup>
ghorges Nov 5, 2019
4ee24c9
fix some note
jialuhu Nov 6, 2019
0c9961c
Update README.md
jialuhu Nov 6, 2019
6800fa0
Update README.md
jialuhu Nov 6, 2019
edb67d7
Update README.md
jialuhu Nov 6, 2019
d8fa877
Update README.md
jialuhu Nov 6, 2019
6f491ac
Update README.md
jialuhu Nov 6, 2019
f8ee1f5
Update README.md
jialuhu Nov 6, 2019
0edaa3b
fix some bugs by:<xiyoulinuxgroup>
ghorges Nov 9, 2019
e34f9dc
add zip
ghorges Nov 9, 2019
ff65386
add zip
ghorges Nov 9, 2019
973e9fb
picture
Feb 13, 2020
ff94b4e
Update README.md
ghorges Feb 13, 2020
8539bff
Update README.md
ghorges Feb 13, 2020
10b2315
Update README.md
jialuhu Feb 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 xiyoulinuxgroup

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
# deepin-file-control
# deepin-file-control

这个是最初版本,只完成了最基础的功能,执行某个文件时,需将编译好的.so文件放到这个目录下,并使用 LD_PRELOAD=./(你的编译文件).so (你的执行的文件)

使用三段式,hook -> cli -> ser ,cli 和 hook 之间使用消息队列

./mk.sh编译

服务器建议不要挂在本地


1 change: 1 addition & 0 deletions deps/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## 依赖
1 change: 1 addition & 0 deletions etc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## 配置文件存放路径
4 changes: 4 additions & 0 deletions etc/file.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
port:8888
addr:132.232.63.90
path:/phpstudy/www/git/deepin-file-control/tests
#path请使用绝对路径
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一行配置的注释一般是写在配置上面的

5 changes: 5 additions & 0 deletions mk.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

`gcc -fPIC -shared -o tests/hook.so src/hook.c -ldl`
`g++ -o tests/cli src/cli_main.cpp -lpthread -ldl`
`g++ -o tests/ser src/ser_main.cpp -lpthread -ldl`
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

还是要有写Makefile的习惯,觉得Makefile难写可以学学cmake之类

1 change: 1 addition & 0 deletions src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## 源代码存放路径
Loading