Merge "Update qtaguid tag/untag documentation." am: 499a0479fa

am: f27b3da9eb

Change-Id: I68f202566bb519eba3c9fd43ef1a459b8ca52c62
This commit is contained in:
Alex Deymo 2017-03-17 19:39:37 +00:00 committed by android-build-merger
commit 04db43e662

View file

@ -26,13 +26,15 @@ extern "C" {
#endif
/*
* Set tags (and owning UIDs) for network sockets.
*/
* Set tags (and owning UIDs) for network sockets. The socket must be untagged
* by calling qtaguid_untagSocket() before closing it, otherwise the qtaguid
* module will keep a reference to it even after close.
*/
extern int qtaguid_tagSocket(int sockfd, int tag, uid_t uid);
/*
* Untag a network socket before closing.
*/
*/
extern int qtaguid_untagSocket(int sockfd);
/*