MFC r343827:r342089 changed cap_syslog(3) to preserve the stdio descriptors inheritedfrom its parent so that LOG_PERROR would work. However, this causeddhclient(8)'s stdio streams to remain open
MFC r343827:r342089 changed cap_syslog(3) to preserve the stdio descriptors inheritedfrom its parent so that LOG_PERROR would work. However, this causeddhclient(8)'s stdio streams to remain open across daemonization, breakingthe ability to capture its foreground output as done in netconfig_ipv4.Fix this by reverting r341692 and instead passing the parent's stderrdescriptor as an argument to cap_openlog() only when LOG_PERROR is specifiedin logopt.PR: 234514
show more ...
MFC r341692:Let the cap_syslog capability inherit stdio descriptors.
nv was moved to the 9 section.Fix reference to it.
Introduce channel flags in libcasper.Instead of passing flags (which describe a type of nvlist)every send/recv we remember them in channel.It's enough for use to extract them only during unwrap.
Introduce channel flags in libcasper.Instead of passing flags (which describe a type of nvlist)every send/recv we remember them in channel.It's enough for use to extract them only during unwrap.This simplify use of Casper.Reviewed by: bruffer@, bcr@ (both man page)Differential Revision: https://reviews.freebsd.org/D14196 (man page)
The name of the library is exactly the same like one of name the name of thefunctions.We should not create MLINKS for that one, because it's break a build.Submitted by: lwhsu@
Document the syslog Casper service.Reviewed by: bcr@Differential Revision: https://reviews.freebsd.org/D14084
Add SPDX tags for libcasper(3) and services.MFC after: 2 weeks
Introduce syslog service for Casper.syslog in libc secretly reconnects to the daemon.Another issue is that we don't have any information from openlog(3) if wesucceeded to open log or not so we do
Introduce syslog service for Casper.syslog in libc secretly reconnects to the daemon.Another issue is that we don't have any information from openlog(3) if wesucceeded to open log or not so we don't know if we are readyto enter cabability mode.Because all of that we decided we need a syslog service for Caspser.Reviewed by: bapt@Differential Revision: https://reviews.freebsd.org/D12824