shm: memfd seal failures are not fatal errors

This commit is contained in:
Daniel Eklöf 2020-04-03 20:14:53 +02:00
parent 0538b96dbb
commit a208104743
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
shm.c
View file

@ -305,7 +305,7 @@ shm_get_buffer(struct wl_shm *shm, int width, int height, unsigned long cookie,
F_SEAL_GROW | F_SEAL_SHRINK | /*F_SEAL_FUTURE_WRITE |*/ F_SEAL_SEAL) < 0)
{
LOG_ERRNO("failed to seal SHM backing memory file");
goto err;
/* This is not a fatal error */
}
pool = wl_shm_create_pool(shm, pool_fd, memfd_size);