From 31df2fbd0085fe126b616349945d37281e00e3f0 Mon Sep 17 00:00:00 2001 From: Kailun Qin Date: Wed, 10 Aug 2022 13:11:24 -0400 Subject: [PATCH] Add "LL" prefix for top-level "FSAct*" variables Signed-off-by: Kailun Qin --- specs-go/config.go | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/specs-go/config.go b/specs-go/config.go index febf3cc64..dfa484ceb 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -103,19 +103,19 @@ type LandlockFSAction string // Define actions on files and directories that Landlock can restrict a sandboxed process to. const ( - FSActExecute LandlockFSAction = "execute" - FSActWriteFile LandlockFSAction = "write_file" - FSActReadFile LandlockFSAction = "read_file" - FSActReadDir LandlockFSAction = "read_dir" - FSActRemoveDir LandlockFSAction = "remove_dir" - FSActRemoveFile LandlockFSAction = "remove_file" - FSActMakeChar LandlockFSAction = "make_char" - FSActMakeDir LandlockFSAction = "make_dir" - FSActMakeReg LandlockFSAction = "make_reg" - FSActMakeSock LandlockFSAction = "make_sock" - FSActMakeFifo LandlockFSAction = "make_fifo" - FSActMakeBlock LandlockFSAction = "make_block" - FSActMakeSym LandlockFSAction = "make_sym" + LLFSActExecute LandlockFSAction = "execute" + LLFSActWriteFile LandlockFSAction = "write_file" + LLFSActReadFile LandlockFSAction = "read_file" + LLFSActReadDir LandlockFSAction = "read_dir" + LLFSActRemoveDir LandlockFSAction = "remove_dir" + LLFSActRemoveFile LandlockFSAction = "remove_file" + LLFSActMakeChar LandlockFSAction = "make_char" + LLFSActMakeDir LandlockFSAction = "make_dir" + LLFSActMakeReg LandlockFSAction = "make_reg" + LLFSActMakeSock LandlockFSAction = "make_sock" + LLFSActMakeFifo LandlockFSAction = "make_fifo" + LLFSActMakeBlock LandlockFSAction = "make_block" + LLFSActMakeSym LandlockFSAction = "make_sym" ) // LinuxCapabilities specifies the list of allowed capabilities that are kept for a process.