[PATCH] tst-personality: Check for ENOSYS

Xi Ruoyao xry111@xry111.site
Thu Jul 27 02:20:37 GMT 2023


On Wed, 2023-07-26 at 22:16 -0400, Carlos O'Donell via Libc-alpha wrote:
> On 7/25/23 13:57, Joe Simmons-Talbott via Libc-alpha wrote:
> > Return UNSUPPORTED if personality fails with ENOSYS.
> 
> Where did you see this?

Some "container environment" I guess.  Note that personality is added in
Linux 1.1.20 so there is no way a Linux system does not have this
syscall today.

To me we really should not try to support all these container
environments with too-clever seccomp filters.

> It would be good to comment in the commit message the system or
> systems under which this occurs.

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University


More information about the Libc-alpha mailing list