Man Pages in libselinux1-dev

  1. Carta.tech
  2. Packages
  3. libselinux1-dev
  • 192

    Section 3: Library calls

    avc_add_callback.3
    Additional event notification for selinux userspace object managers
    avc_audit.3
    Obtain and audit selinux access decisions
    avc_av_stats.3
    Obtain userspace selinux avc statistics
    avc_cache_stats.3
    Obtain userspace selinux avc statistics
    avc_cleanup.3
    Userspace selinux avc setup and teardown
    avc_compute_create.3
    Obtain selinux label for new object
    avc_compute_member.3
    Obtain selinux label for new object
    avc_context_to_sid.3
    Obtain and manipulate selinux security id's
    avc_destroy.3
    Userspace selinux avc setup and teardown
    avc_entry_ref_init.3
    Obtain and audit selinux access decisions
    avc_get_initial_context.3
    Obtain and manipulate selinux security id's
    avc_get_initial_sid.3
    Obtain and manipulate selinux security id's
    avc_has_perm.3
    Obtain and audit selinux access decisions
    avc_has_perm_noaudit.3
    Obtain and audit selinux access decisions
    avc_init.3
    Legacy userspace selinux avc setup
    avc_netlink_acquire_fd.3
    Selinux netlink processing
    avc_netlink_check_nb.3
    Selinux netlink processing
    avc_netlink_close.3
    Selinux netlink processing
    avc_netlink_loop.3
    Selinux netlink processing
    avc_netlink_open.3
    Selinux netlink processing
    avc_netlink_release_fd.3
    Selinux netlink processing
    avc_open.3
    Userspace selinux avc setup and teardown
    avc_reset.3
    Userspace selinux avc setup and teardown
    avc_sid_stats.3
    Obtain userspace selinux avc statistics
    avc_sid_to_context.3
    Obtain and manipulate selinux security id's
    checkPasswdAccess.3
    Query the selinux policy database in the kernel
    context_free.3
    Routines to manipulate selinux security contexts
    context_new.3
    Routines to manipulate selinux security contexts
    context_range_get.3
    Routines to manipulate selinux security contexts
    context_range_set.3
    Routines to manipulate selinux security contexts
    context_role_get.3
    Routines to manipulate selinux security contexts
    context_role_set.3
    Routines to manipulate selinux security contexts
    context_type_get.3
    Routines to manipulate selinux security contexts
    context_type_set.3
    Routines to manipulate selinux security contexts
    context_user_get.3
    Routines to manipulate selinux security contexts
    context_user_set.3
    Routines to manipulate selinux security contexts
    fgetfilecon.3
    Get selinux security context of a file
    fgetfilecon_raw.3
    Get selinux security context of a file
    fini_selinuxmnt.3
    Initialize the global variable selinux_mnt
    freecon.3
    Get selinux security context of a process freecon, freeconary - free memory associated with selinux security contexts getpeercon - get security context of a peer socket setcon - set current security context of a process
    freeconary.3
    Get selinux security context of a process freecon, freeconary - free memory associated with selinux security contexts getpeercon - get security context of a peer socket setcon - set current security context of a process
    fsetfilecon.3
    Set selinux security context of a file
    fsetfilecon_raw.3
    Set selinux security context of a file
    get_default_context.3
    Determine selinux context(s) for user sessions
    get_default_context_with_level.3
    Determine selinux context(s) for user sessions
    get_default_context_with_role.3
    Determine selinux context(s) for user sessions
    get_default_context_with_rolelevel.3
    Determine selinux context(s) for user sessions
    get_default_type.3
    Determine selinux context(s) for user sessions
    get_ordered_context_list.3
    Determine selinux context(s) for user sessions
    get_ordered_context_list_with_level.3
    Determine selinux context(s) for user sessions
    getcon.3
    Get selinux security context of a process freecon, freeconary - free memory associated with selinux security contexts getpeercon - get security context of a peer socket setcon - set current security context of a process
    getcon_raw.3
    Get selinux security context of a process freecon, freeconary - free memory associated with selinux security contexts getpeercon - get security context of a peer socket setcon - set current security context of a process
    getexeccon.3
    Get or set the selinux security context used for executing a new process rpm_execcon - run a helper for rpm in an appropriate security context
    getexeccon_raw.3
    Get or set the selinux security context used for executing a new process rpm_execcon - run a helper for rpm in an appropriate security context
    getfilecon.3
    Get selinux security context of a file
    getfilecon_raw.3
    Get selinux security context of a file
    getfscreatecon.3
    Get or set the selinux security context used for creating a new file system object
    getfscreatecon_raw.3
    Get or set the selinux security context used for creating a new file system object
    getkeycreatecon.3
    Get or set the selinux security context used for creating a new kernel keyrings
    getkeycreatecon_raw.3
    Get or set the selinux security context used for creating a new kernel keyrings
    getpeercon.3
    Get selinux security context of a process freecon, freeconary - free memory associated with selinux security contexts getpeercon - get security context of a peer socket setcon - set current security context of a process
    getpeercon_raw.3
    Get selinux security context of a process freecon, freeconary - free memory associated with selinux security contexts getpeercon - get security context of a peer socket setcon - set current security context of a process
    getpidcon.3
    Get selinux security context of a process freecon, freeconary - free memory associated with selinux security contexts getpeercon - get security context of a peer socket setcon - set current security context of a process
    getpidcon_raw.3
    Get selinux security context of a process freecon, freeconary - free memory associated with selinux security contexts getpeercon - get security context of a peer socket setcon - set current security context of a process
    getprevcon.3
    Get selinux security context of a process freecon, freeconary - free memory associated with selinux security contexts getpeercon - get security context of a peer socket setcon - set current security context of a process
    getprevcon_raw.3
    Get selinux security context of a process freecon, freeconary - free memory associated with selinux security contexts getpeercon - get security context of a peer socket setcon - set current security context of a process
    getseuserbyname.3
    Get selinux username and level for a given linux username
    getsockcreatecon.3
    Get or set the selinux security context used for creating a new labeled sockets
    getsockcreatecon_raw.3
    Get or set the selinux security context used for creating a new labeled sockets
    init_selinuxmnt.3
    Initialize the global variable selinux_mnt
    is_context_customizable.3
    Check whether selinux context type is customizable by the administrator
    is_selinux_enabled.3
    Check whether selinux is enabled for (multi level securty) mls
    is_selinux_mls_enabled.3
    Check whether selinux is enabled for (multi level securty) mls
    lgetfilecon.3
    Get selinux security context of a file
    lgetfilecon_raw.3
    Get selinux security context of a file
    lsetfilecon.3
    Set selinux security context of a file
    lsetfilecon_raw.3
    Set selinux security context of a file
    manual_user_enter_context.3
    Determine selinux context(s) for user sessions
    matchmediacon.3
    Get the default selinux security context for the specified mediatype from the policy
    matchpathcon.3
    Get the default selinux security context for the specified path from the file contexts configuration
    matchpathcon_checkmatches.3
    Check and report whether any specification index has no matches with any inode. maintenance and statistics on inode associations
    matchpathcon_filespec_add.3
    Check and report whether any specification index has no matches with any inode. maintenance and statistics on inode associations
    matchpathcon_filespec_destroy.3
    Check and report whether any specification index has no matches with any inode. maintenance and statistics on inode associations
    matchpathcon_filespec_eval.3
    Check and report whether any specification index has no matches with any inode. maintenance and statistics on inode associations
    matchpathcon_fini.3
    Get the default selinux security context for the specified path from the file contexts configuration
    matchpathcon_index.3
    Get the default selinux security context for the specified path from the file contexts configuration
    matchpathcon_init.3
    Get the default selinux security context for the specified path from the file contexts configuration
    mode_to_security_class.3
    Convert between selinux class and permission values and string names. print_access_vector - display an access vector in human-readable form.
    print_access_vector.3
    Convert between selinux class and permission values and string names. print_access_vector - display an access vector in human-readable form.
    query_user_context.3
    Determine selinux context(s) for user sessions
    rpm_execcon.3
    Get or set the selinux security context used for executing a new process rpm_execcon - run a helper for rpm in an appropriate security context
    security_av_perm_to_string.3
    Convert between selinux class and permission values and string names. print_access_vector - display an access vector in human-readable form.
    security_av_string.3
    Convert between selinux class and permission values and string names. print_access_vector - display an access vector in human-readable form.
    security_check_context.3
    Check the validity of a selinux context
    security_check_context_raw.3
    Check the validity of a selinux context
    security_class_to_string.3
    Convert between selinux class and permission values and string names. print_access_vector - display an access vector in human-readable form.
    security_commit_booleans.3
    Routines for manipulating selinux boolean values
    security_compute_av.3
    Query the selinux policy database in the kernel
    security_compute_av_flags.3
    Query the selinux policy database in the kernel
    security_compute_av_flags_raw.3
    Query the selinux policy database in the kernel
    security_compute_av_raw.3
    Query the selinux policy database in the kernel
    security_compute_create.3
    Query the selinux policy database in the kernel
    security_compute_create_name.3
    Query the selinux policy database in the kernel
    security_compute_create_name_raw.3
    Query the selinux policy database in the kernel
    security_compute_create_raw.3
    Query the selinux policy database in the kernel
    security_compute_member.3
    Query the selinux policy database in the kernel
    security_compute_member_raw.3
    Query the selinux policy database in the kernel
    security_compute_relabel.3
    Query the selinux policy database in the kernel
    security_compute_relabel_raw.3
    Query the selinux policy database in the kernel
    security_compute_user.3
    Query the selinux policy database in the kernel
    security_compute_user_raw.3
    Query the selinux policy database in the kernel
    security_deny_unknown.3
    Get or set the enforcing state of selinux
    security_disable.3
    Disable the selinux kernel code at runtime
    security_get_boolean_active.3
    Routines for manipulating selinux boolean values
    security_get_boolean_names.3
    Routines for manipulating selinux boolean values
    security_get_boolean_pending.3
    Routines for manipulating selinux boolean values
    security_get_initial_context.3
    Query the selinux policy database in the kernel
    security_get_initial_context_raw.3
    Query the selinux policy database in the kernel
    security_getenforce.3
    Get or set the enforcing state of selinux
    security_load_booleans.3
    Routines for manipulating selinux boolean values
    security_load_policy.3
    Load a new selinux policy
    security_mkload_policy.3
    Load a new selinux policy
    security_policyvers.3
    Get the version of the selinux policy
    security_set_boolean.3
    Routines for manipulating selinux boolean values
    security_setenforce.3
    Get or set the enforcing state of selinux
    selabel_close.3
    Userspace selinux labeling interface
    selabel_lookup.3
    Obtain selinux security context from a string label
    selabel_lookup_raw.3
    Obtain selinux security context from a string label
    selabel_open.3
    Userspace selinux labeling interface
    selabel_stats.3
    Obtain selinux labeling statistics
    selinux_binary_policy_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_boolean_sub.3
    Selinux_boolean_sub -
    selinux_booleans_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_check_access.3
    Query the selinux policy database in the kernel
    selinux_check_passwd_access.3
    Query the selinux policy database in the kernel
    selinux_check_securetty_context.3
    Check whether a selinux tty security context is defined as a securetty context
    selinux_colors_path.3
    Return a path to the active selinux policy color configuration file
    selinux_contexts_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_current_policy_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_default_context_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_default_type_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_failsafe_context_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_file_context_cmp.3
    Compare two selinux security contexts excluding the 'user' component
    selinux_file_context_homedir_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_file_context_local_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_file_context_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_file_context_verify.3
    Compare the selinux security context on disk to the default security context required by the policy file contexts file
    selinux_getenforcemode.3
    Get the enforcing state of selinux
    selinux_getpolicytype.3
    Get the type of selinux policy running on the system
    selinux_homedir_context_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_init_load_policy.3
    Load a new selinux policy
    selinux_lsetfilecon_default.3
    Set the file context to the system defaults
    selinux_media_context_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_mkload_policy.3
    Load a new selinux policy
    selinux_netfilter_context_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_policy_root.3
    Return the path of the selinux policy files for this machine selinux_set_policy_root - set an alternate selinux root path for the selinux policy files for this machine.
    selinux_raw_context_to_color.3
    Return rgb color string for an selinux security context
    selinux_removable_context_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_securetty_types_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_set_callback.3
    Userspace selinux callback facilities
    selinux_set_mapping.3
    Establish dynamic object class and permission mapping
    selinux_set_policy_root.3
    Return the path of the selinux policy files for this machine selinux_set_policy_root - set an alternate selinux root path for the selinux policy files for this machine.
    selinux_status_close.3
    Reference the selinux kernel status without invocation of system calls
    selinux_status_deny_unknown.3
    Reference the selinux kernel status without invocation of system calls
    selinux_status_getenforce.3
    Reference the selinux kernel status without invocation of system calls
    selinux_status_open.3
    Reference the selinux kernel status without invocation of system calls
    selinux_status_policyload.3
    Reference the selinux kernel status without invocation of system calls
    selinux_status_updated.3
    Reference the selinux kernel status without invocation of system calls
    selinux_user_contexts_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_usersconf_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    selinux_x_context_path.3
    These functions return the paths to the active selinux policy configuration directories and files
    set_matchpathcon_flags.3
    Set flags controlling the operation of matchpathcon or matchpathcon_index and configure the behaviour of validity checking and error displaying
    set_matchpathcon_invalidcon.3
    Set flags controlling the operation of matchpathcon or matchpathcon_index and configure the behaviour of validity checking and error displaying
    set_matchpathcon_printf.3
    Set flags controlling the operation of matchpathcon or matchpathcon_index and configure the behaviour of validity checking and error displaying
    set_selinuxmnt.3
    Initialize the global variable selinux_mnt
    setcon.3
    Get selinux security context of a process freecon, freeconary - free memory associated with selinux security contexts getpeercon - get security context of a peer socket setcon - set current security context of a process
    setcon_raw.3
    Get selinux security context of a process freecon, freeconary - free memory associated with selinux security contexts getpeercon - get security context of a peer socket setcon - set current security context of a process
    setexeccon.3
    Get or set the selinux security context used for executing a new process rpm_execcon - run a helper for rpm in an appropriate security context
    setexeccon_raw.3
    Get or set the selinux security context used for executing a new process rpm_execcon - run a helper for rpm in an appropriate security context
    setfilecon.3
    Set selinux security context of a file
    setfilecon_raw.3
    Set selinux security context of a file
    setfscreatecon.3
    Get or set the selinux security context used for creating a new file system object
    setfscreatecon_raw.3
    Get or set the selinux security context used for creating a new file system object
    setkeycreatecon.3
    Get or set the selinux security context used for creating a new kernel keyrings
    setkeycreatecon_raw.3
    Get or set the selinux security context used for creating a new kernel keyrings
    setsockcreatecon.3
    Get or set the selinux security context used for creating a new labeled sockets
    setsockcreatecon_raw.3
    Get or set the selinux security context used for creating a new labeled sockets
    sidget.3
    Obtain and manipulate selinux security id's
    sidput.3
    Obtain and manipulate selinux security id's
    string_to_av_perm.3
    Convert between selinux class and permission values and string names. print_access_vector - display an access vector in human-readable form.
    string_to_security_class.3
    Convert between selinux class and permission values and string names. print_access_vector - display an access vector in human-readable form.