From bc8848eb6227f87701336bfa2f0f63ab6417d38b 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 4d4d332..a8d35ca 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_hook_defs.h in the kernel source tree." regex = "^[a-z_]+$" [hooks]