vbg_set_sess...event_filter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vbg_set_sess...event_filter(9)

okay so this is from the Kernel API Manual bestie, and it's literally all about vbg_set_session_event_filter πŸ¦‹


✨ NAME ✨

vbg_set_session_event_filter β€” this one changes the event filter mask for the given session. that's it, that's the whole vibe πŸŽ€


🌸 SYNOPSIS 🌸

int vbg_set_session_event_filter (struct vbg_dev *gdev , struct vbg_session *session , u32 or_mask , u32 not_mask , bool session_termination );

πŸ’– ARGUMENTS πŸ’–

  • gdev β€” the Guest extension device. main character energy, lowkey 🫢
  • session β€” the session. yeah. THE session πŸ’…
  • or_mask β€” the events to add. get them in here ✨
  • not_mask β€” the events to remove. get them out of here πŸ’€
  • session_termination β€” set this if we're being called by the session cleanup code. it tweaks the error handling so we do proper session cleanup even if the host misbehaves πŸ™ˆ (host acting up? not on our watch)

πŸ”₯ DESCRIPTION πŸ”₯

so this gets called in response to VBG_IOCTL_CHANGE_FILTER_MASK, and it also gets called to do session cleanup. and bestie: it takes the session mutex. noted. important. πŸ”’


⭐ RETURN ⭐

0 or a negative errno value. iykyk 😭


🌈 SEE ALSO 🌈

Kernel file ./drivers/virt/vboxguest/vboxguest_core.c


okay that's the whole page, go read the source bestie 🧚

sign-off era: this lives at ./drivers/virt/vboxguest, dated October 2026, and the page itself is vbg_set_sess...event_filter(9) β€” periodt πŸ’œπŸ“πŸ‘‘

πŸ“¦ where this page comes from