Searched refs:kmsg (Results 1 – 12 of 12) sorted by relevance
/linux-4.1.27/net/ |
D | compat.c | 34 int get_compat_msghdr(struct msghdr *kmsg, in get_compat_msghdr() argument 45 __get_user(kmsg->msg_namelen, &umsg->msg_namelen) || in get_compat_msghdr() 49 __get_user(kmsg->msg_controllen, &umsg->msg_controllen) || in get_compat_msghdr() 50 __get_user(kmsg->msg_flags, &umsg->msg_flags)) in get_compat_msghdr() 54 kmsg->msg_namelen = 0; in get_compat_msghdr() 56 if (kmsg->msg_namelen < 0) in get_compat_msghdr() 59 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in get_compat_msghdr() 60 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in get_compat_msghdr() 61 kmsg->msg_control = compat_ptr(tmp3); in get_compat_msghdr() 66 if (uaddr && kmsg->msg_namelen) { in get_compat_msghdr() [all …]
|
D | socket.c | 1831 static int copy_msghdr_from_user(struct msghdr *kmsg, in copy_msghdr_from_user() argument 1843 __get_user(kmsg->msg_namelen, &umsg->msg_namelen) || in copy_msghdr_from_user() 1846 __get_user(kmsg->msg_control, &umsg->msg_control) || in copy_msghdr_from_user() 1847 __get_user(kmsg->msg_controllen, &umsg->msg_controllen) || in copy_msghdr_from_user() 1848 __get_user(kmsg->msg_flags, &umsg->msg_flags)) in copy_msghdr_from_user() 1852 kmsg->msg_namelen = 0; in copy_msghdr_from_user() 1854 if (kmsg->msg_namelen < 0) in copy_msghdr_from_user() 1857 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in copy_msghdr_from_user() 1858 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in copy_msghdr_from_user() 1863 if (uaddr && kmsg->msg_namelen) { in copy_msghdr_from_user() [all …]
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | dev-kmsg | 1 What: /dev/kmsg 5 Description: The /dev/kmsg character device node provides userspace access 99 console, /proc/kmsg or the syslog() syscall.
|
/linux-4.1.27/fs/proc/ |
D | Makefile | 31 proc-$(CONFIG_PRINTK) += kmsg.o
|
/linux-4.1.27/tools/testing/selftests/rcutorture/doc/ |
D | initrd.txt | 43 [ -e /dev/kmsg ] || mknod --mode=644 /dev/kmsg c 1 11
|
/linux-4.1.27/Documentation/zh_CN/ |
D | oops-tracing.txt | 45 cat /proc/kmsg > file, 然而你必须介入中止传输, kmsg是一个“永不结束的文件”。如
|
/linux-4.1.27/Documentation/ |
D | oops-tracing.txt | 26 buffers and save it. Or you can cat /proc/kmsg > file, however you 27 have to break in to stop the transfer, kmsg is a "never ending file".
|
D | sysrq.txt | 233 via the dmesg command and to the consumers of /proc/kmsg. As a specific
|
D | devices.txt | 101 11 = /dev/kmsg Writes to this come out as printk's, reads
|
D | kernel-parameters.txt | 2602 kmsg. This only for the users who doubt kdump always
|
/linux-4.1.27/lib/ |
D | Kconfig.debug | 12 to /dev/kmsg. This flag just specifies if the timestamp should
|
/linux-4.1.27/Documentation/filesystems/ |
D | proc.txt | 572 kmsg Kernel messages
|