feat: add userspace system logging, rename klog to syslog, rename relevant syscalls and API functions
This commit is contained in:
@@ -428,8 +428,8 @@ namespace montauk {
|
||||
}
|
||||
|
||||
// Kernel log
|
||||
inline int64_t read_klog(char* buf, uint64_t size) {
|
||||
return syscall2(montauk::abi::SYS_KLOG, (uint64_t)buf, size);
|
||||
inline int64_t read_log(char* buf, uint64_t size) {
|
||||
return syscall2(montauk::abi::SYS_LOG, (uint64_t)buf, size);
|
||||
}
|
||||
|
||||
// I/O redirection
|
||||
|
||||
Reference in New Issue
Block a user