CVSROOT: /cvs Module name: src Changes by: v...@cvs.openbsd.org 2020/08/18 07:41:49
Modified files: sys/kern : subr_log.c Log message: Fix kn_data returned by filt_logread(). Take into account the circular nature of the message buffer when computing the number of available bytes. Move the computation into a separate function and use it with the kevent(2) and ioctl(2) interfaces. OK mpi@