Toggle navigation
Toggle navigation
This project
Loading...
Sign in
손지언
/
2019102185
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
손지언
2022-02-09 06:54:57 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f27bc621822489df6185ac533ca2728de405eac9
f27bc621
1 parent
e2b0ca3a
모듈 라이센스 추가
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3 additions
and
2 deletions
lab5-2/hooking_prac/hooking/Makefile
lab5-2/hooking_prac/hooking/dhooker/hooker.c
lab5-2/hooking_prac/hooking/dhooker/hooker.mod.c
lab5-2/hooking_prac/hooking/dhooker/hooker.mod.o
lab5-2/hooking_prac/hooking/dhooker/hooker.o
lab5-2/hooking_prac/hooking/hello_world
lab5-2/hooking_prac/hooking/hooker.ko
lab5-2/hooking_prac/hooking/Makefile
View file @
f27bc62
1
export
APP_NAME
=
hello_world
1
export
APP_NAME
=
hello_world
2
export
MOD_NAME
=
hooker
2
export
MOD_NAME
=
hooker
3
3
4
-
PWD
=
$(
shell
pwd
)
4
+
PWD
:=
$(
shell
pwd
)
5
APP_PATH
=
$(PWD)
/d
$(APP_NAME)
5
APP_PATH
=
$(PWD)
/d
$(APP_NAME)
6
MOD_PATH
=
$(PWD)
/d
$(MOD_NAME)
6
MOD_PATH
=
$(PWD)
/d
$(MOD_NAME)
7
7
...
...
lab5-2/hooking_prac/hooking/dhooker/hooker.c
View file @
f27bc62
...
@@ -48,3 +48,4 @@ void __exit Hook_Exit(void){
...
@@ -48,3 +48,4 @@ void __exit Hook_Exit(void){
48
48
49
module_init
(
Hook_Init
);
49
module_init
(
Hook_Init
);
50
module_exit
(
Hook_Exit
);
50
module_exit
(
Hook_Exit
);
51
+
MODULE_LICENSE
(
"GPL"
);
...
...
lab5-2/hooking_prac/hooking/dhooker/hooker.mod.c
View file @
f27bc62
...
@@ -30,4 +30,4 @@ __attribute__((section(".modinfo"))) =
...
@@ -30,4 +30,4 @@ __attribute__((section(".modinfo"))) =
30
"depends="
;
30
"depends="
;
31
31
32
32
33
-
MODULE_INFO
(
srcversion
,
"
1041E4758432C86606FD67E
"
);
33
+
MODULE_INFO
(
srcversion
,
"
7ADE44387F1447D8C4DC319
"
);
...
...
lab5-2/hooking_prac/hooking/dhooker/hooker.mod.o
View file @
f27bc62
No preview for this file type
lab5-2/hooking_prac/hooking/dhooker/hooker.o
View file @
f27bc62
No preview for this file type
lab5-2/hooking_prac/hooking/hello_world
View file @
f27bc62
No preview for this file type
lab5-2/hooking_prac/hooking/hooker.ko
View file @
f27bc62
No preview for this file type
Please
register
or
login
to post a comment