early_log
Used by tasks that are started early in the boot process, before reliable userspace logging support is running. Output is logged to the same place as kernel logging.
Parameters
a
- the length of the string to log in bytes. Maximum length is 4096 bytes.b
- a usermode pointer to the start of the UTF-8 encoded string.
Returns
0
if the system call succeeded1
if the string was too long2
if the string was not valid UTF-83
if the task making the syscall doesn't have theEarlyLogging
capability
Capabilities needed
The EarlyLogging
capability is needed to make this system call.