]> code.ossystems Code Review - openembedded-core.git/commit
classes/sanity: check for suid root command evility
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 1 Aug 2013 17:17:16 +0000 (18:17 +0100)
committerSaul Wold <sgw@linux.intel.com>
Fri, 2 Aug 2013 15:01:40 +0000 (08:01 -0700)
commit08d61529f3c7a48ec82e1f8c9c28c7b2e5238934
tree7299d1fbae1fb60002a8f6c4fac21954b8824e0c
parentc30c8820828ea5a7ed99d58a9b400eeee916bf72
classes/sanity: check for suid root command evility

Some users have been found to have an unnamed third-party piece of
software installed which sets chmod, chown and mknod as suid root as
part of its installation process. This interferes with the operation of
pseudo and can result in files really being owned by root within the
build output, and therefore breaks the build, apart from being a
security issue. Check for this and bail out if it is found.

Reported-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/sanity.bbclass