File tree Expand file tree Collapse file tree 5 files changed +14
-0
lines changed Expand file tree Collapse file tree 5 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -2702,6 +2702,9 @@ fn test_freebsd(target: &str) {
27022702            // Added in FreeBSD 14.2 
27032703            "SO_SPLICE"  if  Some ( 14 )  > freebsd_ver => true , 
27042704
2705+             // Added in FreeBSD 15 
2706+             "AT_HWCAP3"  | "AT_HWCAP4"  if  Some ( 15 )  > freebsd_ver => true , 
2707+ 
27052708            _ => false , 
27062709        } 
27072710    } ) ; 
@@ -4584,6 +4587,9 @@ fn test_linux(target: &str) {
45844587            // FIXME(linux): Value changed in 6.14 
45854588            "SECURE_ALL_BITS"  | "SECURE_ALL_LOCKS"  => true , 
45864589
4590+             // FIXME(linux): Requires >= 6.9 kernel headers. 
4591+             "AT_HWCAP3"  | "AT_HWCAP4"  => true , 
4592+ 
45874593            _ => false , 
45884594        } 
45894595    } ) ; 
Original file line number Diff line number Diff line change @@ -150,6 +150,8 @@ AT_FLAGS
150150AT_GID
151151AT_HWCAP
152152AT_HWCAP2
153+ AT_HWCAP3
154+ AT_HWCAP4
153155AT_IGNORE
154156AT_MINSIGSTKSZ
155157AT_NOTELF
Original file line number Diff line number Diff line change @@ -3708,6 +3708,8 @@ pub const AT_HWCAP: c_int = 25;
37083708pub  const  AT_HWCAP2 :  c_int  = 26 ; 
37093709pub  const  AT_USRSTACKBASE :  c_int  = 35 ; 
37103710pub  const  AT_USRSTACKLIM :  c_int  = 36 ; 
3711+ pub  const  AT_HWCAP3 :  c_int  = 38 ; 
3712+ pub  const  AT_HWCAP4 :  c_int  = 39 ; 
37113713
37123714pub  const  TABDLY :  crate :: tcflag_t  = 0x00000004 ; 
37133715pub  const  TAB0 :  crate :: tcflag_t  = 0x00000000 ; 
Original file line number Diff line number Diff line change @@ -3473,6 +3473,8 @@ pub const AT_RANDOM: c_ulong = 25;
34733473pub  const  AT_HWCAP2 :  c_ulong  = 26 ; 
34743474pub  const  AT_RSEQ_FEATURE_SIZE :  c_ulong  = 27 ; 
34753475pub  const  AT_RSEQ_ALIGN :  c_ulong  = 28 ; 
3476+ pub  const  AT_HWCAP3 :  c_ulong  = 29 ; 
3477+ pub  const  AT_HWCAP4 :  c_ulong  = 30 ; 
34763478pub  const  AT_EXECFN :  c_ulong  = 31 ; 
34773479pub  const  AT_MINSIGSTKSZ :  c_ulong  = 51 ; 
34783480
Original file line number Diff line number Diff line change @@ -2513,6 +2513,8 @@ pub const AT_BASE_PLATFORM: c_ulong = 24;
25132513pub  const  AT_RANDOM :  c_ulong  = 25 ; 
25142514pub  const  AT_HWCAP2 :  c_ulong  = 26 ; 
25152515
2516+ pub  const  AT_HWCAP3 :  c_ulong  = 29 ; 
2517+ pub  const  AT_HWCAP4 :  c_ulong  = 30 ; 
25162518pub  const  AT_EXECFN :  c_ulong  = 31 ; 
25172519
25182520// defined in arch/<arch>/include/uapi/asm/auxvec.h but has the same value 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments