History log of /system/core/include/cutils/qtaguid.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
243123fb41d7d2981116bd5d11ba168b127d68e9 10-Sep-2011 JP Abgrall <jpa@google.com> libcutils: qtaguid: Support new functions, add tag resource tracking.

* Add support for
deleteTagData(tag, uid)
setCounterSet(counterSetNum, uid)

* 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
9b5c774369fcbd4460751f9b01e692d688c386ba 03-Aug-2011 Ashish Sharma <ashishsharma@google.com> libcutils: qtaguid: support socket untagging, return errors.

- Enable and rename qtaguid_tagSocket()
- Add qtaguid_untagSocket()
- Return kernel errors to caller

Change-Id: I8e33c8832b7f6b24ed9081f36ce1ea9ae6b099c0
Signed-off-by: Ashish Sharma <ashishsharma@google.com>
6dce8322d66361e40d1feb5a6c3de15244de5949 10-Jul-2011 Ashish Sharma <ashishsharma@google.com> Fix header file inclusion for type uid_t.

Change-Id: I401fc0b41b4b77114fce7240662c9dfe4509e841
8626cce5f381899f47e3a82e2ef4c98f183391b0 08-Jul-2011 Ashish Sharma <ashishsharma@google.com> Add communication support for xt_qtaguid(network traffic accounting) kernel module.

Change-Id: Ie0fb5b593987c53ee6f906fe6e0caab5a581d5a1