mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user