| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/ipc_remote.cc |
| 2 | +++ b/ipc_remote.cc | ||||
| 3 | @@ -941,8 +941,8 @@ int RootIPCRemote::OpenFDPassSock() { | ||||
| 4 | } | ||||
| 5 | |||||
| 6 | typedef struct { | ||||
| 7 | - struct cmsghdr header; | ||||
| 8 | int fd; | ||||
| 9 | + struct cmsghdr header; | ||||
| 10 | } __attribute__((packed)) cmsg_fd; | ||||
| 11 | |||||
| 12 | int RootIPCRemote::SendDescriptor(int in_fd) { | ||||