Expand description

KLog Implementation (makes klogctl aka syslog system call through libc)

Structs

While reading the kernel log buffer is very useful in and of itself (especially when running the CLI), a lot more value is unlocked when it can be tailed line-by-line.

Enums

Constants

suggest polling every ten seconds

The path under /proc where the parameter to set (or unset) logging a timestamp resides

Functions

This is the key safe function that makes the klogctl syslog call with parameters. While the internally used function supports all klogctl parameters, this function only provides one bool parameter which indicates whether the buffer is to be cleared or not, after its contents have been read.

This is the key safe function that makes the klogctl syslog call with parameters. While the internally used function supports all klogctl parameters, this function only provides one bool parameter which indicates whether the buffer is to be cleared or not, after its contents have been read.

This function can enable or disable whether or not timestamps are enabled in the Linux Kernel log entries.

This function checks whether or not timestamps are enabled in the Linux Kernel log entries.

Safely wraps the klogctl for Rusty types All higher-level functions are built over this function at the base. It prevents unsafe code from proliferating beyond this wrapper.

Type Definitions