diff options
Diffstat (limited to 'security/tomoyo/util.c')
-rw-r--r-- | security/tomoyo/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/tomoyo/util.c b/security/tomoyo/util.c index 945eeefbbdfe..20abba22af42 100644 --- a/security/tomoyo/util.c +++ b/security/tomoyo/util.c | |||
@@ -92,7 +92,7 @@ bool tomoyo_parse_name_union(const char *filename, | |||
92 | if (!tomoyo_correct_word(filename)) | 92 | if (!tomoyo_correct_word(filename)) |
93 | return false; | 93 | return false; |
94 | if (filename[0] == '@') { | 94 | if (filename[0] == '@') { |
95 | ptr->group = tomoyo_get_path_group(filename + 1); | 95 | ptr->group = tomoyo_get_group(filename + 1, TOMOYO_PATH_GROUP); |
96 | ptr->is_group = true; | 96 | ptr->is_group = true; |
97 | return ptr->group != NULL; | 97 | return ptr->group != NULL; |
98 | } | 98 | } |
@@ -117,7 +117,7 @@ bool tomoyo_parse_number_union(char *data, struct tomoyo_number_union *num) | |||
117 | if (data[0] == '@') { | 117 | if (data[0] == '@') { |
118 | if (!tomoyo_correct_word(data)) | 118 | if (!tomoyo_correct_word(data)) |
119 | return false; | 119 | return false; |
120 | num->group = tomoyo_get_number_group(data + 1); | 120 | num->group = tomoyo_get_group(data + 1, TOMOYO_NUMBER_GROUP); |
121 | num->is_group = true; | 121 | num->is_group = true; |
122 | return num->group != NULL; | 122 | return num->group != NULL; |
123 | } | 123 | } |