File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1307,6 +1307,10 @@ fn test_solarish(target: &str) {
1307
1307
// https://github.com/gnzlbg/ctest/issues/68
1308
1308
"lio_listio" => true ,
1309
1309
1310
+ // Exists on illumos too but, for now, is
1311
+ // [a recent addition](https://www.illumos.org/issues/17094).
1312
+ "secure_getenv" if is_illumos => true ,
1313
+
1310
1314
_ => false ,
1311
1315
}
1312
1316
} ) ;
@@ -4136,8 +4140,7 @@ fn test_linux(target: &str) {
4136
4140
"epoll_params" => true ,
4137
4141
4138
4142
// FIXME(linux): Requires >= 6.12 kernel headers.
4139
- "dmabuf_cmsg" |
4140
- "dmabuf_token" => true ,
4143
+ "dmabuf_cmsg" | "dmabuf_token" => true ,
4141
4144
4142
4145
_ => false ,
4143
4146
}
Original file line number Diff line number Diff line change @@ -3201,6 +3201,8 @@ extern "C" {
3201
3201
pub fn arc4random ( ) -> u32 ;
3202
3202
pub fn arc4random_buf ( buf : * mut c_void , nbytes : size_t ) ;
3203
3203
pub fn arc4random_uniform ( upper_bound : u32 ) -> u32 ;
3204
+
3205
+ pub fn secure_getenv ( name : * const c_char ) -> * mut c_char ;
3204
3206
}
3205
3207
3206
3208
#[ link( name = "sendfile" ) ]
You can’t perform that action at this time.
0 commit comments