[Bug 6962] New: ip: addr flush hangs forever when called by non-root user
bugzilla at busybox.net
bugzilla at busybox.net
Mon Mar 17 17:39:49 UTC 2014
https://bugs.busybox.net/show_bug.cgi?id=6962
Summary: ip: addr flush hangs forever when called by non-root
user
Product: Busybox
Version: 1.22.x
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Networking
AssignedTo: unassigned at busybox.net
ReportedBy: a.gantvorg at gmx.net
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
Created attachment 5276
--> https://bugs.busybox.net/attachment.cgi?id=5276
The quick-and-dirty patch that should further illustrate the issue.
When called without root privilleges, the "ip flush dev" command should return
with a "permission denied" message.
Busybox' implementation sends an according rtnl message but does not check for
response from kernel containing the error state
(networking/libiproute/ipaddress.c, flush_update()). Thus, the for-loop in
ipaddr_list_or_flush() is never left causing the applet to hang forever.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list