Skip to content
Snippets Groups Projects
  • Stephen Smalley's avatar
    66a3e8d9
    Drop the use of a policy version suffix on the sepolicy file. · 66a3e8d9
    Stephen Smalley authored
    
    The policy version suffix support was carried over from conventional
    Linux distributions, where we needed to support simultaneous installation
    of multiple kernels and policies.  This isn't required for Android, so
    get rid of it and thereby simplify the policy pathname.
    
    We still default to generating a specific policy version (the highest
    one supported by the emulator kernel), but this can be overridden
    by setting POLICYVERS on the make command-line or in the environment.
    
    Requires a corresponding change to libselinux.
    
    Change-Id: I40c88e13e8063ea37c2b9ab5b3ff8b0aa595402a
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
    66a3e8d9
    History
    Drop the use of a policy version suffix on the sepolicy file.
    Stephen Smalley authored
    
    The policy version suffix support was carried over from conventional
    Linux distributions, where we needed to support simultaneous installation
    of multiple kernels and policies.  This isn't required for Android, so
    get rid of it and thereby simplify the policy pathname.
    
    We still default to generating a specific policy version (the highest
    one supported by the emulator kernel), but this can be overridden
    by setting POLICYVERS on the make command-line or in the environment.
    
    Requires a corresponding change to libselinux.
    
    Change-Id: I40c88e13e8063ea37c2b9ab5b3ff8b0aa595402a
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>