smackcipso can't set CIPSO correctly, see the bug report:
authorPassion,Zhao <passion.zhao@intel.com>
Thu, 7 Mar 2013 14:13:07 +0000 (22:13 +0800)
committerPassion,Zhao <passion.zhao@intel.com>
Thu, 7 Mar 2013 14:13:07 +0000 (22:13 +0800)
commit771a63261b76995777affe1b2ffd3a5491de7371
treec268caa443fdbc315aab6a3aa9a8f9a1343089c8
parent038ce02d4951a8d378886de4257c2fadf5115897
smackcipso can't set CIPSO correctly, see the bug report:
        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 <passion.zhao@intel.com>
libsmack/libsmack.c