opnsense-src/libexec/flua/modules
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
..
lfbsd.c flua: add fbsd module 2023-09-27 16:00:00 +02:00
lfbsd.h flua: add fbsd module 2023-09-27 16:00:00 +02:00
lfs.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
lfs.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
lposix.c lposix: Use reentrant passwd and group lookup functions 2025-07-04 20:11:12 +00:00
lposix.h flua: lposix: add fnmatch function 2024-10-28 16:31:08 +01:00