Core policy for shells, and generic programs in /bin, /sbin, /usr/bin, and /usr/sbin.
This module is required to be included in all policies.
Create a aliased type to generic bin files.
Create a aliased type to generic bin files.
This is added to support targeted policy. Its use should be limited. It has no effect on the strict policy.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Alias type for bin_t. | No |
Execute a file in a bin directory in the specified domain.
Execute a file in a bin directory in the specified domain. This allows the specified domain to execute any file on these filesystems in the specified domain. This is not suggested.
No interprocess communication (signals, pipes, etc.) is provided by this interface since the domains are not owned by this module.
This interface was added to handle the ssh-agent policy.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
target_domain |
The type of the new process. | No |
Execute a file in a bin directory in the specified domain but do not do it automatically. This is an explicit transition, requiring the caller to use setexeccon().
Execute a file in a bin directory in the specified domain. This allows the specified domain to execute any file on these filesystems in the specified domain. This is not suggested.
No interprocess communication (signals, pipes, etc.) is provided by this interface since the domains are not owned by this module.
This interface was added to handle the userhelper policy.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
target_domain |
The type of the new process. | No |
Check if a shell is executable (DAC-wise).
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Summary is missing!
Parameter: | Description: | Optional: |
---|---|---|
? |
Parameter descriptions are missing! | No |
Do not audit attempts to search sbin directories.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain to not audit. | No |
Summary is missing!
Parameter: | Description: | Optional: |
---|---|---|
? |
Parameter descriptions are missing! | No |
Summary is missing!
Parameter: | Description: | Optional: |
---|---|---|
? |
Parameter descriptions are missing! | No |
Summary is missing!
Parameter: | Description: | Optional: |
---|---|---|
? |
Parameter descriptions are missing! | No |
Summary is missing!
Parameter: | Description: | Optional: |
---|---|---|
? |
Parameter descriptions are missing! | No |
Summary is missing!
Parameter: | Description: | Optional: |
---|---|---|
? |
Parameter descriptions are missing! | No |
Get the attributes of files in bin directories.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Summary is missing!
Parameter: | Description: | Optional: |
---|---|---|
? |
Parameter descriptions are missing! | No |
Summary is missing!
Parameter: | Description: | Optional: |
---|---|---|
? |
Parameter descriptions are missing! | No |
Summary is missing!
Parameter: | Description: | Optional: |
---|---|---|
? |
Parameter descriptions are missing! | No |
Create, read, write, and delete bin files.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Create, read, write, and delete sbin files.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Mmap a bin file as executable.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Mmap a sbin file as executable.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Read files in bin directories.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Read pipes in bin directories.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Read named sockets in bin directories.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Read symbolic links in bin directories.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Read files in sbin directories.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Read named pipes in sbin directories.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Read named sockets in sbin directories.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Read symbolic links in sbin directories.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Relabel to and from the bin type.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Relabel to and from the sbin type.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
Execute a file in a sbin directory in the specified domain.
Execute a file in a sbin directory in the specified domain. This allows the specified domain to execute any file on these filesystems in the specified domain. This is not suggested.
No interprocess communication (signals, pipes, etc.) is provided by this interface since the domains are not owned by this module.
This interface was added to handle the ssh-agent policy.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
target_domain |
The type of the new process. | No |
Execute a file in a sbin directory in the specified domain but do not do it automatically. This is an explicit transition, requiring the caller to use setexeccon().
Execute a file in a sbin directory in the specified domain. This allows the specified domain to execute any file on these filesystems in the specified domain. This is not suggested.
No interprocess communication (signals, pipes, etc.) is provided by this interface since the domains are not owned by this module.
This interface was added to handle the userhelper policy.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
target_domain |
The type of the new process. | No |
Summary is missing!
Parameter: | Description: | Optional: |
---|---|---|
? |
Parameter descriptions are missing! | No |
Summary is missing!
Parameter: | Description: | Optional: |
---|---|---|
? |
Parameter descriptions are missing! | No |
Execute a shell in the specified domain.
Execute a shell in the specified domain.
No interprocess communication (signals, pipes, etc.) is provided by this interface since the domains are not owned by this module.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
target_domain |
The type of the shell process. | No |
Make the shell an entrypoint for the specified domain.
Parameter: | Description: | Optional: |
---|---|---|
domain |
The domain for which the shell is an entrypoint. | No |
Execute a shell in the target domain. This is an explicit transition, requiring the caller to use setexeccon().
Execute a shell in the target domain. This is an explicit transition, requiring the caller to use setexeccon().
No interprocess communication (signals, pipes, etc.) is provided by this interface since the domains are not owned by this module.
Parameter: | Description: | Optional: |
---|---|---|
domain |
Domain allowed access. | No |
target_domain |
The type of the shell process. | No |