mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
shm: memfd seal failures are not fatal errors
This commit is contained in:
parent
0538b96dbb
commit
a208104743
1 changed files with 1 additions and 1 deletions
2
shm.c
2
shm.c
|
|
@ -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)
|
F_SEAL_GROW | F_SEAL_SHRINK | /*F_SEAL_FUTURE_WRITE |*/ F_SEAL_SEAL) < 0)
|
||||||
{
|
{
|
||||||
LOG_ERRNO("failed to seal SHM backing memory file");
|
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);
|
pool = wl_shm_create_pool(shm, pool_fd, memfd_size);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue