security: Used macros from compiler.h instead of __attribute__((...))
authorGideon Israel Dsouza <gidisrael@gmail.com>
Wed, 11 Jun 2014 15:55:30 +0000 (21:25 +0530)
committerPaul Moore <pmoore@redhat.com>
Wed, 18 Jun 2014 20:59:34 +0000 (16:59 -0400)
commit4bb9398300a3a2c691e5c0ad6b9cfa78775e767e
tree090efe446b2852338779466145c31ed70d067b49
parent4b6f405f72112175a5e044b015c4119b3a5b6f52
security: Used macros from compiler.h instead of __attribute__((...))

To increase compiler portability there is <linux/compiler.h> which
provides convenience macros for various gcc constructs.  Eg: __packed
for __attribute__((packed)).

This patch is part of a large task I've taken to clean the gcc
specific attributes and use the the macros instead.

Signed-off-by: Gideon Israel Dsouza <gidisrael@gmail.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
security/selinux/include/security.h