libsmack: parse whole access type string, not only first 5 bytes.
authorRafal Krypa <r.krypa@samsung.com>
Thu, 3 Jan 2013 09:34:34 +0000 (10:34 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Tue, 26 Mar 2013 17:54:17 +0000 (18:54 +0100)
commit608598dfef97f772d58fe1dada2fcd5392fa7b77
tree3db9d3418fb0c6fcf4233dd11b79d2143a49005f
parent6a699e37ed0c76089dba2090968abfb1e61ad692
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/libsmack.c