nbcon_allow_unsafe_takeover(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, meet nbcon_allow_unsafe_takeover(9) from the Kernel API Manual πŸ’– β€” it literally checks if unsafe console takeovers are allowed. Iconic little helper behavior, no cap.


🌸 SYNOPSIS 🌸

bool nbcon_allow_unsafe_takeover (void );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments, bestie. Zero. Nada. The void is voiding. ✨

πŸŽ€ RETURN πŸŽ€

  • True β€” when it is permitted to perform unsafe console printing πŸ”₯

πŸ’– DESCRIPTION πŸ’–

This is also used by console_is_usable to determine if it is allowed to call write_atomic callbacks flagged as unsafe (CON_NBCON_ATOMIC_UNSAFE). So like, it’s the vibe check for whether those unsafe-flagged write_atomic callbacks can be called. 🫢


🌈 SEE ALSO 🌈

Kernel file: ./kernel/printk/nbcon.c


source/version: ./kernel/printk Β· date: October 2026 Β· page: nbcon_allow_unsafe_takeover(9) β€” and that’s the cute little footer, bestie πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from