freebsd-dev/lib/libutil
Mariusz Zaborski 4f9612a321 Store directory descriptor in the pidfh structure and use unlinkat(2)
function instead of unlink(2).

Now when pidfile_remove() uses unlinkat(2) to remove the pidfile
it is safe to use this function in capability mode.

Style fix: sort headers.

PR:		220524
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D11692
2017-08-10 16:45:05 +00:00
..
tests enable pidfile tests on arm64 2017-07-19 14:07:38 +00:00
_secure_path.3
_secure_path.c
auth.c
expand_number.3
expand_number.c
flopen.3 Introduce the flopenat(3) function. 2017-08-04 14:24:24 +00:00
flopen.c Introduce the flopenat(3) function. 2017-08-04 14:24:24 +00:00
fparseln.3 mdoc: remove superfluous paragraph macros. 2014-06-23 18:40:21 +00:00
fparseln.c fparseln(3): Update from NetBSD sources. 2014-07-23 14:57:15 +00:00
gr_util.c lib: initial use of reallocarray(3). 2017-04-21 19:27:33 +00:00
hexdump.3 Document sbuf_hexdump(9) in just sbuf(9) 2017-03-21 19:10:07 +00:00
hexdump.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
humanize_number.3
humanize_number.c Correct an out of bounds read with HN_AUTOSCALE and very large numbers. 2017-04-13 15:49:32 +00:00
kinfo_getallproc.3 Add <sys/user.h> to the SYNOPSIS of the kinfo_get*() functions since these 2015-05-27 17:51:06 +00:00
kinfo_getallproc.c lib/libutil/kinfo_*: style cleanup 2017-01-09 00:47:23 +00:00
kinfo_getfile.3 Add <sys/user.h> to the SYNOPSIS of the kinfo_get*() functions since these 2015-05-27 17:51:06 +00:00
kinfo_getfile.c lib/libutil/kinfo_*: style cleanup 2017-01-09 00:47:23 +00:00
kinfo_getproc.3 Add <sys/user.h> to the SYNOPSIS of the kinfo_get*() functions since these 2015-05-27 17:51:06 +00:00
kinfo_getproc.c lib/libutil/kinfo_*: style cleanup 2017-01-09 00:47:23 +00:00
kinfo_getvmmap.3 Add <sys/user.h> to the SYNOPSIS of the kinfo_get*() functions since these 2015-05-27 17:51:06 +00:00
kinfo_getvmmap.c lib/libutil/kinfo_*: style cleanup 2017-01-09 00:47:23 +00:00
kinfo_getvmobject.3 Export a list of VM objects in the system via a sysctl. The list can be 2015-05-27 18:11:05 +00:00
kinfo_getvmobject.c When sysctlbyname fails, free buf before returning. 2017-06-01 16:44:39 +00:00
kld.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
kld.c
libutil.h Introduce the flopenat(3) function. 2017-08-04 14:24:24 +00:00
login_auth.3
login_auth.c libutil: minor spelling fixes. 2016-05-18 15:25:45 +00:00
login_cap.3
login_cap.c lib: initial use of reallocarray(3). 2017-04-21 19:27:33 +00:00
login_cap.h
login_class.3 Fix handling of umtxp resource limit in sh(1)/ulimit(1), limits(1), add 2016-03-12 14:54:34 +00:00
login_class.c Fix handling of umtxp resource limit in sh(1)/ulimit(1), limits(1), add 2016-03-12 14:54:34 +00:00
login_crypt.c
login_ok.3
login_ok.c
login_times.3
login_times.c
login_tty.3
login_tty.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
login.conf.5 Fix handling of umtxp resource limit in sh(1)/ulimit(1), limits(1), add 2016-03-12 14:54:34 +00:00
Makefile Introduce the flopenat(3) function. 2017-08-04 14:24:24 +00:00
Makefile.depend META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host. 2015-11-25 19:10:28 +00:00
pidfile.3 libutil: minor spelling fixes. 2016-05-18 15:25:45 +00:00
pidfile.c Store directory descriptor in the pidfh structure and use unlinkat(2) 2017-08-10 16:45:05 +00:00
property.3
property.c
pty.3 Correct posix_openpt reference in pty(3) 2015-11-06 12:02:24 +00:00
pty.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pw_util.3 Bump .Dd due to changes made in r285050 and r285053 2015-07-02 19:41:08 +00:00
pw_util.c lib: initial use of reallocarray(3). 2017-04-21 19:27:33 +00:00
quotafile.3 mdoc: improvements to SEE ALSO. 2014-12-27 08:31:52 +00:00
quotafile.c Use strlcpy() instead of strncpy() to ensure that qf->fsname is NUL 2016-05-13 00:26:14 +00:00
realhostname_sa.3
realhostname.3
realhostname.c
stub.c
trimdomain.3
trimdomain.c
uucplock.3
uucplock.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00