Use lsetxattr() instead of setxattr()
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Thu, 16 Jan 2014 14:39:57 +0000 (16:39 +0200)
committerDmitry Kasatkin <d.kasatkin@samsung.com>
Fri, 17 Jan 2014 10:47:47 +0000 (12:47 +0200)
commit33ff9595e5f1e1b4a2d4d035ea05ebe69a2731a4
treeb6cc30bc6fc821e59a39964012a6c7ad9d46775c
parent7045d70a1e6ed49c70c2842451f051a99d0366fe
Use lsetxattr() instead of setxattr()

IMA/EVM extended attributes should be set for symbolic links themselves,
not to the entries pointed by them. setxattr() dereference symbolic links.
It is necessary to use lsetxattr().

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
src/evmctl.c