smack-team/smack — pull request #9 by PassionZhao (2013-03-14 06:55:05+00:00)
Title: Fix the bug "smackcipso can't set CIPSO"

https://tizendev.org/bugs/browse/TDIS-3891

The reason is that upstream libsmack only use "smackfs/cipso2" long-label interface,
but the code's logical is still for orginal fixed length label.

Now update smack_cipso_apply() to support flexible label (<=256 including tailing '\0')

Signed-off-by: Passion,Zhao