sel_netif_kill(9)
π
sel_netif_kill(9) π
okay bestie, welcome to the sel_netif_kill(9) page from the Kernel API Manual π«Ά. This is the little function that removes one specific entry from the network interface table β very niche, very iconic, very kernel-core. Letβs get into it β¨.
πΈ NAME πΈ
sel_netif_kill β Remove an entry from the network interface table π
β¨ SYNOPSIS β¨
void sel_netif_kill (const struct net *ns , int ifindex );
No cap, thatβs the whole signature. Two arguments, no return value, and yes itβs void β itβs giving βI do the thing and I donβt report backβ energy π
.
π ARGUMENTS π
nsβ the network namespace πifindexβ the network interface π
π¦ DESCRIPTION π¦
This function removes the entry matching ifindex from the network interface table if it exists. Thatβs it, thatβs the whole moment: find the matching ifindex entry in the table, remove it, slay π
. It only goes after the entry that matches ifindex, and the removal is conditional on that entry actually being there β¨.
π₯ SEE ALSO π₯
Kernel file: ./security/selinux/netif.c π
sel_netif_hashfn(9)sel_netif_find(9)sel_netif_insert(9)sel_netif_destroy(9)sel_netif_sid_slow(9)sel_netif_sid(9)sel_netif_flush(9)
okay thatβs the page, bestie π β big sign-off energy from ./security/selinux, dated October 2026, and the page is literally sel_netif_kill(9) saying byeee ππβ¨.
π¦ 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