File tree Expand file tree Collapse file tree 5 files changed +10
-0
lines changed Expand file tree Collapse file tree 5 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1728,6 +1728,9 @@ fn test_android(target: &str) {
17281728 // linux 5.12 min
17291729 "MPOL_F_NUMA_BALANCING" => true ,
17301730
1731+ // GRND_INSECURE was added in platform-tools-30.0.0
1732+ "GRND_INSECURE" => true ,
1733+
17311734 _ => false ,
17321735 }
17331736 } ) ;
@@ -3317,6 +3320,9 @@ fn test_linux(target: &str) {
33173320 // linux 5.17 min
33183321 "PR_SET_VMA" | "PR_SET_VMA_ANON_NAME" => true ,
33193322
3323+ // GRND_INSECURE was added in glibc-2.32
3324+ "GRND_INSECURE" => true ,
3325+
33203326 _ => false ,
33213327 }
33223328 } ) ;
Original file line number Diff line number Diff line change @@ -661,6 +661,7 @@ GENL_NAMSIZ
661661GENL_UNS_ADMIN_PERM
662662GRND_NONBLOCK
663663GRND_RANDOM
664+ GRND_INSECURE
664665GRPQUOTA
665666HPFS_SUPER_MAGIC
666667HUGETLBFS_MAGIC
Original file line number Diff line number Diff line change @@ -649,6 +649,7 @@ GLOB_NOSORT
649649GLOB_NOSPACE
650650GRND_NONBLOCK
651651GRND_RANDOM
652+ GRND_INSECURE
652653IBSHIFT
653654IFA_ADDRESS
654655IFA_ANYCAST
Original file line number Diff line number Diff line change @@ -1792,6 +1792,7 @@ pub const NETLINK_GET_STRICT_CHK: ::c_int = 12;
17921792
17931793pub const GRND_NONBLOCK : :: c_uint = 0x0001 ;
17941794pub const GRND_RANDOM : :: c_uint = 0x0002 ;
1795+ pub const GRND_INSECURE : :: c_uint = 0x0004 ;
17951796
17961797pub const SECCOMP_MODE_DISABLED : :: c_uint = 0 ;
17971798pub const SECCOMP_MODE_STRICT : :: c_uint = 1 ;
Original file line number Diff line number Diff line change @@ -1781,6 +1781,7 @@ pub const PR_SET_VMA_ANON_NAME: ::c_int = 0;
17811781
17821782pub const GRND_NONBLOCK : :: c_uint = 0x0001 ;
17831783pub const GRND_RANDOM : :: c_uint = 0x0002 ;
1784+ pub const GRND_INSECURE : :: c_uint = 0x0004 ;
17841785
17851786pub const SECCOMP_MODE_DISABLED : :: c_uint = 0 ;
17861787pub const SECCOMP_MODE_STRICT : :: c_uint = 1 ;
You can’t perform that action at this time.
0 commit comments