Messages in this thread | | | From | David Gow <> | Date | Sat, 3 Sep 2022 14:45:20 +0800 | Subject | Re: [PATCH v2 2/3] fortify: Add KUnit test for FORTIFY_SOURCE internals |
| |
On Sat, Sep 3, 2022 at 1:17 PM Kees Cook <keescook@chromium.org> wrote: > > On Sat, Sep 03, 2022 at 10:59:24AM +0800, David Gow wrote: > > On Sat, Sep 3, 2022 at 4:43 AM Kees Cook <keescook@chromium.org> wrote: > > > > > > Add lib/fortify_kunit.c KUnit test for checking the expected behavioral > > > characteristics of FORTIFY_SOURCE internals. > > > [...] > > > > Overall, this looks good. It's a bit of a shame FORTIFY_SOURCE doesn't > > work under UML, but I tested it on everything else I had to hand and > > it looked good. > > It looks like this was never picked up: > https://lore.kernel.org/lkml/20220210003224.773957-1-keescook@chromium.org/
Ah: I'd forgotten about that. Can confirm this test works under UML with that patch applied.
Cheers, -- David [unhandled content-type:application/pkcs7-signature] | |