Dazuko - Patches: patch #5357, Hook for init_module syscall
You are not allowed to post comments on this tracker with your current authentication level.
patch #5357: Hook for init_module syscall
| Submitter: | Sami Tikka <sti> | ||
| Submitted: | Thu 31 Aug 2006 12:17:41 PM UTC | ||
| Assigned to: | None | Open/Closed: | Open |
Attached Files
file #10658: dazuko--contribute-init-module--2.3.1.tgz added by sti (3KiB - application/x-compressed - Init-module, GNU arch changeset)
file #10657: dazuko-init-module.patch added by sti (6KiB - application/octet-stream - Init-module, simple patch)
Depends on the following items: None found
Items that depend on this one: None found
CC list is empty

This patch adds support for hooking the init_module system call.
After appying the patch, configure dazuko with --enable-event-init-module. The dazuko daemon will get DAZUKO_ON_INIT_MODULE events every time the init_module syscall is invoked.
Currently there is no filename returned by the event. Only the process-id of the caller is available, but it can be used to look up the process from /proc/PID/exe (on Linux systems.)