Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
char * | tomoyo_encode2 (const char *str, int str_len) |
char * | tomoyo_encode (const char *str) |
char * | tomoyo_realpath_from_path (struct path *path) |
char * | tomoyo_realpath_nofollow (const char *pathname) |
tomoyo_encode - Encode binary string to ascii string.
: String in binary format.
Returns pointer to in ascii format on success, NULL otherwise.
This function uses kzalloc(), so caller must kfree() if this function didn't return NULL.
Definition at line 76 of file realpath.c.
tomoyo_encode2 - Encode binary string to ascii string.
: String in binary format. : Size of in byte.
Returns pointer to in ascii format on success, NULL otherwise.
This function uses kzalloc(), so caller must kfree() if this function didn't return NULL.
Definition at line 21 of file realpath.c.
tomoyo_realpath_from_path - Returns realpath(3) of the given pathname but ignores chroot'ed root.
: Pointer to "struct path".
Returns the realpath of the given on success, NULL otherwise.
If dentry is a directory, trailing '/' is appended. Characters out of 0x20 < c < 0x7F range are converted to style octal string. Character \ is converted to \ string.
These functions use kzalloc(), so the caller must call kfree() if these functions didn't return NULL.
Definition at line 250 of file realpath.c.