Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175316487
D12823.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
839 B
Referenced Files
None
Subscribers
None
D12823.diff
View Options
Index: head/lib/libcasper/libcasper/libcasper.h
===================================================================
--- head/lib/libcasper/libcasper/libcasper.h
+++ head/lib/libcasper/libcasper/libcasper.h
@@ -56,11 +56,13 @@
struct cap_channel;
typedef struct cap_channel cap_channel_t;
+#define CASPER_SUPPORT (1)
#else
struct cap_channel {
int cch_fd;
};
typedef struct cap_channel cap_channel_t;
+#define CASPER_SUPPORT (0)
#endif /* ! WITH_CASPER */
#endif /* ! _CAP_CHANNEL_T_DECLARED */
Index: head/sbin/ping/ping.c
===================================================================
--- head/sbin/ping/ping.c
+++ head/sbin/ping/ping.c
@@ -709,7 +709,7 @@
if (options & F_NUMERIC)
cansandbox = true;
else if (capdns != NULL)
- cansandbox = true;
+ cansandbox = CASPER_SUPPORT;
else
cansandbox = false;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 10, 9:59 PM (20 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40571700
Default Alt Text
D12823.diff (839 B)
Attached To
Mode
D12823: Introduce CASPER_SUPPORT and fix ping.
Attached
Detach File
Event Timeline
Log In to Comment