diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2010-08-25 18:23:26 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2010-08-25 18:23:26 -0700 |
commit | 135338af9a141d609e07e42208b9104465346ae4 (patch) | |
tree | db59f226a2c69cf254753d175cde5c71c6b2d373 /process.c | |
parent | 96ea88d3aeae710d8fc04f23151d5b669c5e8a0c (diff) | |
download | xorg-app-xauth-135338af9a141d609e07e42208b9104465346ae4.tar.gz |
launchd: Properly support launchd sockets in xauth
What we had in place before was a hack that always used ':0'. This change
results in the bundle id being used to differentiate different connections.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -485,9 +485,6 @@ get_displayname_auth(char *displayname, AuthList **authl) if (cp && strncmp (cp, "/unix:", 6) == 0) prelen = (cp - displayname); - if (strncmp (displayname, "/tmp/launch", 11) == 0) - displayname = strrchr(displayname, '/') + 1; - if (!parse_displayname (displayname + ((prelen > 0) ? prelen + 1 : 0), &family, &host, &dpynum, &scrnum, &rest)) { return False; |