[LU-7244] build failed due to XATTR_NAME_EVM redefinition Created: 02/Oct/15  Updated: 19/Aug/16  Resolved: 14/Oct/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Minor
Reporter: Dmitry Eremin (Inactive) Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In Linux kernel version 3.2.x the definition of XATTR_NAME_EVM exist but definition of XATTR_NAME_IMA is not. In Lustre code we have following:

#ifndef XATTR_NAME_IMA
#define XATTR_NAME_IMA         "security.ima"
#define XATTR_NAME_EVM         "security.evm"
#endif

So, we should check for definitions independently.



 Comments   
Comment by Gerrit Updater [ 02/Oct/15 ]

Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: http://review.whamcloud.com/16707
Subject: LU-7244 llite: Fix XATTR_NAME_EVM redefinition
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e51a438c132c89340a358d45957a0680b5a7f1f1

Comment by Gerrit Updater [ 14/Oct/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16707/
Subject: LU-7244 llite: Fix XATTR_NAME_EVM redefinition
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 2907eb63d98a81384d79cd713b571fd311d9d474

Comment by Joseph Gmitter (Inactive) [ 14/Oct/15 ]

Landed for 2.8

Generated at Sat Feb 10 02:07:14 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.