History log of /system/core/libcutils/qtaguid.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e34b91719c031f273d43781e5d96363a10ab44bd 03-May-2012 Jeff Sharkey <jsharkey@android.com> Support full 32 bits for socket tags.

Bug: 5321184
Change-Id: Iabd668674e60626caafc9b66b29fdbddc3724f58
/system/core/libcutils/qtaguid.c
fe71a61e5b0cb666675900d206251a7c18ed944b 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

Bug: 5449033
Change-Id: I4951baa981f09a84ce483e3d1bd0f9ebe009035f
/system/core/libcutils/qtaguid.c
69f4cd7f5add7a7c7f5915e5292aab7eb2a42e9f 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

Bug: 5449033
Change-Id: Ib453f869977a6e909095a578bbf0420851f887d2
/system/core/libcutils/qtaguid.c
29656d34a21f4bc3899264027664c9321b0b94e0 22-Sep-2011 JP Abgrall <jpa@google.com> qtaguid: shhhh. LOGI -> LOGV

Less verbose output.

Bug: 5360129
Change-Id: Id32a7c61d51b6a16f50a5c8bcc75a2feaa0e34b1
/system/core/libcutils/qtaguid.c
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)
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
/system/core/libcutils/qtaguid.c
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>
/system/core/libcutils/qtaguid.c
8626cce5f381899f47e3a82e2ef4c98f183391b0 08-Jul-2011 Ashish Sharma <ashishsharma@google.com> Add communication support for xt_qtaguid(network traffic accounting) kernel module.

Change-Id: Ie0fb5b593987c53ee6f906fe6e0caab5a581d5a1
/system/core/libcutils/qtaguid.c