"README.md" did not exist on "253898c4170c7f426d1bc32860fee04f27de3ade"
TOMOYO: Add refcounter on string data.
Add refcounter to "struct tomoyo_name_entry" and replace tomoyo_save_name() with tomoyo_get_name()/tomoyo_put_name() pair so that we can kfree() when garbage collector is added. Signed-off-by:Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Acked-by:
Serge Hallyn <serue@us.ibm.com> Signed-off-by:
James Morris <jmorris@namei.org>
Showing
- security/tomoyo/common.c 7 additions, 3 deletionssecurity/tomoyo/common.c
- security/tomoyo/domain.c 23 additions, 9 deletionssecurity/tomoyo/domain.c
- security/tomoyo/file.c 18 additions, 6 deletionssecurity/tomoyo/file.c
- security/tomoyo/realpath.c 9 additions, 21 deletionssecurity/tomoyo/realpath.c
- security/tomoyo/realpath.h 20 additions, 1 deletionsecurity/tomoyo/realpath.h
Loading
Please register or sign in to comment