raw_notifier_chain_register(9)
π raw_notifier_chain_register(9) π
okay so bestie, welcome to the Kernel API Manual page for raw_notifier_chain_register(9) β we are literally about to make this make sense π«Άβ¨
β¨ NAME β¨
raw_notifier_chain_register β Add notifier to a raw notifier chain π
πΈ SYNOPSIS πΈ
int raw_notifier_chain_register (struct raw_notifier_head *nh , struct
notifier_block *n );
π ARGUMENTS π
nhβ pointer to the head of the raw notifier chain πnβ the new entry in the notifier chain π¦
π₯ DESCRIPTION π₯
okay so what this does is add a notifier to a raw notifier chain. that's the whole main character move π
β οΈ real talk: all locking must be provided by the caller. no cap, this function is not doing the locking for you β that's on you, bestie. periodt.
It returns 0 on success, and -EEXIST on error πβ¨
π SEE ALSO π
the kernel file is literally ./kernel/notifier.c β and here's the whole friend group of related pages:
notifier_call_chain(9)notifier_call_chain_robust(9)atomic_notifier_chain_register(9)atomic_notifier_chain_register_unique_prio(9)atomic_notifier_chain_unregister(9)atomic_notifier_call_chain(9)atomic_notifier_call_chain_is_empty(9)blocking_notifier_chain_register(9)blocking_notifier_chain_register_unique_prio(9)blocking_notifier_chain_unregister(9)blocking_notifier_call_chain(9)raw_notifier_chain_unregister(9)raw_notifier_call_chain(9)srcu_notifier_chain_register(9)srcu_notifier_chain_unregister(9)srcu_notifier_call_chain(9)srcu_init_notifier_head(9)
xoxo bestie π β source/version: ./kernel; date: October 2026; page: raw_notifier_chain_register(9) π«Άπ
π¦ 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