Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ea936b7 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am 8f1d4daf: am 982fd17a: Merge "Support full 32 bits for socket tags." into jb-dev

* commit '8f1d4daf':
  Support full 32 bits for socket tags.
parents 1bd260c7 8f1d4daf
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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);