Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142009022
D12151.id32514.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
499 B
Referenced Files
None
Subscribers
None
D12151.id32514.diff
View Options
Index: head/usr.bin/netstat/main.c
===================================================================
--- head/usr.bin/netstat/main.c
+++ head/usr.bin/netstat/main.c
@@ -422,13 +422,12 @@
if (!live) {
if (setgid(getgid()) != 0)
xo_err(-1, "setgid");
+ /* Load all necessary kvm symbols */
+ kresolve_list(nl);
}
if (xflag && Tflag)
xo_errx(1, "-x and -T are incompatible, pick one.");
-
- /* Load all necessary kvm symbols */
- kresolve_list(nl);
if (Bflag) {
if (!live)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 8:53 PM (19 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27654712
Default Alt Text
D12151.id32514.diff (499 B)
Attached To
Mode
D12151: usr.bin/netstat: don't call kresolve_list() if using live kernel
Attached
Detach File
Event Timeline
Log In to Comment