From 2ab42db652df748b64cc6c4aa30ade1bad2b900a Mon Sep 17 00:00:00 2001 From: Andras Gemes Date: Sat, 14 Sep 2024 13:56:32 +0200 Subject: [PATCH] docs: update LSM hook prompt to reference lsm_hook_defs.h --- cargo-generate.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cargo-generate.toml b/cargo-generate.toml index 6026555..c98c951 100644 --- a/cargo-generate.toml +++ b/cargo-generate.toml @@ -71,7 +71,7 @@ regex = "^[a-z_]+$" [conditional.'program_type == "lsm"'.placeholders.lsm_hook] type = "string" -prompt = "Which lsm hook? (e.g file_open, task_alloc) You can find a list of hooks in include/linux/lsm_hooks.h in the kernel source tree." +prompt = "Which lsm hook? (e.g file_open, task_alloc) You can find a list of hooks in include/linux/lsm_hooks.h or include/linux/lsm_hook_defs.h in the kernel source tree." regex = "^[a-z_]+$" [hooks]