Closing after landlock_add_rule?

Yves Rutschle <[email protected]> Sun, 8 Sep 2024 15:04:53 +0000
Newsgroups dev.linux.lists.landlock
Message-ID <[email protected]>
Hello all,

So far my code did not close the filehandles it uses to
create the fuleset using landlock_add_rule(). I recently
received a commit to close the file descriptors.

Does landlock use the file handles after the ruleset is
created, or is it ok to close them after? The man page does
not discuss this.

Cheers,
Y.