diff options
author | Roman I Khimov <khimov@altell.ru> | 2010-12-23 11:57:49 +0300 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-01-11 19:47:58 +0100 |
commit | 8fdc17c2ba1322712604d88dca48157068e6aadb (patch) | |
tree | 4aa5f7abe26625b1eb62d6dd2c0d83c3063d5d1e /libc/misc/elf/dl-iterate-phdr.c | |
parent | e0d2b8e59beba49d6c2bdcf24257cc1834ce2b26 (diff) |
syslog: fix 'everyone logs with user facility'
It's been found that on uclibc-based system most of the programs log with
'user' facility despite the calls to openlog() with other facilities explicitly
set. Most but not all. Investigating that I've found that the ones logging with
proper facilities used LOG_NDELAY in openlog(). The problem is that LogFacility
is overwritten in openlog_intern and LOG_USER is passed to it from vsyslog() no
matter what the program set with openlog().
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc/elf/dl-iterate-phdr.c')
0 files changed, 0 insertions, 0 deletions