lint/revive: add package doc comments

This silences all of the "should have a package comment" lint warnings
from golangci-lint.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
Aleksa Sarai
2025-09-29 16:41:54 +10:00
parent 8b06dd8743
commit 627054d246
27 changed files with 96 additions and 12 deletions
+11
View File
@@ -15,6 +15,17 @@
* limitations under the License.
*/
// memfd-bind is a command-line tool to construct a persistent
// sealed-memfd-copy of a binary, to allow administrators to amortise the cost
// of memfd cloning for runc. runc will not make its own copy of the binary if
// it detects that the binary is already a sealed-memfd-copy.
//
// Usage of this tool has a lot of caveats -- see this package's README for
// more details on what restrictions apply when using this tool.
//
// Deprecated: runc 1.2 and later use a different mechanism for protecting the
// runc binary that obviates the need for this tool. Unless you are on an old
// kernel or need to use an older runc version, this tool is no longer needed.
package main
import (