Skip to content

Commit 31df2fb

Browse files
committed
Add "LL" prefix for top-level "FSAct*" variables
Signed-off-by: Kailun Qin <[email protected]>
1 parent 57c1d04 commit 31df2fb

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

specs-go/config.go

+13-13
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,19 @@ type LandlockFSAction string
103103

104104
// Define actions on files and directories that Landlock can restrict a sandboxed process to.
105105
const (
106-
FSActExecute LandlockFSAction = "execute"
107-
FSActWriteFile LandlockFSAction = "write_file"
108-
FSActReadFile LandlockFSAction = "read_file"
109-
FSActReadDir LandlockFSAction = "read_dir"
110-
FSActRemoveDir LandlockFSAction = "remove_dir"
111-
FSActRemoveFile LandlockFSAction = "remove_file"
112-
FSActMakeChar LandlockFSAction = "make_char"
113-
FSActMakeDir LandlockFSAction = "make_dir"
114-
FSActMakeReg LandlockFSAction = "make_reg"
115-
FSActMakeSock LandlockFSAction = "make_sock"
116-
FSActMakeFifo LandlockFSAction = "make_fifo"
117-
FSActMakeBlock LandlockFSAction = "make_block"
118-
FSActMakeSym LandlockFSAction = "make_sym"
106+
LLFSActExecute LandlockFSAction = "execute"
107+
LLFSActWriteFile LandlockFSAction = "write_file"
108+
LLFSActReadFile LandlockFSAction = "read_file"
109+
LLFSActReadDir LandlockFSAction = "read_dir"
110+
LLFSActRemoveDir LandlockFSAction = "remove_dir"
111+
LLFSActRemoveFile LandlockFSAction = "remove_file"
112+
LLFSActMakeChar LandlockFSAction = "make_char"
113+
LLFSActMakeDir LandlockFSAction = "make_dir"
114+
LLFSActMakeReg LandlockFSAction = "make_reg"
115+
LLFSActMakeSock LandlockFSAction = "make_sock"
116+
LLFSActMakeFifo LandlockFSAction = "make_fifo"
117+
LLFSActMakeBlock LandlockFSAction = "make_block"
118+
LLFSActMakeSym LandlockFSAction = "make_sym"
119119
)
120120

121121
// LinuxCapabilities specifies the list of allowed capabilities that are kept for a process.

0 commit comments

Comments
 (0)