Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 29 Jan 2022 14:43:28 +0100
From: Joakim Sindholt <opensource@...sha.com>
To: musl@...ts.openwall.com
Subject: [PATCH] pack posix_spawn file actions into extraneous padding

I've written this patch that packs posix_spawn file actions into the
posix_spawn_file_actions struct padding. I'm not sure if the way I've
split the code up is desirable. Maybe the faexpand() function needs a
different name and to be in its own .c file; or maybe a different
approach is preferable.

I've only lightly tested it but it seems to work just fine as-is. The
whole explanation of how it works can be found in the patch file.

View attachment "0001-pack-posix_spawn-file-actions-into-extraneous-paddin.patch" of type "text/x-diff" (11604 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.