android_system_core/libcutils
JP Abgrall 243123fb41 libcutils: qtaguid: Support new functions, add tag resource tracking.
* Add support for
  deleteTagData(tag, uid)
  setCounterSet(counterSetNum, uid)
  setPacifier(on)

* Add resource tracking
(If only kernel process termination had a hook)
Because the xt_qtaguid netfilter module needs to keep track of
tagged sockets, it needs a way to know when the process owning
the socket has died.
Normally the app will untag the sockets. But not on crash.
So the process opens the qtaguid misc dev, which is closed on crash,
at which point the xt_qtaguid can force-untag the processes sockets,
and thus allowing their refcount to go down and release them.

* Add pacifier support
 Add function to enable/disable pacification of the xt_qtaguid
 kernel module. (mostly for debugging)

Change-Id: I7f2228e65208046dd37ec1c7407ee307d5ba9b99
2011-09-14 15:00:40 -07:00
..
arch-arm Assembly coded android_memset16 and android_memset32 2011-01-07 11:26:34 -08:00
arch-x86 Assembly coded android_memset16 and android_memset32 2011-01-07 11:26:34 -08:00
abort_socket.c Fix bug where ECONNABORTED would have always occured on asocket_write. 2009-05-29 16:10:22 -07:00
Android.mk cutils: only build klog for target 2011-09-04 17:16:13 -07:00
android_reboot.c Try to unmount writable filesystems when rebooting 2011-03-10 18:11:46 -08:00
array.c auto import from //branches/cupcake_rel/...@138607 2009-03-13 13:04:37 -07:00
ashmem-dev.c Added ashmem_get_size_region() function. 2009-06-02 00:55:30 +01:00
ashmem-host.c Added ashmem_get_size_region() function. 2009-06-02 00:55:30 +01:00
atomic-android-sh.c Remove unconditional swap from the android atomic operations suite. 2011-01-23 14:09:17 -08:00
atomic.c Define inline atomic operations for x86 and ARM. 2010-06-23 12:51:26 -07:00
buffer.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
buffer.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
config_utils.c Config utils improvement 2011-05-26 13:57:03 -07:00
cpu_info.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
dir_hash.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
dlmalloc_stubs.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
hashmap.c libcutils: hashmap: save next pointer in forEach before calling callback 2011-04-19 15:16:18 -07:00
iosched_policy.c cutils: schedpolicy: remove stray include 2010-02-26 11:45:27 -08:00
klog.c init/cutils: move kernel logging interface to libcutils from init 2011-09-02 12:11:17 -07:00
list.c init/cutils: move list utility code to cutils from init 2011-09-02 12:11:18 -07:00
load_file.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
loghack.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
memory.c Assembly coded android_memset16 and android_memset32 2011-01-07 11:26:34 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
mq.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
mspace.c Tracking merge of dalvik-dev to gingerbread 2010-08-04 15:45:52 -07:00
native_handle.c move native_handle stuff from master_gl 2009-05-20 17:22:13 -07:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
open_memstream.c Try to fix Mac build. 2010-01-26 09:30:02 -08:00
partition_utils.c Crypto changes for devices that don't write ext4 fs on wipe 2011-05-26 19:42:32 -07:00
private.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
process_name.c cutils: make set_process_name set kernel thread name as well 2009-11-05 12:26:56 -08:00
properties.c do not merge. Fix a race in system properties. 2011-03-15 23:15:02 -07:00
qtaguid.c libcutils: qtaguid: Support new functions, add tag resource tracking. 2011-09-14 15:00:40 -07:00
record_stream.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sched_policy.c fix windows SDK build 2010-05-08 11:51:13 -07:00
selector.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
socket_inaddr_any_server.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
socket_local.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
socket_local_client.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
socket_local_server.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
socket_loopback_client.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
socket_loopback_server.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
socket_network_client.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sockets.c Tracking merge of dalvik-dev to master 2011-05-27 00:50:44 -07:00
str_parms.c libcutils: add a simple string parameter parsing ("a=b;c=d;") helper utils 2011-04-20 19:04:40 -07:00
strdup8to16.c auto import from //branches/cupcake_rel/...@138607 2009-03-13 13:04:37 -07:00
strdup16to8.c Fix a potential integer overflow bug that could result in memory overwrites. 2009-05-02 19:43:30 +02:00
threads.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
tzfile.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
tzstrftime.c Add support for "standalone months" to tztime's strftime(). 2009-05-14 17:22:20 -07:00
tztime.c Fix an infinite loop in time2sub. 2009-09-09 18:32:07 -07:00
uevent.c libcutils/init: move uevent socket opening code to libcutils 2011-09-02 12:11:17 -07:00
uio.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
zygote.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00