• Home
Name Date Size #Lines LOC

..--

.gitignoreD03-May-202431 32

MakefileD03-May-20241 KiB304

READMED03-May-20241.1 KiB4932

event_generator.cD03-May-20245.4 KiB236142

pec_listener.cD03-May-20248 KiB336223

run_pec_testD03-May-20243.2 KiB10859

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