Skip to content
Snippets Groups Projects
shell.te 368 B
Newer Older
  • Learn to ignore specific revisions
  • # Domain for shell processes spawned by ADB or console service.
    
    type shell, domain, shelldomain, mlstrustedsubject;
    
    type shell_exec, exec_type, file_type;
    
    Stephen Smalley's avatar
    Stephen Smalley committed
    
    
    Stephen Smalley's avatar
    Stephen Smalley committed
    # Create and use network sockets.
    net_domain(shell)
    
    
    Stephen Smalley's avatar
    Stephen Smalley committed
    # Run app_process.
    
    # XXX Transition into its own domain?
    
    Stephen Smalley's avatar
    Stephen Smalley committed
    app_domain(shell)
    
    # logd access
    read_logd(shell)
    control_logd(shell)
    
    
    # inherits from shelldomain.te