The module utility can also be used to create "files" in the proc file system.
Two examples:
- Read (only) some kernel data.
- Read and write kernel data (but write only if root).
This existing file is of the second kind:
/proc/sys/kernel/randomize_va_space
If it is > 0 the kernel adds a random number of bytes to the bottom of the call stack each time a program is executed as protection against buffer overflow attacks.