mirror of
https://github.com/reactos/syzkaller.git
synced 2025-02-19 19:10:34 +00:00
18 lines
598 B
Plaintext
18 lines
598 B
Plaintext
# Copyright 2019 syzkaller project authors. All rights reserved.
|
|
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
|
|
|
|
include <sys/ioccom.h>
|
|
include <sys/syslog.h>
|
|
include <sys/types.h>
|
|
include <fcntl.h>
|
|
|
|
resource fd_klog[fd]
|
|
|
|
openat$klog(fd const[AT_FDCWD], file ptr[in, string["/dev/klog"]], flags flags[open_flags], mode const[0]) fd_klog
|
|
|
|
ioctl$LIOCSFD(fd fd_klog, cmd const[LIOCSFD], arg ptr[in, sock])
|
|
|
|
sendsyslog(msg buffer[in], len len[msg], flags flags[log_flags])
|
|
|
|
log_flags = LOG_PID, LOG_CONS, LOG_ODELAY, LOG_NDELAY, LOG_NOWAIT, LOG_PERROR
|