sdcard: Respect check_caller_access_to_name on readdir() calls

While looking at a blocked path failed as expected when trying
to access it with a stat(), read(), or getattr(), readdir() still
returned the entry, making devices with mounted external storage fail
com.android.cts.appsecurity.AppSecurityTests#testExternalStorageWrite
by trying to interact with otherwise invisible paths.

Fixit by skipping all entries that would've been made invisible at
LOOKUP

Change-Id: Ia8afac0703fa10f78c89046f029776bd290e4846
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_system_core into kitkat
rootdir: init: move cpufreq from main init.rc to vendor init

Move these to the PA init, there's no need to have them here.

Change-Id: I8889d6f6d3346cf7920bb3e8d5d52291d40d6b5e
Signed-off-by: houst0nn <houstonn@gmail.com>
Merge remote-tracking branch 'PA/kitkat' into kitkat-legacy

Conflicts:
	rootdir/init.rc