fdcreate/fdcreate.1

25 lines
371 B
Groff
Raw Normal View History

2022-08-11 10:32:36 +00:00
.Dd August 11, 2022
.Dt FDCREATE 1
.Os
.Sh NAME
.Nm fdcreate
.Nd
create an anonymous file, then execute a program
.Sh SYNOPSIS
.Nm
.Ar name
.Ar prog...
.Sh DESCRIPTION
.Nm
creates an anonymous file (memfd) with
.Xr memfd_create 3
and exports the resulting file descriptor as
.Ar name ,
then
.Xr exec 3 Ns
s into
.Ar prog
with its arguments.
.Sh AUTHORS
.An Patrycja Rosa