summaryrefslogtreecommitdiff
path: root/sys/kern/subr_log.c
AgeCommit message (Expand)Author
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
2014-12-13yet more mallocarray() changes.Doug Hogan
2014-12-10convert bcopy to memcpy. ok millertTed Unangst
2014-11-03pass size argument to free()Theo de Raadt
2014-07-28I/O ktrace of sendsyslog(2) did not work. As uiomove() adjustsAlexander Bluhm
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-10Add new sendsyslog(const char *, size_t) system call which simply passesTheo de Raadt
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-01-21bzero -> memsetTed Unangst
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2007-09-03unsupported ioctl's should be returned with ENOTTYThordur I. Bjornsson
2005-12-09ansi and deregister. No binary change.Jonathan Gray
2005-04-20knfTheo de Raadt
2005-04-14Try to start log message buffer on a new line. Helps install scripts avoidKenneth R Westerback
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
2003-07-21remove caddr_t casts. it's just silly to cast something when the functionTed Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-06-29kqfilter for the log. niels said i can commit it if it worksMichael Shalayeff
2001-04-06Move offsetof define into sys/param.hConstantine Sapuntzakis
2000-02-22enlarge msgbuf, somewhat line netbsd didTheo de Raadt
1997-09-18it is definately wrong to initialize the pgid at open() time because theTheo de Raadt
1997-08-31for non-tty TIOCSPGRP/F_SETOWN/FIOSETOWN pgid setting calls, store uidTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt