namespace: fix naming in examples, errors and comments

At some places, there's still the word 'contianer' instead of 'namespace'

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-08-13 11:48:25 +02:00
parent e98a3a5ff4
commit 05d88310bd
3 changed files with 5 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ static void parseLine(char *line, struct Xnamespace **walk_ns)
{
if ((token = strtok(NULL, " ")) == NULL)
{
XNS_LOG("container missing id\n");
XNS_LOG("namespace missing id\n");
return;
}

View File

@@ -38,7 +38,7 @@ void hookResourceAccess(CallbackListPtr *pcbl, void *unused, void *calldata)
}
}
// resource access inside same container is always permitted
// resource access inside same namespace is always permitted
if (XnsClientSameNS(subj, obj))
goto pass;

View File

@@ -3,15 +3,15 @@
auth MIT-MAGIC-COOKIE-1 46f8e62b78e58962de0ceefc05ad90b0
auth MIT-MAGIC-COOKIE-1 56f8e62b78e58962de0ceefc05ad90b0
# container <name> <parent_name>
container xeyes root
# namespace <name> <parent_name>
namespace xeyes root
auth MIT-MAGIC-COOKIE-1 46f8e62b78e58962de0ceefc05ad90b8
auth MIT-MAGIC-COOKIE-1 46f8e62b78e58962de0ceefc05ad90a8
allow mouse-motion
allow shape
allow xinput
container xclock root
namespace xclock root
auth MIT-MAGIC-COOKIE-1 46f8e62b78e58962de0ceefc05ad90b7
auth MIT-MAGIC-COOKIE-1 46f8e62b78e58962de0ceefc05ad91b7
auth MIT-MAGIC-COOKIE-1 46f8e62b78e58962de0ceefc05ad92b7