Re: [PATCH v1] posix: Only check shm_unlink obj_err if necessary

2020-06-29 Thread Gedare Bloom
This looks fine to push to 5.1. I can't test/push it at the moment, but if someone else can, it would be good to apply. We also need to apply the other version to master. On Sat, Jun 27, 2020 at 6:22 PM Kinsey Moore wrote: > > In the nominal case checked by spsysinit01, obj_err is unmodified if >

[PATCH v1] posix: Only check shm_unlink obj_err if necessary

2020-06-27 Thread Kinsey Moore
In the nominal case checked by spsysinit01, obj_err is unmodified if _POSIX_Shm_Get_by_name returns non-NULL. In the case of shm_unlink, this means an uninitialized value is passed into the switch and it appears tests using it were passing by virtue of the stack having the right value on it in most