freebsd-skq/lib
Mariusz Zaborski 16545cf5d5 Introduce the daemonfd function.
The daemonfd function is equivalent to the daemon(3) function expect that
arguments are descriptors. For example dhclient(8) which is sandboxed is
unable to open /dev/null to close stdio instead it's allows to fail
daemon(3) function to close the descriptors and then do it explicit in code.
Instead of such hacks we can use now daemonfd.

This API can be also helpful to migrate system to platforms like CheriBSD.

Reviewed by:	brooks@, bcr@, jilles@ (earlier version)
Differential Revision:	https://reviews.freebsd.org/D13433
2017-12-23 18:07:43 +00:00
..
atf
clang Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to 2017-12-16 18:06:30 +00:00
csu lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
lib80211
libalias
libarchive lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libauditd
libbegemot
libblacklist
libblocksruntime
libbluetooth lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libbsdstat lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libbsm
libbsnmp
libbz2
libc Introduce the daemonfd function. 2017-12-23 18:07:43 +00:00
libc_nonshared lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libc++
libc++experimental
libcalendar lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libcam Fix a null-pointer dereference and a tautological check in cam_get_device 2017-12-06 23:24:11 +00:00
libcapsicum
libcasper
libclang_rt Upgrade our copies of clang, llvm, lldb and libc++ to r319231 from the 2017-12-03 12:14:34 +00:00
libcom_err
libcompat lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libcompiler_rt
libcrypt lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libcuse
libcxxrt
libdevctl
libdevdctl
libdevinfo Bump number that's an insane number of devices from 1,000 to 10,000. I 2017-12-21 04:21:59 +00:00
libdevstat lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libdl
libdpv
libdwarf
libedit
libefivar Ensure that "out" is initialized in all error paths. 2017-12-07 15:16:17 +00:00
libelf
libelftc
libevent
libexecinfo
libexpat
libfetch SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
libfigpar
libgcc_eh
libgcc_s
libgeom lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libgpio
libgssapi lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libiconv_modules lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libifconfig
libipsec
libjail lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libkiconv lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libkvm lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libldns
liblzma
libmagic
libmd SPDX: some uses of the RSA-MD license. 2017-12-13 16:30:39 +00:00
libmemstat lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libmilter
libmp lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libmt
libnandfs lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libnetbsd lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libnetgraph
libngatm
libnv lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libopenbsd
libopie
libpam lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libpathconv
libpcap
libpe
libpjdlog lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libpmc lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libpmcstat
libproc Use a global extern declaration to appease gcc. 2017-12-06 17:52:01 +00:00
libprocstat lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libradius lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
librpcsec_gss lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
librpcsvc
librss
librt lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
librtld_db lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libsbuf
libsdp lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libsm
libsmb
libsmdb
libsmutil
libsqlite3
libstdbuf lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libstdthreads lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libsysdecode libsysdecode: Add a new ABI type, SYSDECODE_ABI_CLOUDABI32. 2017-12-16 19:37:55 +00:00
libtacplus lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libtelnet
libthr lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libthread_db lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libucl
libufs lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libugidfw lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libulog lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libunbound
libusb lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libusbhid lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libutil lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libvgl lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libvmmapi lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libwrap
libxo
liby
libypclnt lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libz
libzstd Addd work around for LLVM bug 35023. 2017-11-26 16:41:30 +00:00
msun Correct r326748, indicating that tgammal(3) is mapped to tgamma(3), not 2017-12-10 23:03:13 +00:00
ncurses
tests
Makefile Install strings unconditionally 2017-11-20 20:55:41 +00:00
Makefile.inc