I'm trying to catch processes' fork() and exec() event details for some security purposes. And then I found this question: How to detect the launching of programs on Linux?
I built a monitor program in docker container with image alpine, and run it successfully. But there is no any data output in stdout of console. So I suspect that kernel doesn't send processes' events by netlink, how to check if CONFIG_CONNECTOR and CONFIG_PROC_EVENTS are enabled? And if not, how can I enable it in some ways?