Merge branch 'v1.0.x'
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 10 Jan 2014 17:33:59 +0000 (19:33 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 10 Jan 2014 17:33:59 +0000 (19:33 +0200)
1  2 
configure.ac
libsmack/libsmack.c

diff --cc configure.ac
Simple merge
@@@ -648,19 -600,9 +600,14 @@@ int smack_revoke_subject(const char *su
        return (ret < 0) ? -1 : 0;
  }
  
 +ssize_t smack_label_length(const char *label)
 +{
 +      return get_label(NULL, label);
 +}
 +
  static int accesses_apply(struct smack_accesses *handle, int clear)
  {
-       char buf[LOAD_LEN + 1];
-       char allow_str[ACC_LEN + 1];
-       char deny_str[ACC_LEN + 1];
-       struct smack_rule *rule;
        int ret;
-       int fd;
        int load_fd;
        int change_fd;
        int load2 = 1;