SeaBee
Loading...
Searching...
No Matches
Macros
constants.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MODULE_NAME_LEN   (64 - sizeof(unsigned long))
 Copy of MODULE_PARAM_PREFIX_LEN in the kernel.
 
#define PATH_MAX   4096
 Copy of PATH_MAX in the kernel.
 
#define MAX_STR_LEN   128
 maximum length of strings used for logging messages
 
#define BPF_MAP_NAME_LEN   16
 the length of the name of an eBPF map
 
#define COMM_LEN   16
 the length of task comm string
 
#define NO_POL_ID   0
 
#define BASE_POLICY_ID   1
 

Macro Definition Documentation

◆ MODULE_NAME_LEN

#define MODULE_NAME_LEN   (64 - sizeof(unsigned long))

Copy of MODULE_PARAM_PREFIX_LEN in the kernel.

See also
https://elixir.bootlin.com/linux/latest/source/include/linux/moduleparam.h#L21

◆ PATH_MAX

#define PATH_MAX   4096