Merge "Update qtaguid tag/untag documentation."

am: 499a0479fa

Change-Id: If601fb9b274f4c0e53c4b6eb066e684822a191db
This commit is contained in:
Alex Deymo 2017-03-17 19:35:58 +00:00 committed by android-build-merger
commit f27b3da9eb
1 changed files with 5 additions and 3 deletions

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