platform_system_core/include/cutils
Jeff Sharkey 44d6342caa Remove mkdir() side effect, add .nomedia, utils.
Before this change, FUSE lookup() would have the side effect of
creating the directory on behalf of apps.  This resulted in most
directories being created just by Settings trying to measure disk
space.  Instead, we're switching to have vold do directory creation
when an app doesn't have enough permissions.

Create fs_mkdirs() utility to create all parent directories in a
path as needed.  Allow traversal (+x) into /storage directories.

Fix FUSE derived permissions to be case insensitive.  Mark well-known
directories as .nomedia when created.

Bug: 10577808, 10330221
Change-Id: I53114f2e63ffbe6de4ba6a72d94a232523231cad
2013-09-20 14:21:09 -07:00
..
android_reboot.h Make init handle reboots 2013-04-23 13:21:40 -07:00
aref.h cutils: add simple reference counter 2013-01-10 15:23:55 -08:00
ashmem.h Fix sim-eng build. 2010-06-30 22:20:49 -07:00
atomic-arm.h Inline ldrex/strex for thumb2, remove ARMv5 remnants. 2013-03-21 12:37:35 -07:00
atomic-inline.h Remove system/core's remnants of SH support. 2012-08-11 10:04:00 -07:00
atomic-mips.h Fail-proof the inline directives for SMP atomic operations. 2012-12-07 11:07:10 -08:00
atomic-x86.h Fail-proof the inline directives for SMP atomic operations. 2012-12-07 11:07:10 -08:00
atomic.h Remove unconditional swap from the android atomic operations suite. 2011-01-23 14:09:17 -08:00
bitops.h cutils: bitops: Add Hamming weight to bitmask 2013-02-22 14:27:37 -08:00
compiler.h Add ANDROID_API macro to export symbols 2011-10-12 13:45:59 -07:00
config_utils.h Config utils improvement 2011-05-26 13:57:03 -07:00
cpu_info.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
debugger.h Modify debuggerd to cope with the abort message. 2013-04-05 15:59:17 -07:00
dir_hash.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
fs.h Remove mkdir() side effect, add .nomedia, utils. 2013-09-20 14:21:09 -07:00
hashmap.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
iosched_policy.h system: Add support for getting/setting i/o priorities and include a userspace tool 2010-02-25 14:02:55 -08:00
jstring.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
klog.h klog: Have klog_write() call klog_init() if needed 2013-04-11 20:03:47 -07:00
list.h MinGW does not have sys/cdefs.h 2012-03-20 13:46:30 -07:00
log.h Move liblog headers to system/core/include/log 2013-07-24 12:32:39 -07:00
memory.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
misc.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
multiuser.h File-system utilities for installd and zygote. 2012-08-30 10:29:41 -07:00
native_handle.h native_handle.h: fix declaration 2011-05-02 17:27:37 -07:00
open_memstream.h Implementation of open_memstream(). 2010-01-25 15:06:03 -08:00
partition_utils.h Crypto changes for devices that don't write ext4 fs on wipe 2011-05-26 19:42:32 -07:00
process_name.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
properties.h Don't use __attribute__(__error__) 2013-06-18 12:14:47 -07:00
qtaguid.h libcutils: qtaguid: Support new functions, add tag resource tracking. 2011-09-14 15:00:40 -07:00
record_stream.h HACK: cutils: restore record_stream temporarily 2013-06-04 17:40:28 +00:00
sched_policy.h Add more SP_ constants 2012-04-23 17:34:06 -07:00
sockets.h Tracking merge of dalvik-dev to master 2011-05-27 00:50:44 -07:00
str_parms.h tweak for forward-compatibility 2011-06-18 10:41:31 -07:00
threads.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
trace.h trace: Add support for tracing 64-bit ints. 2013-09-18 19:03:45 +00:00
tztime.h The localtime_tz and mktime_tz extensions are now in bionic. 2013-01-15 11:34:08 -08:00
uevent.h cutils: return the remote uid on netlink recv failure 2012-03-29 17:07:24 -07:00