Merge "Support full 32 bits for socket tags." into jb-dev
This commit is contained in:
commit
982fd17ac1
1 changed files with 1 additions and 3 deletions
|
|
@ -99,9 +99,7 @@ static int write_param(const char *param_path, const char *value) {
|
|||
int qtaguid_tagSocket(int sockfd, int tag, uid_t uid) {
|
||||
char lineBuf[CTRL_MAX_INPUT_LEN];
|
||||
int res;
|
||||
/* Doing java-land a favor, enforcing "long" */
|
||||
uint64_t kTag = ((uint64_t)tag << 32) & ~(1LLU<<63);
|
||||
|
||||
uint64_t kTag = ((uint64_t)tag << 32);
|
||||
|
||||
pthread_once(&resTrackInitDone, qtaguid_resTrack);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue