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

am: 04db43e662

Change-Id: I874749c5660afe1b57edccf809d1c8a2de946b91
This commit is contained in:
Alex Deymo 2017-03-17 19:43:54 +00:00 committed by android-build-merger
commit 4479c098e3

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);
/*