this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix mach_port_allocate()

+1 -7
+1 -7
src/kernel/mach_server/client/mach_traps.c
··· 296 296 struct mach_port_allocate_args args = { 297 297 .task_right_name = target, 298 298 .right_type = right, 299 - .out_right_name = 0 299 + .out_right_name = name 300 300 }; 301 301 302 302 ret = ioctl(driver_fd, NR__kernelrpc_mach_port_allocate, 303 303 &args); 304 - 305 - if (ret == KERN_SUCCESS) 306 - *name = args.out_right_name; 307 - else 308 - *name = 0; 309 - 310 304 return ret; 311 305 } 312 306