summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2011-09-09 15:02:08 -0700
committerJP Abgrall <jpa@google.com>2011-09-14 15:00:40 -0700
commit243123fb41d7d2981116bd5d11ba168b127d68e9 (patch)
tree36a920714511c87e83994c473733c64ed07dcc08 /rootdir
parentaa61854645ffed8595507463820e81aa0aa8f2fd (diff)
downloadsystem_core-243123fb41d7d2981116bd5d11ba168b127d68e9.zip
system_core-243123fb41d7d2981116bd5d11ba168b127d68e9.tar.gz
system_core-243123fb41d7d2981116bd5d11ba168b127d68e9.tar.bz2
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
Diffstat (limited to 'rootdir')
0 files changed, 0 insertions, 0 deletions