History log of /system/extras/tests/iptables/qtaguid/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
373d3c7257fa815d0b9ee8f16874470a6002042e 19-Oct-2017 Chih-Hung Hsieh <chh@google.com> Use -Werror in system/extras

* Remove unused variables.
* Fix redefined macro warnings.
* Fix sign-compare warnings.
* Fix 'return false' in main().
* Keep existing warnings to fix later.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ib92ef5297693595fb84ed4f8e61665bda4cee312
/system/extras/tests/iptables/qtaguid/Android.mk
31399ff50100414c07b42d50691954ae9c027fbd 29-Sep-2016 Chenbo Feng <fengc@google.com> qtaguid replace asprintf with libbase StringPrintf

use libbase function android::base::StringPrintf for string
manipulation. Avoid free the char array at the end. Changed the program
logic of building the match template to make it more concise.

Test: manually tested on angler device. build and sync this module into
device and run adb shell ./data/nativetest64/socketTag/socketTag

Change-Id: Ic93ac4e91e87337acb2e12efadeb57833c36c95e
/system/extras/tests/iptables/qtaguid/Android.mk
9bb2808702c761301b24e668c07ed66b064308e2 19-May-2015 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Set -fno-strict-aliasing here so we can get rid of it globally

Add -fno-strict-aliasing to the compiler flags where it is actually
needed so we can get rid of the flag globally -- without it, compilers
can optimize better.

Change-Id: Ia574120ee231503ce364ee377506115fd41f0a48
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
/system/extras/tests/iptables/qtaguid/Android.mk
4d4bc6e7777887d93340f577d9b46de4a7c75f26 10-Apr-2013 Ying Wang <wangying@google.com> Add liblog

Bug: 8580410
Change-Id: I9be769e7365b579dcfd94ac86e305044fcb515ee
/system/extras/tests/iptables/qtaguid/Android.mk
a17c6ac02f61b0db6da20bd8cfec0546b5bd1d8c 29-Nov-2011 Tsu Chiang Chuang <tsu@google.com> making sure it is built into the nativetest path so it gets picked up by
continous tests.

Change-Id: I6c6841b629691dd6825025886cf8169afbc3df98
/system/extras/tests/iptables/qtaguid/Android.mk
73b89ae952174d04c34623ec40267829236dbcf9 09-Sep-2011 JP Abgrall <jpa@google.com> tests: add socket tagging test for qtaguid kernel netfilter module

Add a small test to verify that socket tagging is not hopelessly
broken.

Test for
- invalid: arg count, command, tags.
- double tagging
- acct_tag changing
- optional uid
- 64bit unsigned vs signed
- invalid sock_fd
- multiple entries
- untagging
- uid/gid checking + max tags.

It tries its best to allow concurrent invocations, but it just
can not be sure that it always detects the in-kernel addresses of
the sockets it has tagged.

Change-Id: I4e372fcddbd0b1cd6ba5d8be4692e0f31ec71a99
/system/extras/tests/iptables/qtaguid/Android.mk