flua: Add a libjail module
authorRyan Moeller <freqlabs@FreeBSD.org>
Sat, 24 Oct 2020 17:08:59 +0000 (17:08 +0000)
committerRyan Moeller <freqlabs@FreeBSD.org>
Sat, 24 Oct 2020 17:08:59 +0000 (17:08 +0000)
commit73577bf01de5c4677dc54d97f93310286c254780
tree46ca58183e710d3eaa9228aa3a9fbe463ccd99f2
parent64e352c6dfdb60e27ffc727033d7eda2faafb78f
flua: Add a libjail module

libjail is pretty small, so it makes for a good proof of concept demonstrating
how a system library can be wrapped to create a loadable Lua module for flua.

* Introduce 3lua section for man pages
* Add libjail module

Reviewed by: kevans, manpages
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D26080
15 files changed:
Makefile.inc1
contrib/mandoc/msec.in
etc/mtree/BSD.usr.dist
lib/Makefile
lib/flua/Makefile [new file with mode: 0644]
lib/flua/libjail/Makefile [new file with mode: 0644]
lib/flua/libjail/jail.3lua [new file with mode: 0644]
lib/flua/libjail/lua_jail.c [new file with mode: 0644]
share/examples/Makefile
share/examples/flua/libjail.lua [new file with mode: 0644]
share/man/Makefile
share/man/man3lua/Makefile [new file with mode: 0644]
share/man/man3lua/intro.3lua [new file with mode: 0644]
usr.bin/man/man.1
usr.bin/man/man.sh