# Re: \[PATCH v6 8/9\] selftests: Add kselftest for syscall user dispatch

- From: Kees Cook \<hidden\>
- Date: 2020-09-22 19:35:18 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2020/09/6115632
- Thread: https://ratatoskr.run/linux-api/2020/09/6094737/t.md

```text
On Fri, Sep 04, 2020 at 04:31:46PM -0400, Gabriel Krisman Bertazi wrote:
> Implement functionality tests for syscall user dispatch.  In order to
> make the test portable, refrain from open coding syscall dispatchers and
> calculating glibc memory ranges.
> 
> Changes since v4:
>   - Update bad selector test to reflect change in API
> 
> Changes since v3:
>   - Sort entry in Makefile
>   - Add SPDX header
>   - Use __NR_syscalls if available
> 
> Signed-off-by: Gabriel Krisman Bertazi <redacted>

This passes, looks good. Thank you again for the self tests!

Acked-by: Kees Cook <redacted>

-- 
Kees Cook
```
