!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-oracle-6.8-headers-6.8.0-1028/arch/x86/include/asm/   drwxr-xr-x
Free 83.35 GB of 96.73 GB (86.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     pkru.h (1.31 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_PKRU_H
#define _ASM_X86_PKRU_H

#include <asm/cpufeature.h>

#define PKRU_AD_BIT 0x1u
#define PKRU_WD_BIT 0x2u
#define PKRU_BITS_PER_PKEY 2

#ifdef CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
extern u32 init_pkru_value;
#define pkru_get_init_value()    READ_ONCE(init_pkru_value)
#else
#define init_pkru_value    0
#define pkru_get_init_value()    0
#endif

static inline bool __pkru_allows_read(u32 pkru, u16 pkey)
{
    int pkru_pkey_bits = pkey * PKRU_BITS_PER_PKEY;
    return !(pkru & (PKRU_AD_BIT << pkru_pkey_bits));
}

static inline bool __pkru_allows_write(u32 pkru, u16 pkey)
{
    int pkru_pkey_bits = pkey * PKRU_BITS_PER_PKEY;
    /*
     * Access-disable disables writes too so we need to check
     * both bits here.
     */
    return !(pkru & ((PKRU_AD_BIT|PKRU_WD_BIT) << pkru_pkey_bits));
}

static inline u32 read_pkru(void)
{
    if (cpu_feature_enabled(X86_FEATURE_OSPKE))
        return rdpkru();
    return 0;
}

static inline void write_pkru(u32 pkru)
{
    if (!cpu_feature_enabled(X86_FEATURE_OSPKE))
        return;
    /*
     * WRPKRU is relatively expensive compared to RDPKRU.
     * Avoid WRPKRU when it would not change the value.
     */
    if (pkru != rdpkru())
        wrpkru(pkru);
}

static inline void pkru_write_default(void)
{
    if (!cpu_feature_enabled(X86_FEATURE_OSPKE))
        return;

    wrpkru(pkru_get_init_value());
}

#endif

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0033 ]--