libselinux1 - SELinux runtime shared libraries

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main i386
Package name libselinux1
Package version 2.3
Package release 2
Package architecture i386
Package type deb
Installed size 192 B
Download size 91.69 KB
Official Mirror
This package provides the shared libraries for Security-enhanced
Linux that provides interfaces (e.g. library functions for the
SELinux kernel APIs like getcon(), other support functions like
getseuserbyname()) to SELinux-aware applications. Security-enhanced
Linux is a patch of the Linux kernel and a number of utilities with
enhanced security functionality designed to add mandatory access
controls to Linux.  The Security-enhanced Linux kernel contains new
architectural components originally developed to improve the security
of the Flask operating system. These architectural components provide
general support for the enforcement of many kinds of mandatory access
control policies, including those based on the concepts of Type
Enforcement, Role-based Access Control, and Multi-level Security.
libselinux1 provides an API for SELinux applications to get and set
process and file security contexts and to obtain security policy
decisions.  Required for any applications that use the SELinux
API. libselinux may use the shared libsepol to manipulate the binary
policy if necessary (e.g. to downgrade the policy format to an older
version supported by the kernel) when loading policy.


Package Version Architecture Repository
libselinux1_2.3-2_amd64.deb 2.3 amd64 Debian Main
libselinux1 - - -


Name Value
libc6 >= 2.8
libpcre3 >= 8.10
multiarch-support -


Type URL
Binary Package libselinux1_2.3-2_i386.deb
Source Package libselinux

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libselinux1 deb package:
    # sudo apt-get install libselinux1




2014-08-31 - Laurent Bigonville <>
libselinux (2.3-2) unstable; urgency=medium
* Team upload.
* Add debian/patches/Add-pcre-version-string.patch: Add pcre version string
to the compiled file_contexts format. This is necesarry to detect the
cases where the internal libpcre representation has changed, if it's the
case libselinux will rely on the non-compiled file (Closes: #756826)
* Add debian/patches/Log-an-error-on-unknown-classes.patch: Log an error on
unknown classes and permissions.
* d/p/libselinux-man-Add-missing-manpage-links-to-security.patch: Add the
missing manpage links for selinux_mkload_policy(3) and
selinux_init_load_policy(3) (Closes: #753803)
* Drop debian/libselinux1.postinst: Reloading systemd during an upgrade in
an uncontroled way might endup with unwanted side effects (Closes: #753726)
2014-05-14 - Laurent Bigonville <>
libselinux (2.3-1) unstable; urgency=medium
* Team upload.
* New upstream release
- debian/control: Bump {build-}dependencies to match new release
- debian/libselinux1.symbols: Add new setexecfilecon() function
* debian/ Rework the makefile, it should handle changes in the
supported ruby versions by binNMU now (Closes: #747683)
* Add Built-Using field for python-selinux as is statically
linking against libsepol
2014-05-02 - Laurent Bigonville <>
libselinux (2.2.2-2) unstable; urgency=medium
* Team upload.
[ Laurent Bigonville ]
* debian/rules: Do not require ruby or python dh helpers when bootstrapping
thanks to Daniel Schepler <> (Closes: #738148)
[ Hideki Yamane ]
* debian/{,ruby-selinux.install}
- drop related to ruby1.9.1 and add ruby2.1.0 instead (Closes: #746024)
2014-01-11 - Laurent Bigonville <>
libselinux (2.2.2-1) unstable; urgency=medium
* Team upload.
* New upstream release
* debian/control: Mark -dev package as Multi-arch: same. (Closes: #732098)
* debian/control: Bump Standards-Version to 3.9.5 (no further changes)
* debian/rules: Fix cross build, no need for a different prefix.
2013-11-10 - Laurent Bigonville <>
libselinux (2.2.1-1) unstable; urgency=low
* Team upload.
* New upstream release
* Drop debian/patches/link_pthread.patch: Upstream disagreed with this
solution, this will unfortunately require to rebuild some of the
2013-11-02 - Laurent Bigonville <>
libselinux (2.2-2) unstable; urgency=low
* Team upload.
* debian/patches/link_pthread.patch: Explicitly link against -lpthread as
libselinux is using it internally, without this is asserting in a
weird way for some executables (Closes: #728529)
2013-11-01 - Laurent Bigonville <>
libselinux (2.2-1) unstable; urgency=low
* Team upload.
* New upstream release
- Fix avc_has_perm() returns -1 even when SELinux is permissive.
(Closes: #727766)
- debian/control: Bump {build-}dependencies to match new release
- debian/patches/fix-makefile-bugs.patch: Refreshed
- Drop debian/patches/fix-manpages.patch: Not needed anymore
- debian/patches/fix-cross-compile.patch: Refreshed
- Drop debian/patches/allow-libbase-override.patch: Merged upstream
- Drop debian/patches/fix_pcre_link.patch: Fixed upstream
- Drop debian/patches/add_missing_private_pc.patch: Fixed upstream
- Adjust debian/libselinux1.symbols: Add new symbols
* debian/rules: getenforce and selinuxenabled executable are installed in
/usr/sbin, keep their manpages in section 8
2013-10-02 - Laurent Bigonville <>
libselinux (2.1.13-3) unstable; urgency=low
* Team upload.
* debian/ Stop building binding for ruby 1.8 and start building it
for ruby 2.0 (Closes: #720247)
* debian/control: Bump Standards-Version to 3.9.4 (no further changes)
* debian/control: Use canonical URL for VCS-Git field
* debian/control, debian/rules: Drop libselinux-ruby1.8 transitional package

See Also

Package Description
libsemanage-common_2.3-1_all.deb Common files for SELinux policy management libraries
libsemanage1-dev_2.3-1+b1_i386.deb Header files and libraries for SELinux policy manipulation
libsemanage1_2.3-1+b1_i386.deb SELinux policy management library
libsemweb1.0-cil_1.05+dfsg-5_all.deb Semantic Web/RDF library
libsendlater4_4.14.1-1+deb8u1_i386.deb send later library
libsendmail-milter-perl_0.18-7+b6_i386.deb Interface to Sendmail's Mail Filter API
libsendmail-pmilter-perl_1.00-1_all.deb Perl implementation of the Sendmail Milter protocol
libsensors-applet-plugin-dev_3.0.0+git4-4_i386.deb Create plugins for the 'sensors-applet' package
libsensors-applet-plugin0_3.0.0+git4-4_i386.deb Library for plugins for the 'sensors-applet' package
libsensors4-dev_3.3.5-2_i386.deb lm-sensors development kit
libsensors4_3.3.5-2_i386.deb library to read temperature/voltage/fan sensors
libsepol1-dev_2.3-2_i386.deb SELinux binary policy manipulation library and development files
libsepol1_2.3-2_i386.deb SELinux library for manipulating binary security policies
libsequence-library-java_1.0.2-1_all.deb Textual Diff and Merge Library
libserd-0-0_0.20.0~dfsg1-1_i386.deb lightweight RDF syntax library