You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
278 B

--- a/ipc_remote.cc
+++ b/ipc_remote.cc
@@ -941,8 +941,8 @@ int RootIPCRemote::OpenFDPassSock() {
}
typedef struct {
- struct cmsghdr header;
int fd;
+ struct cmsghdr header;
} __attribute__((packed)) cmsg_fd;
int RootIPCRemote::SendDescriptor(int in_fd) {