i am jin shuai and i am using your Enforcer in my stage!
i have a problem:when I do "make modules" ( I want to compile the Enforcer LSM as module)task
reporting Error message as follows
security/enforcer/enforcer_lsm.c: In function `read_database':
security/enforcer/enforcer_lsm.c:939: warning: ISO C90 forbids mixed declarations and code
security/enforcer/enforcer_lsm.c:1262:2: warning: #warning Enforcer built as a module, will NOT be able to sync the filesystem on a failed call to the helper.
security/enforcer/enforcer_lsm.c:1277:2: warning: #warning Enforcer built as a module, will NOT be able to sync the filesystem on a panic action.
security/enforcer/enforcer_lsm.c: At top level:
security/enforcer/enforcer_lsm.c:1910: error: unknown field `bprm_compute_creds' specified in initializer
security/enforcer/enforcer_lsm.c:1910: error: `cap_bprm_compute_creds' undeclared here (not in a function)
security/enforcer/enforcer_lsm.c:1910: error: initializer element is not constant
security/enforcer/enforcer_lsm.c:1910: error: (near initialization for `enforcer_ops.register_security')
make: *** [security/enforcer/enforcer_lsm.o] ?? 1
make: *** [security/enforcer] ?? 2
make: *** [security] 错误 2
Would be great if you could help me with this.