Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
.gitignore | D | 22-Nov-2023 | 31 | 3 | 2 | |
Makefile | D | 22-Nov-2023 | 1 KiB | 30 | 4 | |
README | D | 22-Nov-2023 | 1.1 KiB | 49 | 32 | |
event_generator.c | D | 22-Nov-2023 | 5.4 KiB | 236 | 142 | |
pec_listener.c | D | 23-Nov-2023 | 8 KiB | 336 | 223 | |
run_pec_test | D | 22-Nov-2023 | 3.2 KiB | 108 | 59 |
README
1 2TEST SUITE: 3 4The directory pec contains the tests related to the process event connector. 5 6Process event connector is a netlink connector that reports process events 7to userspace. It sends events such as fork, exec, id change and exit. 8 9There are total 5 testcases. 10 11Note: the test can be run by root only. 12 13TESTS AIM: 14 15The aim of the tests is to test the functionality of process event connector. 16 17FILES DESCRIPTION: 18 19check_connector_enabled.c 20------------------ 21This program is used to check if the kernel supports netlink connector. 22 23event_generator.c 24------------------ 25This program is used to generate a specified process event (fork, exec, uid, 26gid or exit). 27 28run_pec_test 29------------------ 30This script runs all the 5 testcases. 31 32pec_listener.c 33------------------ 34This program is used to ilsten to process events received through the kernel 35connector and print them. 36 37Makefile 38------------------ 39The usual makefile for this directory 40 41$LTPROOT/output/pec/*.log 42------------------ 43The outputs of event_generator and pec_listeners. 44 45README: 46------------------ 47The one you have gone through. 48 49