Skip to content

Commit f62d2cb

Browse files
committed
kallsyms: Fix docparse formatting
Signed-off-by: Petr Vorel <[email protected]>
1 parent e29c89f commit f62d2cb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

testcases/kernel/security/kallsyms/kallsyms.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@
66
/*\
77
* [Description]
88
*
9-
* Utilize kernel's symbol table for unauthorized address access.
9+
* Utilize kernel's symbol table for unauthorized address access.
1010
*
11-
* Access the system symbols with root permission to test whether it's
12-
* possible to read and write the memory addresses of kernel-space
13-
* from user-space. This helps in identifying potential vulnerabilities
14-
* where user-space processes can inappropriately access kernel memory.
11+
* Access the system symbols with root permission to test whether it's
12+
* possible to read and write the memory addresses of kernel-space
13+
* from user-space. This helps in identifying potential vulnerabilities
14+
* where user-space processes can inappropriately access kernel memory.
1515
*
1616
* Steps:
17+
*
1718
* 1. Start a process that reads all symbols and their addresses from
18-
* '/proc/kallsyms' and stores them in a linked list.
19+
* /proc/kallsyms and stores them in a linked list.
1920
*
2021
* 2. Attempt to write to each kernel address found in the linked list.
2122
* The expectation is that each attempt will fail with a SIGSEGV
@@ -30,7 +31,6 @@
3031
*
3132
* 5. Observe and log the behavior and any system responses to these
3233
* unauthorized access attempts.
33-
*
3434
*/
3535

3636
#include <stdio.h>

0 commit comments

Comments
 (0)