Projects
Browse Source     Search     Timeline     Wiki

Changeset 23014

Show
Ignore:
Timestamp:
01/22/07 11:43:32 (23 months ago)
Author:
zarzycki@…
Message:

<rdar://problem/4800388> 9A292: Bug: launchctl.c:2724 (22900):42: setsockopt(sfd, SOL_SOCKET, SO_EXECPATH, prog, strlen(prog) + 1) != -1

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/launchd/src/launchctl.c

    r23013 r23014  
    27532753 
    27542754        if (assumes(prog != NULL)) { 
    2755                 assumes(setsockopt(sfd, SOL_SOCKET, SO_EXECPATH, prog, strlen(prog) + 1) != -1); 
     2755                /* The networking team has asked us to ignore the failure of this API if errno == ENOPROTOOPT */ 
     2756                assumes(setsockopt(sfd, SOL_SOCKET, SO_EXECPATH, prog, strlen(prog) + 1) != -1 || errno == ENOPROTOOPT); 
    27562757        } 
    27572758}