summaryrefslogtreecommitdiff
path: root/sys/kern/subr_log.c
AgeCommit message (Expand)Author
2022-07-02Remove unused device poll functions.Visa Hankala
2021-03-18Unlock sendsyslog(2). Console output still requires kernel lock to bemvs
2021-03-09Early daemons like dhcpleased(8), slaacd(8), unwind(8), resolvd(8)Alexander Bluhm
2021-02-08Simplify sleep_setup API to two operations in preparation for splittingMartin Pieuchot
2021-01-08Fix boot-time crash on sparc64Visa Hankala
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-10-25Serialize msgbuf access with a mutex.Visa Hankala
2020-08-18Fix kn_data returned by filt_logread().Visa Hankala
2020-08-18Remove an unnecessary field from struct msgbuf.Visa Hankala
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2020-01-11Convert infinite sleeps to tsleep_nsec(9).Martin Pieuchot
2020-01-08Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andVisa Hankala
2020-01-02Change /dev/log to use pgsigio(9) and sigio_init(9) like it was done forClaudio Jeker
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-12-24The console buffer is allocated during startup. initconsbuf() isAlexander Bluhm
2019-10-24Make log tick interval independent of hz and reduce the frequencyVisa Hankala
2019-06-20Work around locking issues in logwakeup(). Instead of actually waking upVisa Hankala
2019-06-17dosendsyslog() must only pass ktrgenio(9) userspace buffers that it canPhilip Guenther
2018-07-30Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O modeMartin Pieuchot
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2017-10-17Print the pid of the most recent program that failed to send a logMartin Pieuchot
2017-09-25sendsyslog should take a const char * everywhere.Marc Espie
2017-08-08Kernel sendsyslog(2), libc syslog(3), and syslogd(8) restrict andAlexander Bluhm
2017-07-18Both syslog(3) and syslogd(8) truncate the message at 8192 bytes.Alexander Bluhm
2017-03-27Reorder FREF() and FRELE() in a way that the the global variableAlexander Bluhm
2017-03-24There was a race in dosendsyslog() which resulted in a crash.Alexander Bluhm
2016-06-23As klog dropped message has no ifdef small kernel, sendsyslogAlexander Bluhm
2016-06-23It is annoying that the dmesg buffer can overflow and loose messagesAlexander Bluhm
2016-06-08As logging to dmesg with msgbuf_putchar() can happen in any interruptAlexander Bluhm
2016-05-31sys_osendsyslog can go away; we have transitioned to the new version withTheo de Raadt
2016-05-19All msg buf counters are long, so lmin(9) should be used for them.Alexander Bluhm
2016-05-18Kill trailing whitespaces.Alexander Bluhm
2016-05-18Use constty and cn_devvp for checking wether to use cnwrite(). ThatAlexander Bluhm
2016-05-17Allow sendsyslog(2) with LOG_CONS even when /dev/console has notAlexander Bluhm
2016-05-17Backout the previous fix for the sendsyslog(2) with LOG_CONS solution.Alexander Bluhm
2016-05-10If sendsyslog(2) is called with LOG_CONS before syslogd(8) has beenAlexander Bluhm
2016-03-21Rename the system call sendsyslog2 to sendsyslog. Keep the old oneAlexander Bluhm
2016-01-13Convert to uiomove(); from Martin Natano, thanks!Stefan Kempf
2016-01-07In sendsyslogd(2) strip off syslog priority when logging to console.Alexander Bluhm
2016-01-01The pointer buf is a user space string which was directly passedAlexander Bluhm
2015-12-05remove stale lint annotationsTed Unangst
2015-11-24Add sendsyslog2(), which accepts the syslog/openlog "logopt" flagTheo de Raadt
2015-09-11The must be no space after the syslog priority in the sendsyslog(2)Alexander Bluhm
2015-09-02To make logging to local syslog reliable, log a message about failedAlexander Bluhm
2015-05-06Pass a thread pointer instead of its file descriptor table to getsock(9).Martin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-10First step towards making uiomove() take a size_t size argument:Miod Vallat
2015-01-13Many architectures call initmsgbuf() really really early, before uvm isMark Kettenis
2015-01-13Add dmesg -s support, to view the output of rc(8) system startup messages.Marco Pfatschbacher