Use file capabilities instead of SUID (#646479).

Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
Adam Tkac 2010-11-03 14:32:15 +01:00
parent b0c6688ece
commit 3faa33afa9

View File

@ -1,7 +1,7 @@
Summary: A network diagnostic tool Summary: A network diagnostic tool
Name: mtr Name: mtr
Version: 0.80 Version: 0.80
Release: 1%{?dist} Release: 2%{?dist}
Epoch: 2 Epoch: 2
Group: Applications/Internet Group: Applications/Internet
License: GPLv2+ License: GPLv2+
@ -78,7 +78,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING FORMATS NEWS README SECURITY %doc AUTHORS COPYING FORMATS NEWS README SECURITY
%attr(4755,root,root) %{_sbindir}/mtr %attr(0755,root,root) %caps(cap_net_raw=pe) %{_sbindir}/mtr
%{_mandir}/man8/* %{_mandir}/man8/*
%files gtk %files gtk
@ -91,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/pixmaps/mtr_icon.xpm %{_datadir}/pixmaps/mtr_icon.xpm
%changelog %changelog
* Wed Nov 03 2010 Adam Tkac <atkac redhat com> 2:0.80-2
- use file capabilities instead of SUID (#646479)
* Tue Oct 26 2010 Jan Görig <jgorig redhat com> 2:0.80-1 * Tue Oct 26 2010 Jan Görig <jgorig redhat com> 2:0.80-1
- update to 0.80 - update to 0.80
- mtr now waits for last sent packet (#611739) - mtr now waits for last sent packet (#611739)