Searched refs:kmsg (Results 1 – 15 of 15) sorted by relevance
35 int get_compat_msghdr(struct msghdr *kmsg, in get_compat_msghdr() argument46 kmsg->msg_flags = msg.msg_flags; in get_compat_msghdr()47 kmsg->msg_namelen = msg.msg_namelen; in get_compat_msghdr()50 kmsg->msg_namelen = 0; in get_compat_msghdr()52 if (kmsg->msg_namelen < 0) in get_compat_msghdr()55 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in get_compat_msghdr()56 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in get_compat_msghdr()58 kmsg->msg_control = compat_ptr(msg.msg_control); in get_compat_msghdr()59 kmsg->msg_controllen = msg.msg_controllen; in get_compat_msghdr()64 if (msg.msg_name && kmsg->msg_namelen) { in get_compat_msghdr()[all …]
1989 static int copy_msghdr_from_user(struct msghdr *kmsg, in copy_msghdr_from_user() argument2000 kmsg->msg_control = (void __force *)msg.msg_control; in copy_msghdr_from_user()2001 kmsg->msg_controllen = msg.msg_controllen; in copy_msghdr_from_user()2002 kmsg->msg_flags = msg.msg_flags; in copy_msghdr_from_user()2004 kmsg->msg_namelen = msg.msg_namelen; in copy_msghdr_from_user()2006 kmsg->msg_namelen = 0; in copy_msghdr_from_user()2008 if (kmsg->msg_namelen < 0) in copy_msghdr_from_user()2011 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in copy_msghdr_from_user()2012 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in copy_msghdr_from_user()2017 if (msg.msg_name && kmsg->msg_namelen) { in copy_msghdr_from_user()[all …]
1 What: /dev/kmsg5 Description: The /dev/kmsg character device node provides userspace access99 console, /proc/kmsg or the syslog() syscall.104 disabled and /dev/kmsg output will contain more fragments. If107 may be removed entirely and /dev/kmsg users are recommended to
34 proc-$(CONFIG_PRINTK) += kmsg.o
45 cat /proc/kmsg > file, 然而你必须介入中止传输, kmsg是一个“永不结束的文件”。如
6 obj-y += opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
59 [ -e /dev/kmsg ] || mknod --mode=644 /dev/kmsg c 1 11
393 Controls whether the panic kmsg data should be reported to Hyper-V.395 0: do not report panic kmsg data.397 1: report the panic kmsg data. This is the default behavior.813 Control the logging to /dev/kmsg from userspace:816 on: unlimited logging to /dev/kmsg from userspace817 off: logging to /dev/kmsg disabled
73 ``cat /proc/kmsg > file``, however you have to break in to stop the transfer,74 ``kmsg`` is a "never ending file".
266 via the dmesg command and to the consumers of ``/proc/kmsg``. As a specific
656 from /proc/kmsg.3061 kmsg. This only for the users who doubt kdump always3447 Control writing to /dev/kmsg.3448 on - unlimited logging to /dev/kmsg from userspace3449 off - logging to /dev/kmsg disabled
16 11 = /dev/kmsg Writes to this come out as printk's, reads
148 following format which is the same as /dev/kmsg.
14 to /dev/kmsg. This flag just specifies if the timestamp should
605 kmsg Kernel messages