opnsense-src/lib/libutil
Baptiste Daroussin 04eeb364d4 cpuset(3): Move cpuset's parselist function into libutil
In order to allow to add cpuset(2) functionality to more utilities than just
 cpuset(1) move the parselist code into libutil

While here, make the code a little more "library" friendly, by returning a range
of various errors so that the consumer can check for them and report appropriate
error message to the users

(One of the planed usage is the jail(8) utility)

Reviewed by:	jilles
Differential Revision:	https://reviews.freebsd.org/D12873
2023-06-01 23:16:01 +02:00
..
tests pidfile test: guarantee nul termination of the read pid string 2021-09-24 19:52:41 +03:00
_secure_path.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
_secure_path.c
auth.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
cpuset.3 cpuset(3): Move cpuset's parselist function into libutil 2023-06-01 23:16:01 +02:00
cpuset.c cpuset(3): Move cpuset's parselist function into libutil 2023-06-01 23:16:01 +02:00
expand_number.3
expand_number.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
flopen.3
flopen.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
fparseln.3
fparseln.c
getlocalbase.3 spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
getlocalbase.c Change getlocalbase() to not allocate any heap memory 2020-12-12 11:23:52 +00:00
gr_util.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hexdump.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
hexdump.c
humanize_number.3 libutil: Fix mandoc warnings 2022-08-07 16:30:24 +02:00
humanize_number.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kinfo_getallproc.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getallproc.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kinfo_getfile.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getfile.c
kinfo_getproc.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getproc.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kinfo_getvmmap.3 libutil: Fix mandoc warnings 2022-08-07 16:30:24 +02:00
kinfo_getvmmap.c
kinfo_getvmobject.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getvmobject.c libutil: add kinfo_getswapvmobject(3) 2021-10-26 15:50:29 +03:00
kld.3
kld.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
libutil.h cpuset(3): Move cpuset's parselist function into libutil 2023-06-01 23:16:01 +02:00
login.conf.5 login.conf.5: Mark passwordtime as implemented 2021-10-06 22:51:22 +02:00
login_auth.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_auth.c
login_cap.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_cap.c Allow a comma-separated list in login class capabilities, 2023-01-14 10:48:29 -08:00
login_cap.h
login_class.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_class.c setclassenvironment: trim leading spaces in variable names 2021-04-12 01:05:10 +03:00
login_crypt.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
login_ok.3 Fix a few mandoc issues 2020-10-09 19:12:44 +00:00
login_ok.c
login_times.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_times.c
login_tty.3 libutil: Fix mandoc warnings 2022-08-07 16:30:24 +02:00
login_tty.c
Makefile cpuset(3): Move cpuset's parselist function into libutil 2023-06-01 23:16:01 +02:00
Makefile.depend
pidfile.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
pidfile.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
property.3
property.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pty.3 libutil: Fix mandoc warnings 2022-08-07 16:30:24 +02:00
pty.c
pw_util.3 libutil: Fix mandoc warnings 2022-08-07 16:30:24 +02:00
pw_util.c Make vipw error message less cryptic 2020-06-20 06:20:00 +00:00
quotafile.3 libutil: Fix mandoc warnings 2022-08-07 16:30:24 +02:00
quotafile.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
realhostname.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
realhostname.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
realhostname_sa.3
stub.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
trimdomain.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
trimdomain.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
uucplock.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
uucplock.c