Share

Enforcer Linux Security Module (LSM)

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Compile error

You are viewing a single message from this topic. View all messages.

  1. 2009-01-07 08:29:27 UTC
    Hi,
    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[2]: *** [security/enforcer/enforcer_lsm.o] ?? 1
    make[1]: *** [security/enforcer] ?? 2
    make: *** [security] 错误 2



    Would be great if you could help me with this.

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.