This seems really brittle, although I don't know what else to do. Ideally you would set this to the actual size of posix_spawn_file_actions_t, but it isn't clear how to get that.