opnsense-src/libexec/flua
Mark Johnston 88d94ead7f lposix: Use reentrant passwd and group lookup functions
The implementation of chown() in the posix module handles user and group
names as well as numeric IDs.  When resolving names, be sure to use
reentrant lookup functions rather than assuming it's safe to clobber the
internal buffers used by getpwnam() and getgrnam().

Fix some style nits while here.

Reviewed by:	imp, bapt
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D46555
2025-07-04 20:11:12 +00:00
..
libfreebsd flua: add freebsd.kenv, kenv(2) bindings 2024-09-14 07:43:50 +02:00
libhash flua: move modules source into the main source directory 2024-09-12 09:03:44 +02:00
libjail jail: Add meta and env parameters 2025-03-31 09:17:03 +00:00
liblyaml lyaml: vendor import lua bindings for libyaml 2025-06-26 09:15:08 +02:00
libucl flua: move modules source into the main source directory 2024-09-12 09:03:44 +02:00
modules lposix: Use reentrant passwd and group lookup functions 2025-07-04 20:11:12 +00:00
flua.1 flua.1: Add xref to style.lua(9) 2025-04-28 16:28:26 -04:00
linit_flua.c flua: lposix: add fnmatch function 2024-10-28 16:31:08 +01:00
Makefile lyaml: vendor import lua bindings for libyaml 2025-06-26 09:15:08 +02:00
Makefile.inc flua: move modules source into the main source directory 2024-09-12 09:03:44 +02:00