smk_import_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… smk_import_entry(9) πŸ’…

hey bestie!! welcome to the Kernel API Manual page for smk_import_entry(9) β€” yes, we're doing kernel label-list stuff and we're gonna slay it ✨

🌸 NAME 🌸

smk_import_entry β€” import a label, return the list entry. periodt πŸ’–

✨ SYNOPSIS ✨

struct smack_known * smk_import_entry (const char *string , int len );

πŸŽ€ ARGUMENTS πŸŽ€

  • string β€” a text string that might contain a Smack label at the beginning. like, it might start with one, iykyk πŸ¦‹
  • len β€” the maximum size to look into, may be zero if string is null-terminated. zero is valid here when the string is null-terminated, no cap πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the vibe: this function returns a pointer to the entry in the label list that matches the passed string, adding it if necessary, or an error code. that's the whole main character move πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹


later bestie πŸ’– β€” source/version: ./security/smack; date: October 2026; page: smk_import_entry(9). 🫢

πŸ“¦ where this page comes from