Skip to content
Snippets Groups Projects
Select Git revision
  • aa76920060c60ee1277abc8ec05b25e4eb81e3d4
  • master default protected
  • build-on-arch
  • before-big-merge
  • presentation-16-10-10
5 results

VerifyGenerateMockup.py

Blame
  • attributes 2.86 KiB
    ######################################
    # Attribute declarations
    #
    
    # All types used for devices.
    # On change, update CHECK_FC_ASSERT_ATTRS
    # in tools/checkfc.c
    attribute dev_type;
    
    # All types used for processes.
    attribute domain;
    
    # Temporary attribute used for migrating permissions out of domain.
    # Motivation: Domain is overly permissive. Start removing permissions
    # from domain and assign them to the domain_deprecated attribute.
    # Domain_deprecated and domain can initially be assigned to all
    # domains. The goal is to not assign domain_deprecated to new domains
    # and to start removing domain_deprecated where it's not required or
    # reassigning the appropriate permissions to the inheriting domain
    # when necessary.
    attribute domain_deprecated;
    
    # All types used for filesystems.
    # On change, update CHECK_FC_ASSERT_ATTRS
    # definition in tools/checkfc.c.
    attribute fs_type;
    
    # All types used for context= mounts.
    attribute contextmount_type;
    
    # All types used for files that can exist on a labeled fs.
    # Do not use for pseudo file types.
    # On change, update CHECK_FC_ASSERT_ATTRS
    # definition in tools/checkfc.c.
    attribute file_type;
    
    # All types used for domain entry points.
    attribute exec_type;
    
    # All types used for /data files.
    attribute data_file_type;
    
    # All types use for sysfs files.
    attribute sysfs_type;
    
    # All types use for debugfs files.
    attribute debugfs_type;
    
    # Attribute used for all sdcards
    attribute sdcard_type;
    
    # All types used for nodes/hosts.
    attribute node_type;
    
    # All types used for network interfaces.
    attribute netif_type;
    
    # All types used for network ports.
    attribute port_type;
    
    # All types used for property service
    # On change, update CHECK_PC_ASSERT_ATTRS
    # definition in tools/checkfc.c.
    attribute property_type;
    
    # All properties defined in core SELinux policy. Should not be
    # used by device specific properties
    attribute core_property_type;
    
    # All properties used to configure log filtering.