fixed rest of /sys/ files
added check_authority sfun