vbg_set_sess...capabilities(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so welcome to the Kernel API Manual entry for vbg_set_sess...capabilities(9), bestie. This is the page for vbg_set_session_capabilities, and it’s literally about setting the guest capabilities for a session. It also takes the session mutex β€” noted, respected, iconic. ✨


🌸 NAME 🌸

vbg_set_session_capabilities β€” sets the guest capabilities for a session. Takes the session mutex.


✨ SYNOPSIS ✨

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

πŸ’– ARGUMENTS πŸ’–

  • gdev β€” the Guest extension device. That’s the vibe.
  • session β€” the session. Main character energy, fr fr.
  • or_mask β€” the capabilities to add. Slay.
  • not_mask β€” the capabilities to remove. Bye bestie.
  • session_termination β€” set if we’re called by the session cleanup code. This tweaks the error handling so we perform proper session cleanup even if the host misbehaves. 🫢

πŸŽ€ RETURN πŸŽ€

0 or a negative errno value. That’s the whole mood.


πŸ¦‹ SEE ALSO πŸ¦‹

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


cute little sign-off: this page’s source/version footer is ./drivers/virt/vboxguest, dated October 2026, and the page label is vbg_set_sess...capabilities(9) πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from