File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1290,6 +1290,7 @@ fn test_android(target: &str) {
1290
1290
"sys/personality.h" ,
1291
1291
"sys/prctl.h" ,
1292
1292
"sys/ptrace.h" ,
1293
+ "sys/random.h" ,
1293
1294
"sys/reboot.h" ,
1294
1295
"sys/resource.h" ,
1295
1296
"sys/sendfile.h" ,
@@ -1307,6 +1308,7 @@ fn test_android(target: &str) {
1307
1308
"sys/un.h" ,
1308
1309
"sys/utsname.h" ,
1309
1310
"sys/vfs.h" ,
1311
+ "sys/xattr.h" ,
1310
1312
"sys/wait.h" ,
1311
1313
"syslog.h" ,
1312
1314
"termios.h" ,
@@ -1397,6 +1399,14 @@ fn test_android(target: &str) {
1397
1399
1398
1400
cfg. skip_const ( move |name| {
1399
1401
match name {
1402
+ // Android uses old kernel headers
1403
+ // These are constants used in getrandom syscall
1404
+ // "GRND_NONBLOCK" | "GRND_RANDOM" => true,
1405
+
1406
+ // Defined by libattr not libc on linux (hard to test).
1407
+ // See constant definition for more details.
1408
+ // "ENOATTR" => true,
1409
+
1400
1410
// FIXME: still necessary?
1401
1411
"SIG_DFL" | "SIG_ERR" | "SIG_IGN" => true , // sighandler_t weirdness
1402
1412
// FIXME: still necessary?
You can’t perform that action at this time.
0 commit comments