Movatterモバイル変換


[0]ホーム

URL:


man7.org > Linux >man-pages

Linux/UNIX system programming training


semanage_iface(3) — Linux manual page

NAME |SYNOPSIS |Record API Overview |Properties API Overview |Record Store API Overview |COLOPHON

semanage_iface(3)     Libsemanage API documentationsemanage_iface(3)

NAME        top

       semanage_iface - SELinux Network Interfaces Management API

SYNOPSIS        top

#include <semanage/iface_record.h>#include <semanage/interfaces_policy.h>#include <semanage/interfaces_local.h>       This object contains properties associated with a network       interface.       For details on a specific function, see its manual page.

Record API Overview        top

semanage_iface_create(3)-              create an interfacesemanage_iface_free(3)-              release resources for this interfacesemanage_iface_key_create(3)-              create a key, which can be used to identify an interfacesemanage_iface_key_free(3)-              release resources for this interface keysemanage_iface_key_extract(3)-              create a key matching this interfacesemanage_iface_clone(3)-              create an identical interface (deep-copy clone)semanage_iface_compare(3)-              compare this interface to the provided keysemanage_iface_compare2(3)-              compare this interface to another

Properties API Overview        top

semanage_iface_get_name(3)-              return the name of this interfacesemanage_iface_set_name(3)-              set the name of this interfacesemanage_iface_get_ifcon(3)-              return the SELinux context associated with this interfacesemanage_iface_set_ifcon(3)-              set the SELinux context associated with this interfacesemanage_iface_get_msgcon(3)-              return the SELinux context associated with packets sent              over this interfacesemanage_iface_set_msgcon(3)-              set the SELinux context associated with packets sent over              this interface

Record Store API Overview        top

semanage_iface_modify_local(3)-              add or update an interface in the local storesemanage_iface_del_local(3)-              delete an interface from the local storesemanage_iface_exists(3)-              check if an interface is defined in the persistent policysemanage_iface_exists_local(3)-              check if an interface is defined in the local storesemanage_iface_query(3)-              query an interface in the persistent policysemanage_iface_query_local(3)-              query an interface in the local storesemanage_iface_count(3)-              count the number of interfaces defined in the persistent              policysemanage_iface_count_local(3)-              count the number of interfaces defined in the local storesemanage_iface_iterate(3)-              execute a callback for each interface in the persistent              policysemanage_iface_iterate_local(3)-              execute a callback for each interface in the local storesemanage_iface_list(3)-              return an array containing all interfaces in the persistent              policysemanage_iface_list_local(3)-              return an array containing all interfaces in the local              store

COLOPHON        top

       This page is part of theselinux (Security-Enhanced Linux user-       space libraries and tools) project.  Information about the project       can be found at ⟨https://github.com/SELinuxProject/selinux/wiki⟩.       If you have a bug report for this manual page, see       ⟨https://github.com/SELinuxProject/selinux/wiki/Contributing⟩.       This page was obtained from the project's upstream Git repository       ⟨https://github.com/SELinuxProject/selinux⟩ on 2025-08-11.  (At       that time, the date of the most recent commit that was found in       the repository was 2025-08-04.)  If you discover any rendering       problems in this HTML version of the page, or you believe there is       a better or more up-to-date source for the page, or you have       corrections or improvements to the information in this COLOPHON       (which isnot part of the original manual page), send a mail to       man-pages@man7.orgivg2@cornell.edu              16 March 2006semanage_iface(3)


HTML rendering created 2025-09-06 byMichael Kerrisk, author ofThe Linux Programming Interface.

For details of in-depthLinux/UNIX system programming training courses that I teach, lookhere.

Hosting byjambit GmbH.

Cover of TLPI


[8]ページ先頭

©2009-2025 Movatter.jp