TOMOYO: Allow wildcard for execute permission.
Some applications create and execute programs dynamically. We need to accept wildcard for execute permission because such programs contain random suffix in their filenames. This patch loosens up regulation of string parameters. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: James Morris <jmorris@namei.org>
Este cometimento está contido em:

cometido por
James Morris

ascendente
c8c57e8427
cometimento
3f62963632
@@ -407,7 +407,7 @@ static int tomoyo_update_manager_entry(const char *manager,
|
||||
return -EINVAL;
|
||||
e.is_domain = true;
|
||||
} else {
|
||||
if (!tomoyo_is_correct_path(manager, 1, -1, -1))
|
||||
if (!tomoyo_is_correct_path(manager))
|
||||
return -EINVAL;
|
||||
}
|
||||
e.manager = tomoyo_get_name(manager);
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador