File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1253,6 +1253,10 @@ fn test_solarish(target: &str) {
1253
1253
// https://github.com/gnzlbg/ctest/issues/68
1254
1254
"lio_listio" => true ,
1255
1255
1256
+ // Exists on illumos too but, for now, is
1257
+ // [a recent addition](https://www.illumos.org/issues/17094).
1258
+ "secure_getenv" if is_illumos => true ,
1259
+
1256
1260
_ => false ,
1257
1261
}
1258
1262
} ) ;
@@ -4064,8 +4068,7 @@ fn test_linux(target: &str) {
4064
4068
"epoll_params" => true ,
4065
4069
4066
4070
// FIXME(linux): Requires >= 6.12 kernel headers.
4067
- "dmabuf_cmsg" |
4068
- "dmabuf_token" => true ,
4071
+ "dmabuf_cmsg" | "dmabuf_token" => true ,
4069
4072
4070
4073
_ => false ,
4071
4074
}
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