Test syslogd logging to a tty which belongs to a user. This is
authorbluhm <bluhm@openbsd.org>
Mon, 19 Oct 2015 20:16:09 +0000 (20:16 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 19 Oct 2015 20:16:09 +0000 (20:16 +0000)
commit7b30e940999908574c71cf37e6d73924681037e3
tree0c2d45597c4560e73b205d046ad0849d3ac0c6b4
parentf051602a30a84c8a47837a1d15ab5106f775f93f
Test syslogd logging to a tty which belongs to a user.  This is
done with a utmp entry for a pty fake login.  All messages are read
from the pty and written into a log file.
31 files changed:
regress/usr.sbin/syslogd/Makefile
regress/usr.sbin/syslogd/README
regress/usr.sbin/syslogd/Syslogd.pm
regress/usr.sbin/syslogd/args-bufsize-native.pl
regress/usr.sbin/syslogd/args-bufsize-sendsyslog.pl
regress/usr.sbin/syslogd/args-bufsize-udp.pl
regress/usr.sbin/syslogd/args-bufsize-unix.pl
regress/usr.sbin/syslogd/args-client-tcp-close.pl
regress/usr.sbin/syslogd/args-client-tcp-error.pl
regress/usr.sbin/syslogd/args-client-tcp-maxline.pl
regress/usr.sbin/syslogd/args-client-tcp-multilines.pl
regress/usr.sbin/syslogd/args-client-tcp-nontransp-maxline.pl
regress/usr.sbin/syslogd/args-client-tcp-octet-maxline.pl
regress/usr.sbin/syslogd/args-client-tls-close.pl
regress/usr.sbin/syslogd/args-client-tls-error.pl
regress/usr.sbin/syslogd/args-client-tls-tcp.pl
regress/usr.sbin/syslogd/args-client-udp-nodns.pl
regress/usr.sbin/syslogd/args-client-udp.pl
regress/usr.sbin/syslogd/args-client-unix.pl
regress/usr.sbin/syslogd/args-default.pl
regress/usr.sbin/syslogd/args-dropped-sigterm-tcp.pl
regress/usr.sbin/syslogd/args-dropped-sigterm-tls.pl
regress/usr.sbin/syslogd/args-fdexhaustion-sighup.pl
regress/usr.sbin/syslogd/args-fdexhaustion-tcp.pl
regress/usr.sbin/syslogd/args-privsep-daemon.pl
regress/usr.sbin/syslogd/args-privsep-foreground.pl
regress/usr.sbin/syslogd/args-sigterm.pl
regress/usr.sbin/syslogd/args-tls-cafile-fake.pl
regress/usr.sbin/syslogd/args-ttymsg-wall.pl [new file with mode: 0644]
regress/usr.sbin/syslogd/funcs.pl
regress/usr.sbin/syslogd/ttylog.c [new file with mode: 0644]