diff options
Diffstat (limited to 'common/util.c')
-rw-r--r-- | common/util.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/common/util.c b/common/util.c index a03b73e..f7fc288 100644 --- a/common/util.c +++ b/common/util.c @@ -34,8 +34,12 @@ const char *gluten_offset_name[OFFSET_TYPE_MAX + 1] = { "read-only data", "temporary data", "seccomp data", "instruction area", }; -const char *ns_type_name[NS_TYPE_MAX + 1] = { - "mnt", "cgroup", "uts", "ipc", "user", "pid", "net", "time", +const char *context_type_name[CONTEXT_TYPE_MAX + 1] = { + "mnt", "cgroup", "uts", "ipc", "user", "pid", "net", "time", "cwd", +}; + +const char *context_spec_type_name[CONTEXT_SPEC_TYPE_MAX + 1] = { + "none", "caller", "pid", "path", }; const char *bitwise_type_str[BITWISE_MAX + 1] = { "&", "|" }; |