summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/ttymsg.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-04-02 19:00:51 +0000
committerguenther <guenther@openbsd.org>2016-04-02 19:00:51 +0000
commit29088be8b13bc36bca8451826ff50171aa8a83c9 (patch)
tree615cd0fc2db37ee8c9ac70a26721acd9cb192d5f /usr.sbin/syslogd/ttymsg.c
parentUse open(tty, O_WRONLY) + fdopen() instead of fopen(tty, "w") to (diff)
downloadwireguard-openbsd-29088be8b13bc36bca8451826ff50171aa8a83c9.tar.xz
wireguard-openbsd-29088be8b13bc36bca8451826ff50171aa8a83c9.zip
Eliminate the need to explicitly invoke syscalls via their _thread_sys_*
aliases by using a macro REDIRECT_SYSCALL() to map the symbols. Apply that to getthrid(), sysctl(), and issetugid() as well. ok mpi@ beck@
Diffstat (limited to 'usr.sbin/syslogd/ttymsg.c')
0 files changed, 0 insertions, 0 deletions