Lines 1-30
Link Here
|
1 |
--- src/procenv.c.orig 2014-08-16 19:06:54 UTC |
|
|
2 |
+++ src/procenv.c |
3 |
@@ -5361,8 +5361,13 @@ show_capabilities_bsd (int fd) |
4 |
show_capsicum_cap (rights, CAP_KQUEUE); |
5 |
show_capsicum_cap (rights, CAP_KQUEUE_CHANGE); |
6 |
show_capsicum_cap (rights, CAP_KQUEUE_EVENT); |
7 |
+#if __FreeBSD__ > 10 |
8 |
+ show_capsicum_cap (rights, CAP_LINKAT_TARGET); |
9 |
+ show_capsicum_cap (rights, CAP_LINKAT_SOURCE); |
10 |
+#else |
11 |
show_capsicum_cap (rights, CAP_LINKAT); |
12 |
#endif |
13 |
+#endif |
14 |
show_capsicum_cap (rights, CAP_LISTEN); |
15 |
show_capsicum_cap (rights, CAP_LOOKUP); |
16 |
show_capsicum_cap (rights, CAP_MAC_GET); |
17 |
@@ -5392,8 +5397,13 @@ show_capabilities_bsd (int fd) |
18 |
show_capsicum_cap (rights, CAP_READ); |
19 |
#if __FreeBSD__ > 9 |
20 |
show_capsicum_cap (rights, CAP_RECV); |
21 |
+#if __FreeBSD__ > 10 |
22 |
+ show_capsicum_cap (rights, CAP_RENAMEAT_TARGET); |
23 |
+ show_capsicum_cap (rights, CAP_RENAMEAT_SOURCE); |
24 |
+#else |
25 |
show_capsicum_cap (rights, CAP_RENAMEAT); |
26 |
#endif |
27 |
+#endif |
28 |
show_capsicum_cap (rights, CAP_SEEK); |
29 |
#if __FreeBSD__ > 9 |
30 |
show_capsicum_cap (rights, CAP_SEEK_TELL); |