aboutsummaryrefslogtreecommitdiff
path: root/testcases/kernel/connectors/pec/README
blob: 2d24257b8b7a37ff282d327262d6ac394e7ca179 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

TEST SUITE:

The directory pec contains the tests related to the process event connector.

Process event connector is a netlink connector that reports process events
to userspace. It sends events such as fork, exec, id change and exit.

There are total 5 testcases.

Note: the test can be run by root only.

TESTS AIM:

The aim of the tests is to test the functionality of process event connector.

FILES DESCRIPTION:

check_connector_enabled.c
------------------
This program is used to check if the kernel supports netlink connector.

event_generator.c
------------------
This program is used to generate a specified process event (fork, exec, uid,
gid or exit).

run_pec_test
------------------
This script runs all the 5 testcases.

pec_listener.c
------------------
This program is used to ilsten to process events received through the kernel
connector and print them.

Makefile
------------------
The usual makefile for this directory

$LTPROOT/output/pec/*.log
------------------
The outputs of event_generator and pec_listeners.

README:
------------------
The one you have gone through.