git: libc: Move out locking from vsyslog() core.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Tue Apr 23 11:27:55 PDT 2019


commit 8ca63dbf08c22e634a1e0da21bf45af729616a4c
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Apr 23 19:16:12 2019 +0300

    libc: Move out locking from vsyslog() core.
    
    For consistency with openlog() and closelog().
    
    While there, use SOCK_CLOEXEC directly and do not attempt to closelog()
    several times for badly written programs (LogFile is handled internally).

Summary of changes:
 lib/libc/gen/syslog.c | 36 +++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 19 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8ca63dbf08c22e634a1e0da21bf45af729616a4c


-- 
DragonFly BSD source repository



More information about the Commits mailing list