aa_strneq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the aa_strneq(9) page in the Kernel API Manual ✨. Short version: aa_strneq compares null terminated @str to a non null terminated substring πŸ’….

✨ SYNOPSIS ✨

bool aa_strneq (const char *str , const char *sub , int len );

πŸŽ€ ARGUMENTS πŸŽ€

  • str β€” a null terminated string 🫢
  • sub β€” a substring, not necessarily null terminated 🌸
  • len β€” length of sub to compare ⭐

πŸ¦‹ DESCRIPTION πŸ¦‹

The str string must be full consumed for this to be considered a match β€” that's the whole vibe check, no cap πŸ’―.

🌸 SEE ALSO 🌸

Kernel file ./security/apparmor/include/lib.h β€” plus the linked-up faves: aa_dfa_null_transition(9), basename(9), __policy_find(9), __policy_strn_find(9) πŸ”₯.


okay that's the page, mwah πŸ’‹ β€” source/version: ./security/apparmor/include, date: October 2026, page: aa_strneq(9) βœ¨πŸŽ€

πŸ“¦ where this page comes from