diff options
Diffstat (limited to 'security/tomoyo/realpath.h')
-rw-r--r-- | security/tomoyo/realpath.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/security/tomoyo/realpath.h b/security/tomoyo/realpath.h index 78217a37960..47b4f59dad6 100644 --- a/security/tomoyo/realpath.h +++ b/security/tomoyo/realpath.h | |||
@@ -36,11 +36,8 @@ char *tomoyo_realpath_nofollow(const char *pathname); | |||
36 | /* Same with tomoyo_realpath() except that the pathname is already solved. */ | 36 | /* Same with tomoyo_realpath() except that the pathname is already solved. */ |
37 | char *tomoyo_realpath_from_path(struct path *path); | 37 | char *tomoyo_realpath_from_path(struct path *path); |
38 | 38 | ||
39 | /* | 39 | /* Check memory quota. */ |
40 | * Allocate memory for ACL entry. | 40 | bool tomoyo_memory_ok(void *ptr); |
41 | * The RAM is chunked, so NEVER try to kfree() the returned pointer. | ||
42 | */ | ||
43 | void *tomoyo_alloc_element(const unsigned int size); | ||
44 | 41 | ||
45 | /* | 42 | /* |
46 | * Keep the given name on the RAM. | 43 | * Keep the given name on the RAM. |