Re: [PATCH v4 6/6] binder: encapsulate individual alloc test cases

2025-07-17 Thread Kees Cook
On Wed, Jul 16, 2025 at 11:32:10PM -0700, Kees Cook wrote: > This really screams for a struct-based way to in-place declare a > seq_buf. The current macro only works on the stack. I think this > will work; I'll send a patch once I get it tested: > > #define DECLARE_SEQ_BUF(NAME, SIZE) \

Re: [PATCH v4 6/6] binder: encapsulate individual alloc test cases

2025-07-16 Thread Kees Cook
On Wed, Jul 16, 2025 at 06:10:09PM -0700, Tiffany Yang wrote: > Each case tested by the binder allocator test is defined by 3 parameters: > the end alignment type of each requested buffer allocation, whether those > buffers share the front or back pages of the allotted address space, and > the orde