#
1.19 |
|
27-Apr-2023 |
gnezdo |
Use __size_t which is available in syslog.h
Directly including sys/syslog.h would fail due to size_t being unknown.
OK millert, miod
|
#
1.18 |
|
26-Apr-2023 |
gnezdo |
Declare sendsyslog to match its man page
This simplifies syzkaller revival after the removal of __syscall.
OK bluhm, millert, deraadt
|
Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
|
#
1.17 |
|
21-May-2020 |
visa |
Update comment to reflect current headers.
OK millert@
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
|
#
1.16 |
|
08-Aug-2017 |
bluhm |
Kernel sendsyslog(2), libc syslog(3), and syslogd(8) restrict and truncate the length of a syslog message to 8192 bytes. Use one global define LOG_MAXLINE for all of them. OK deraadt@ millert@
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.15 |
|
14-Jul-2014 |
deraadt |
Convert syslog_r(3) to using sendsyslog(2). This ensures that syslog_r(3) can be used anywhere (signal handler, stack protector fault handler) as long as the format string does not contain floating point. ok tedu miod beck
|
#
1.14 |
|
10-Jul-2014 |
deraadt |
Add new sendsyslog(const char *, size_t) system call which simply passes a message up into syslogd's /dev/log interface. This will be used to make syslog_r work during file descriptor exhaustion, or inside sandboxes which prohibit socket, connect, sendto, etc. The system call is being added about a week before the library and daemon changes. ok guenther tedu miod matthew
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.13 |
|
19-Oct-2010 |
deraadt |
Remove the LOG_MAKEPRI macro. It has been broken (the << 3 is wrong) since the dawn of time. A few systems fixed^Hchanged it, thus breaking other code. Since the usage of it is now a mess, the right path from here on out is to *remove* the macro forever and cope with the (very minor) fallout. ok guenther tedu millert sthen
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.12 |
|
06-Jan-2006 |
millert |
Adapt things to use __type_t instead of _BSD_TYPE_T_ Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.11 |
|
24-Aug-2003 |
avsm |
sprinkle some __kprintf__ attributes around functions which use format strings in the kernel to make gcc aware of the extra modifiers deraadt@ ok
|
#
1.10 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_3_BASE UBC_SYNC_A
|
#
1.9 |
|
26-Feb-2003 |
espie |
remove dependency upon NULL definition
|
Revision tags: UBC_SYNC_B
|
#
1.8 |
|
06-Oct-2002 |
espie |
use syslog format for syslog, now that release is past...
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE
|
#
1.7 |
|
14-Mar-2002 |
millert |
First round of __P removal in sys
|
Revision tags: UBC_BASE
|
#
1.6 |
|
24-Oct-2001 |
jjbg |
branches: 1.6.2; syslog_r() implementation. deraadt@ ok.
|
Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE kame_19991208
|
#
1.5 |
|
10-Feb-1998 |
deraadt |
branches: 1.5.10; Wall
|
Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
|
#
1.4 |
|
23-Jul-1996 |
deraadt |
make printf/addlog return 0, for compat to userland
|
#
1.3 |
|
21-Apr-1996 |
deraadt |
partial sync with netbsd 960418, more to come
|
#
1.2 |
|
03-Mar-1996 |
niklas |
From NetBSD: 960217 merge
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.18 |
|
26-Apr-2023 |
gnezdo |
Declare sendsyslog to match its man page
This simplifies syzkaller revival after the removal of __syscall.
OK bluhm, millert, deraadt
|
Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
|
#
1.17 |
|
21-May-2020 |
visa |
Update comment to reflect current headers.
OK millert@
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
|
#
1.16 |
|
08-Aug-2017 |
bluhm |
Kernel sendsyslog(2), libc syslog(3), and syslogd(8) restrict and truncate the length of a syslog message to 8192 bytes. Use one global define LOG_MAXLINE for all of them. OK deraadt@ millert@
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.15 |
|
14-Jul-2014 |
deraadt |
Convert syslog_r(3) to using sendsyslog(2). This ensures that syslog_r(3) can be used anywhere (signal handler, stack protector fault handler) as long as the format string does not contain floating point. ok tedu miod beck
|
#
1.14 |
|
10-Jul-2014 |
deraadt |
Add new sendsyslog(const char *, size_t) system call which simply passes a message up into syslogd's /dev/log interface. This will be used to make syslog_r work during file descriptor exhaustion, or inside sandboxes which prohibit socket, connect, sendto, etc. The system call is being added about a week before the library and daemon changes. ok guenther tedu miod matthew
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.13 |
|
19-Oct-2010 |
deraadt |
Remove the LOG_MAKEPRI macro. It has been broken (the << 3 is wrong) since the dawn of time. A few systems fixed^Hchanged it, thus breaking other code. Since the usage of it is now a mess, the right path from here on out is to *remove* the macro forever and cope with the (very minor) fallout. ok guenther tedu millert sthen
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.12 |
|
06-Jan-2006 |
millert |
Adapt things to use __type_t instead of _BSD_TYPE_T_ Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.11 |
|
24-Aug-2003 |
avsm |
sprinkle some __kprintf__ attributes around functions which use format strings in the kernel to make gcc aware of the extra modifiers deraadt@ ok
|
#
1.10 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_3_BASE UBC_SYNC_A
|
#
1.9 |
|
26-Feb-2003 |
espie |
remove dependency upon NULL definition
|
Revision tags: UBC_SYNC_B
|
#
1.8 |
|
06-Oct-2002 |
espie |
use syslog format for syslog, now that release is past...
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE
|
#
1.7 |
|
14-Mar-2002 |
millert |
First round of __P removal in sys
|
Revision tags: UBC_BASE
|
#
1.6 |
|
24-Oct-2001 |
jjbg |
branches: 1.6.2; syslog_r() implementation. deraadt@ ok.
|
Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE kame_19991208
|
#
1.5 |
|
10-Feb-1998 |
deraadt |
branches: 1.5.10; Wall
|
Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
|
#
1.4 |
|
23-Jul-1996 |
deraadt |
make printf/addlog return 0, for compat to userland
|
#
1.3 |
|
21-Apr-1996 |
deraadt |
partial sync with netbsd 960418, more to come
|
#
1.2 |
|
03-Mar-1996 |
niklas |
From NetBSD: 960217 merge
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.17 |
|
21-May-2020 |
visa |
Update comment to reflect current headers.
OK millert@
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
|
#
1.16 |
|
08-Aug-2017 |
bluhm |
Kernel sendsyslog(2), libc syslog(3), and syslogd(8) restrict and truncate the length of a syslog message to 8192 bytes. Use one global define LOG_MAXLINE for all of them. OK deraadt@ millert@
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.15 |
|
14-Jul-2014 |
deraadt |
Convert syslog_r(3) to using sendsyslog(2). This ensures that syslog_r(3) can be used anywhere (signal handler, stack protector fault handler) as long as the format string does not contain floating point. ok tedu miod beck
|
#
1.14 |
|
10-Jul-2014 |
deraadt |
Add new sendsyslog(const char *, size_t) system call which simply passes a message up into syslogd's /dev/log interface. This will be used to make syslog_r work during file descriptor exhaustion, or inside sandboxes which prohibit socket, connect, sendto, etc. The system call is being added about a week before the library and daemon changes. ok guenther tedu miod matthew
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.13 |
|
19-Oct-2010 |
deraadt |
Remove the LOG_MAKEPRI macro. It has been broken (the << 3 is wrong) since the dawn of time. A few systems fixed^Hchanged it, thus breaking other code. Since the usage of it is now a mess, the right path from here on out is to *remove* the macro forever and cope with the (very minor) fallout. ok guenther tedu millert sthen
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.12 |
|
06-Jan-2006 |
millert |
Adapt things to use __type_t instead of _BSD_TYPE_T_ Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.11 |
|
24-Aug-2003 |
avsm |
sprinkle some __kprintf__ attributes around functions which use format strings in the kernel to make gcc aware of the extra modifiers deraadt@ ok
|
#
1.10 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_3_BASE UBC_SYNC_A
|
#
1.9 |
|
26-Feb-2003 |
espie |
remove dependency upon NULL definition
|
Revision tags: UBC_SYNC_B
|
#
1.8 |
|
06-Oct-2002 |
espie |
use syslog format for syslog, now that release is past...
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE
|
#
1.7 |
|
14-Mar-2002 |
millert |
First round of __P removal in sys
|
Revision tags: UBC_BASE
|
#
1.6 |
|
24-Oct-2001 |
jjbg |
branches: 1.6.2; syslog_r() implementation. deraadt@ ok.
|
Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE kame_19991208
|
#
1.5 |
|
10-Feb-1998 |
deraadt |
branches: 1.5.10; Wall
|
Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
|
#
1.4 |
|
23-Jul-1996 |
deraadt |
make printf/addlog return 0, for compat to userland
|
#
1.3 |
|
21-Apr-1996 |
deraadt |
partial sync with netbsd 960418, more to come
|
#
1.2 |
|
03-Mar-1996 |
niklas |
From NetBSD: 960217 merge
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.16 |
|
08-Aug-2017 |
bluhm |
Kernel sendsyslog(2), libc syslog(3), and syslogd(8) restrict and truncate the length of a syslog message to 8192 bytes. Use one global define LOG_MAXLINE for all of them. OK deraadt@ millert@
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.15 |
|
14-Jul-2014 |
deraadt |
Convert syslog_r(3) to using sendsyslog(2). This ensures that syslog_r(3) can be used anywhere (signal handler, stack protector fault handler) as long as the format string does not contain floating point. ok tedu miod beck
|
#
1.14 |
|
10-Jul-2014 |
deraadt |
Add new sendsyslog(const char *, size_t) system call which simply passes a message up into syslogd's /dev/log interface. This will be used to make syslog_r work during file descriptor exhaustion, or inside sandboxes which prohibit socket, connect, sendto, etc. The system call is being added about a week before the library and daemon changes. ok guenther tedu miod matthew
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.13 |
|
19-Oct-2010 |
deraadt |
Remove the LOG_MAKEPRI macro. It has been broken (the << 3 is wrong) since the dawn of time. A few systems fixed^Hchanged it, thus breaking other code. Since the usage of it is now a mess, the right path from here on out is to *remove* the macro forever and cope with the (very minor) fallout. ok guenther tedu millert sthen
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.12 |
|
06-Jan-2006 |
millert |
Adapt things to use __type_t instead of _BSD_TYPE_T_ Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.11 |
|
24-Aug-2003 |
avsm |
sprinkle some __kprintf__ attributes around functions which use format strings in the kernel to make gcc aware of the extra modifiers deraadt@ ok
|
#
1.10 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_3_BASE UBC_SYNC_A
|
#
1.9 |
|
26-Feb-2003 |
espie |
remove dependency upon NULL definition
|
Revision tags: UBC_SYNC_B
|
#
1.8 |
|
06-Oct-2002 |
espie |
use syslog format for syslog, now that release is past...
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE
|
#
1.7 |
|
14-Mar-2002 |
millert |
First round of __P removal in sys
|
Revision tags: UBC_BASE
|
#
1.6 |
|
24-Oct-2001 |
jjbg |
branches: 1.6.2; syslog_r() implementation. deraadt@ ok.
|
Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE kame_19991208
|
#
1.5 |
|
10-Feb-1998 |
deraadt |
branches: 1.5.10; Wall
|
Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
|
#
1.4 |
|
23-Jul-1996 |
deraadt |
make printf/addlog return 0, for compat to userland
|
#
1.3 |
|
21-Apr-1996 |
deraadt |
partial sync with netbsd 960418, more to come
|
#
1.2 |
|
03-Mar-1996 |
niklas |
From NetBSD: 960217 merge
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|