vbg_set_sess...event_filter(9)
π 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
vbg_guest_mappings_init(9)vbg_guest_mappings_exit(9)vbg_report_guest_info(9)vbg_report_driver_status(9)vbg_balloon_inflate(9)vbg_balloon_deflate(9)vbg_heartbeat_host_config(9)vbg_heartbeat_init(9)vbg_heartbeat_exit(9)vbg_track_bit_usage(9)vbg_reset_host_event_filter(9)vbg_reset_host_capabilities(9)vbg_set_host_capabilities(9)vbg_acquire_session_capabilities(9)vbg_set_session_capabilities(9)vbg_query_host_version(9)vbg_core_init(9)vbg_core_exit(9)vbg_core_open_session(9)vbg_core_close_session(9)vbg_req_allowed(9)vbg_core_ioctl(9)vbg_core_set_mouse_status(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms