Merge pull request #8 from rafal-krypa/samsung

libsmack: check label length in smack_revoke_subject().
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>
Merge pull request #9 from PassionZhao/master

Fix the bug "smackcipso can't set CIPSO"
disable services for new systemd versions

do not install smack.mount or smack.service if systemd is version
198 or higher. This functionality is now built into systemd.
Merge pull request #10 from banada/master

disable services for systemd versions > 198
libsmack: parse whole access type string, not only first 5 bytes.

Previous version of this function parsed only first ACC_LEN (5)
characters of access_type. Now the whole string will be read.

This will prevent silent ignoring of access type characters in cases
like "-rwxat" or "rrwxat".
libsmack: add support for modification rules.

A new API function smack_accesses_add_modify() is provided for adding
modification rule to a set. Rule specifies permissions to grant and
permissions to revoke. If a rule for given subject and object already
existed, unmentioned permissions will be left unchanged.
Also smack_access_save() and smack_access_add_from_file() are modified
to support reading and writing such rules from/to a file.