smk_import_valid_label(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– smk_import_valid_label(9) πŸ’–

🌸 NAME 🌸

smk_import_valid_label β€” slides a label in and hands you back the list entry, bestie. This one lives in the Kernel API Manual, and it's giving β€œshort but important.”


✨ SYNOPSIS ✨

struct smack_known * smk_import_valid_label (const char *label , int label_len , gfp_t gfp );

πŸŽ€ ARGUMENTS πŸŽ€

  • label β€” a text string that is a valid Smack label, and no, it is not null-terminated. So don't go looking for a \0 at the end, okay? πŸ™ˆ
  • label_len β€” the length of the text string in label. Basically the char count, periodt.
  • gfp β€” the GFP mask used for allocating memory for the label text string copy. Memory vibes, but make it GFP. ✨

πŸ”₯ RETURN πŸ”₯

The return deets live in the description of smk_import_entry β€” go peek there, bestie. That's the whole return situation. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹


This little icon comes from ./security/smack, dated October 2026, and it's serving smk_import_valid_label(9) realness. Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from