Layer: services

Module: polkit

Interfaces Templates

Description:

policy for polkit_auth


Interfaces:

polkit_dbus_chat( domain )
Summary

Send and receive messages from polkit over dbus.

Parameters
Parameter:Description:
domain

Domain allowed access.

polkit_domtrans_auth( domain )
Summary

Execute a domain transition to run polkit_auth.

Parameters
Parameter:Description:
domain

Domain allowed to transition.

polkit_domtrans_grant( domain )
Summary

Execute a domain transition to run polkit_grant.

Parameters
Parameter:Description:
domain

Domain allowed to transition.

polkit_domtrans_resolve( domain )
Summary

Execute a domain transition to run polkit_resolve.

Parameters
Parameter:Description:
domain

Domain allowed to transition.

polkit_read_lib( domain )
Summary

read polkit lib files

Parameters
Parameter:Description:
domain

Domain allowed access.

polkit_run_auth( domain , role , terminal )
Summary

Execute a policy_auth in the policy_auth domain, and allow the specified role the policy_auth domain, and use the caller's terminal.

Parameters
Parameter:Description:
domain

Domain allowed access.

role

The role to be allowed the load_policy domain.

terminal

The type of the terminal allow the load_policy domain to use.

polkit_run_grant( domain , role , terminal )
Summary

Execute a policy_grant in the policy_grant domain, and allow the specified role the policy_grant domain, and use the caller's terminal.

Parameters
Parameter:Description:
domain

Domain allowed access.

role

The role to be allowed the load_policy domain.

terminal

The type of the terminal allow the load_policy domain to use.

polkit_search_lib( domain )
Summary

Search polkit lib directories.

Parameters
Parameter:Description:
domain

Domain allowed access.

Return

Templates:

polkit_per_role_template( userdomain_prefix , user_domain , user_role )
Summary

The per role template for the nsplugin module.

Description

This template creates a derived domains which are used for nsplugin web browser.

This template is invoked automatically for each user, and generally does not need to be invoked directly by policy writers.

Parameters
Parameter:Description:
userdomain_prefix

The prefix of the user domain (e.g., user is the prefix for user_t).

user_domain

The type of the user domain.

user_role

The role associated with the user domain.

Return