1. remove unnecessary log code during the permission check. 2. fix memory leak and fp leak 3. fix multiple etmemd and too many err log problem Signed-off-by: liubo <liubo254@huawei.com>