Merge changes Ia473e29d,Ic500af7b

* changes:
  write_klog also requires write permission to the directory.
  Allow access to /data/security/current symbolic link.