SysTutorials Posts

  • |

    avc_netlink_close (3) Linux Manual Page

    NAME avc_netlink_open, avc_netlink_close, avc_netlink_acquire_fd, avc_netlink_release_fd, avc_netlink_check_nb, avc_netlink_loop – SELinux netlink processing SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_netlink_open(int blocking); void avc_netlink_close(void); int avc_netlink_acquire_fd(void); void avc_netlink_release_fd(void); void avc_netlink_loop(void); int avc_netlink_check_nb(void); DESCRIPTION These functions enable applications to handle notification of SELinux events via netlink. The userspace AVC normally checks for netlink messages on each call to avc_has_perm(3)….

  • |

    avc_netlink_check_nb (3) Linux Manual Page

    NAME avc_netlink_open, avc_netlink_close, avc_netlink_acquire_fd, avc_netlink_release_fd, avc_netlink_check_nb, avc_netlink_loop – SELinux netlink processing SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_netlink_open(int blocking); void avc_netlink_close(void); int avc_netlink_acquire_fd(void); void avc_netlink_release_fd(void); void avc_netlink_loop(void); int avc_netlink_check_nb(void); DESCRIPTION These functions enable applications to handle notification of SELinux events via netlink. The userspace AVC normally checks for netlink messages on each call to avc_has_perm(3)….

  • |

    avc_netlink_acquire_fd (3) Linux Manual Page

    NAME avc_netlink_open, avc_netlink_close, avc_netlink_acquire_fd, avc_netlink_release_fd, avc_netlink_check_nb, avc_netlink_loop – SELinux netlink processing SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_netlink_open(int blocking); void avc_netlink_close(void); int avc_netlink_acquire_fd(void); void avc_netlink_release_fd(void); void avc_netlink_loop(void); int avc_netlink_check_nb(void); DESCRIPTION These functions enable applications to handle notification of SELinux events via netlink. The userspace AVC normally checks for netlink messages on each call to avc_has_perm(3)….

  • |

    avc_init (3) Linux Manual Page

    NAME avc_init – legacy userspace SELinux AVC setup SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_init(const char *msgprefix, const struct avc_memory_callback *mem_callbacks, const struct avc_log_callback *log_callbacks, const struct avc_thread_callback *thread_callbacks, const struct avc_lock_callback *lock_callbacks); DESCRIPTION avc_init() is deprecated; please use avc_open(3) in conjunction with selinux_set_callback(3) in all new code. avc_init() initializes the userspace AVC and must…

  • |

    avc_has_perm_noaudit (3) Linux Manual Page

    NAME avc_has_perm, avc_has_perm_noaudit, avc_audit, avc_entry_ref_init – obtain and audit SELinux access decisions SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> void avc_entry_ref_init(struct avc_entry_ref *aeref); int avc_has_perm(security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t requested, struct avc_entry_ref *aeref, void *auditdata); int avc_has_perm_noaudit(security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t requested, struct avc_entry_ref *aeref, struct av_decision *avd); void avc_audit(security_id_t ssid, security_id_t tsid,…

  • |

    avc_has_perm (3) Linux Manual Page

    NAME avc_has_perm, avc_has_perm_noaudit, avc_audit, avc_entry_ref_init – obtain and audit SELinux access decisions SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> void avc_entry_ref_init(struct avc_entry_ref *aeref); int avc_has_perm(security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t requested, struct avc_entry_ref *aeref, void *auditdata); int avc_has_perm_noaudit(security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t requested, struct avc_entry_ref *aeref, struct av_decision *avd); void avc_audit(security_id_t ssid, security_id_t tsid,…

  • |

    avc_get_initial_sid (3) Linux Manual Page

    NAME avc_context_to_sid, avc_sid_to_context, avc_get_initial_sid – obtain and manipulate SELinux security ID’s SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_context_to_sid(char *ctx, security_id_t *sid); int avc_sid_to_context(security_id_t sid, char **ctx); int avc_get_initial_sid(const char *name, security_id_t *sid); DESCRIPTION Security ID’s (SID’s) are opaque representations of security contexts, managed by the userspace AVC. avc_context_to_sid() returns a SID for the given context…

  • |

    avc_get_initial_context (3) Linux Manual Page

    NAME avc_context_to_sid, avc_sid_to_context, avc_get_initial_sid – obtain and manipulate SELinux security ID’s SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_context_to_sid(char *ctx, security_id_t *sid); int avc_sid_to_context(security_id_t sid, char **ctx); int avc_get_initial_sid(const char *name, security_id_t *sid); DESCRIPTION Security ID’s (SID’s) are opaque representations of security contexts, managed by the userspace AVC. avc_context_to_sid() returns a SID for the given context…

  • |

    avc_entry_ref_init (3) Linux Manual Page

    NAME avc_has_perm, avc_has_perm_noaudit, avc_audit, avc_entry_ref_init – obtain and audit SELinux access decisions SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> void avc_entry_ref_init(struct avc_entry_ref *aeref); int avc_has_perm(security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t requested, struct avc_entry_ref *aeref, void *auditdata); int avc_has_perm_noaudit(security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t requested, struct avc_entry_ref *aeref, struct av_decision *avd); void avc_audit(security_id_t ssid, security_id_t tsid,…

  • |

    avc_destroy (3) Linux Manual Page

    NAME avc_open, avc_destroy, avc_reset, avc_cleanup – userspace SELinux AVC setup and teardown SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_open(struct selinux_opt *options, unsigned nopt); void avc_destroy(void); int avc_reset(void); void avc_cleanup(void); DESCRIPTION avc_open() initializes the userspace AVC and must be called before any other AVC operation can be performed. avc_destroy() destroys the userspace AVC, freeing all internal…

  • |

    avc_context_to_sid (3) Linux Manual Page

    NAME avc_context_to_sid, avc_sid_to_context, avc_get_initial_sid – obtain and manipulate SELinux security ID’s SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_context_to_sid(char *ctx, security_id_t *sid); int avc_sid_to_context(security_id_t sid, char **ctx); int avc_get_initial_sid(const char *name, security_id_t *sid); DESCRIPTION Security ID’s (SID’s) are opaque representations of security contexts, managed by the userspace AVC. avc_context_to_sid() returns a SID for the given context…

  • |

    avc_compute_member (3) Linux Manual Page

    NAME avc_compute_create, avc_compute_member – obtain SELinux label for new object SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_compute_create(security_id_t ssid, security_id_t tsid, security_class_t tclass, security_id_t *newsid); int avc_compute_member(security_id_t ssid, security_id_t tsid, security_class_t tclass, security_id_t *newsid); DESCRIPTION avc_compute_create() is used to compute a SID to use for labeling a new object in a particular class based on a…

  • |

    avc_compute_create (3) Linux Manual Page

    NAME avc_compute_create, avc_compute_member – obtain SELinux label for new object SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_compute_create(security_id_t ssid, security_id_t tsid, security_class_t tclass, security_id_t *newsid); int avc_compute_member(security_id_t ssid, security_id_t tsid, security_class_t tclass, security_id_t *newsid); DESCRIPTION avc_compute_create() is used to compute a SID to use for labeling a new object in a particular class based on a…

  • |

    avc_cleanup (3) Linux Manual Page

    NAME avc_open, avc_destroy, avc_reset, avc_cleanup – userspace SELinux AVC setup and teardown SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_open(struct selinux_opt *options, unsigned nopt); void avc_destroy(void); int avc_reset(void); void avc_cleanup(void); DESCRIPTION avc_open() initializes the userspace AVC and must be called before any other AVC operation can be performed. avc_destroy() destroys the userspace AVC, freeing all internal…

  • |

    avc_cache_stats (3) Linux Manual Page

    NAME avc_cache_stats, avc_av_stats, avc_sid_stats – obtain userspace SELinux AVC statistics SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> void avc_av_stats(void); void avc_sid_stats(void); void avc_cache_stats(struct avc_cache_stats *stats); DESCRIPTION The userspace AVC maintains two internal hash tables, one to store security ID’s and one to cache access decisions. avc_av_stats() and avc_sid_stats() produce log messages indicating the status of the access…

  • |

    avc_av_stats (3) Linux Manual Page

    NAME avc_cache_stats, avc_av_stats, avc_sid_stats – obtain userspace SELinux AVC statistics SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> void avc_av_stats(void); void avc_sid_stats(void); void avc_cache_stats(struct avc_cache_stats *stats); DESCRIPTION The userspace AVC maintains two internal hash tables, one to store security ID’s and one to cache access decisions. avc_av_stats() and avc_sid_stats() produce log messages indicating the status of the access…

  • |

    avc_audit (3) Linux Manual Page

    NAME avc_has_perm, avc_has_perm_noaudit, avc_audit, avc_entry_ref_init – obtain and audit SELinux access decisions SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> void avc_entry_ref_init(struct avc_entry_ref *aeref); int avc_has_perm(security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t requested, struct avc_entry_ref *aeref, void *auditdata); int avc_has_perm_noaudit(security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t requested, struct avc_entry_ref *aeref, struct av_decision *avd); void avc_audit(security_id_t ssid, security_id_t tsid,…

  • |

    avc_add_callback (3) Linux Manual Page

    NAME avc_add_callback – additional event notification for SELinux userspace object managers SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_add_callback(int (*callback)(uint32_t event, security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t perms, access_vector_t *out_retained), uint32_t events, security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t perms); DESCRIPTION avc_add_callback() is used to register callback functions on security events. The purpose of this…

  • |

    availabilityLag_ (3) Linux Manual Page

    QuantLib::InflationIndex – Base class for inflation-rate indexes,. Synopsis #include <ql/indexes/inflationindex.hpp> Inherits QuantLib::Index, and QuantLib::Observer. Inherited by YoYInflationIndex, and ZeroInflationIndex. Public Member Functions InflationIndex (const std::string &familyName, const Region &region, bool revised, bool interpolated, Frequency frequency, const Period &availabilitiyLag, const Currency &currency) Index interface std::string name () const Returns the name of the index. Calendar fixingCalendar…

  • |

    availabilityLag (3) Linux Manual Page

    QuantLib::InflationIndex – Base class for inflation-rate indexes,. Synopsis #include <ql/indexes/inflationindex.hpp> Inherits QuantLib::Index, and QuantLib::Observer. Inherited by YoYInflationIndex, and ZeroInflationIndex. Public Member Functions InflationIndex (const std::string &familyName, const Region &region, bool revised, bool interpolated, Frequency frequency, const Period &availabilitiyLag, const Currency &currency) Index interface std::string name () const Returns the name of the index. Calendar fixingCalendar…