smack-team/smack — pull request #25 by jkozerski (2013-10-09 08:54:11+00:00)
Title: Add smack_is_label_valid() internal to check correctness of SMACK label

Kernel does not validate the Smack label - instead the label will be
cut on the first incorrect character (after parsing at least one
correct character).
This function will be called internally to verify the correctness
of the Smack label passed by parram.