TOMOYO: Allow wildcard for execute permission.
[deliverable/linux.git] / security / tomoyo / number_group.c
index c49792e09e81ea7f14d44a39c189e43ff1d5d60c..8d6ef8f006ffd81ddc5c80e11d75d592df9f25d7 100644 (file)
@@ -24,8 +24,7 @@ struct tomoyo_number_group *tomoyo_get_number_group(const char *group_name)
        struct tomoyo_number_group *group = NULL;
        const struct tomoyo_path_info *saved_group_name;
        int error = -ENOMEM;
-       if (!tomoyo_is_correct_path(group_name, 0, 0, 0) ||
-           !group_name[0])
+       if (!tomoyo_is_correct_word(group_name))
                return NULL;
        saved_group_name = tomoyo_get_name(group_name);
        if (!saved_group_name)
This page took 0.02524 seconds and 5 git commands to generate.