dlopen(3): mention fdlopen for capsicum(4)

Capsicum-sandboxed applications generally cannot use dlopen, as absolute
and cwd-relative paths cannot be accessed.  Mention that fdlopen is
useful for sandboxed applications.

PR:		277169
Reviewed by:	markj, oshogbo
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45108
This commit is contained in:
Ed Maste 2024-05-06 21:45:50 -04:00
parent d3831ca8e3
commit d84fd89ecd

View file

@ -29,7 +29,7 @@
.\"
.\" Copyright (c) 1991 Sun Microsystems, Inc.
.\"
.Dd May 14, 2020
.Dd May 7, 2024
.Dt DLOPEN 3
.Os
.Sh NAME
@ -199,6 +199,10 @@ The
function can be used by the code that needs to perform
additional checks on the loaded objects, to prevent races with
symlinking or renames.
Applications sandboxed using
.Xr capsicum 4
can also make beneficial use of
.Fn fdlopen .
.Pp
The
.Fn dlsym