ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
fmuellner has quit [Ping timeout: 480 seconds]
crazybyte has quit [Quit: Ping timeout (120 seconds)]
rasterman has quit [Remote host closed the connection]
rasterman has joined #wayland
abhimanyu has quit [Read error: Connection reset by peer]
abhimanyu has joined #wayland
nerdopolis has joined #wayland
abhimanyu has quit [Read error: Connection reset by peer]
abhimanyu has joined #wayland
abhimanyu has quit [Read error: No route to host]
abhimanyu has joined #wayland
iomari892 has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
kts has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
abhimanyu has quit [Read error: Connection reset by peer]
abhimanyu has joined #wayland
abhimanyu has quit [Read error: Connection reset by peer]
abhimanyu has joined #wayland
abhimanyu has quit [Read error: No route to host]
abhimanyu has joined #wayland
abhimanyu has quit [Read error: Connection reset by peer]
abhimanyu has joined #wayland
abhimanyu has quit [Read error: Connection reset by peer]
abhimanyu has joined #wayland
Moprius has joined #wayland
___nick___ has joined #wayland
rasterman has joined #wayland
feaneron has joined #wayland
kts has quit [Quit: Leaving]
Moprius has quit [Read error: Connection reset by peer]
abhimanyu has quit [Read error: Connection reset by peer]
abhimanyu has joined #wayland
<misyl>
Why does wl_shm_pool::resize not update sigbus_is_impossible? Surely if the new size is >= the stat size, that should be updated to add the sigbus handler on future accesses?
<misyl>
Am I missing something here?
abhimanyu has quit [Read error: Connection reset by peer]
<misyl>
I don't think F_SEAL_SHRINK protects against this, as that only stops it from shrinking, whereas it could get a ::resize to be larger, bigger than the fd, and that sigbus_is_impossible state would not be updated... right?
abhimanyu has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
<kennylevinsen>
misyl: The danger is that while the compositor uses the buffer, it shrinks and causes sigbus. Increasing the size is not dangerous, and as long as the fd cannot be shrunk from the *new* size, all should be good.
___nick___ has quit []
<kennylevinsen>
I believe F_SEAL_SHRINK would still be in effect, and means that the backing file can only ever grow larger and larger which is fine
<misyl>
kennylevinsen: But the resize could be larger than the size of the sealed memory, it is not checked.
___nick___ has joined #wayland
<kennylevinsen>
yeah good point, might be worth stat'ing it again then
<kennylevinsen>
patches welcome :)
yaslam has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
nerdopolis has quit [Ping timeout: 480 seconds]
paulk has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
mvlad has joined #wayland
karenw has joined #wayland
garnacho has quit [Ping timeout: 480 seconds]
latex_ has joined #wayland
latex has quit [Ping timeout: 480 seconds]
kts has joined #wayland
garnacho has joined #wayland
Brainium has joined #wayland
garnacho has quit [Quit: garnacho]
garnacho has joined #wayland
mripard has quit [Quit: mripard]
mripard has joined #wayland
tzimmermann has quit [Ping timeout: 480 seconds]
rasterman has joined #wayland
karenw has quit [Quit: Witty Quit Message Here]
karenw has joined #wayland
karenw has quit [Remote host closed the connection]
rasterman has quit [Quit: Gettin' stinky!]
cmichael has quit [Quit: Leaving]
leon-anavi has quit [Quit: Leaving]
rv1sr has quit []
Brainium_ has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
balrog_ has quit []
balrog has joined #wayland
karenw has joined #wayland
karenw has quit []
karenw has joined #wayland
iomari892 has quit [Ping timeout: 480 seconds]
abhimanyu has quit [Read error: Connection reset by peer]
abhimanyu has joined #wayland
abhimanyu has quit [Read error: Connection reset by peer]
abhimanyu has joined #wayland
kts has quit [Quit: Leaving]
abhimanyu has quit [Read error: Connection reset by peer]
abhimanyu has joined #wayland
abhimanyu has quit [Read error: Connection reset by peer]