!16 Drop unnecessary telinit

From: @panxh_purple
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2021-05-28 16:51:40 +08:00 committed by Gitee
commit 52e630698a

View File

@ -1,6 +1,6 @@
Name: libsepol Name: libsepol
Version: 3.1 Version: 3.1
Release: 3 Release: 4
Summary: SELinux binary policy manipulation library Summary: SELinux binary policy manipulation library
License: LGPLv2+ License: LGPLv2+
URL: https://github.com/SELinuxProject/selinux/wiki/Releases URL: https://github.com/SELinuxProject/selinux/wiki/Releases
@ -50,10 +50,7 @@ make DESTDIR="%{buildroot}" LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}" install
%preun %preun
%post %post -p /sbin/ldconfig
/sbin/ldconfig
[ -x /sbin/telinit ] && [ -p /dev/initctl ] && /sbin/telinit U
exit 0
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
@ -77,6 +74,9 @@ exit 0
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Fri May 28 2021 panxiaohe <panxiaohe@huawei.com> - 3.1-4
- Drop unnecessary telinit
* Mon Mar 15 2021 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 3.1-3 * Mon Mar 15 2021 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 3.1-3
- fix heap-use-after-free in cil_yy_switch_to_buffer - fix heap-use-after-free in cil_yy_switch_to_buffer
fix heap-use-after-free in __class_reset_perm_values() fix heap-use-after-free in __class_reset_perm_values()