!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-5.13-headers-5.13.0-1018/arch/sparc/include/asm/   drwxr-xr-x
Free 83.22 GB of 96.73 GB (86.04%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

#include <uapi/asm/mman.h>

#ifndef __ASSEMBLY__
#define arch_mmap_check(addr,len,flags)    sparc_mmap_check(addr,len)
int sparc_mmap_check(unsigned long addr, unsigned long len);

#ifdef CONFIG_SPARC64
#include <asm/adi_64.h>

static inline void ipi_set_tstate_mcde(void *arg)
{
    struct mm_struct *mm = arg;

    /* Set TSTATE_MCDE for the task using address map that ADI has been
     * enabled on if the task is running. If not, it will be set
     * automatically at the next context switch
     */
    if (current->mm == mm) {
        struct pt_regs *regs;

        regs = task_pt_regs(current);
        regs->tstate |= TSTATE_MCDE;
    }
}

#define arch_calc_vm_prot_bits(prot, pkey) sparc_calc_vm_prot_bits(prot)
static inline unsigned long sparc_calc_vm_prot_bits(unsigned long prot)
{
    if (adi_capable() && (prot & PROT_ADI)) {
        struct pt_regs *regs;

        if (!current->mm->context.adi) {
            regs = task_pt_regs(current);
            regs->tstate |= TSTATE_MCDE;
            current->mm->context.adi = true;
            on_each_cpu_mask(mm_cpumask(current->mm),
                     ipi_set_tstate_mcde, current->mm, 0);
        }
        return VM_SPARC_ADI;
    } else {
        return 0;
    }
}

#define arch_vm_get_page_prot(vm_flags) sparc_vm_get_page_prot(vm_flags)
static inline pgprot_t sparc_vm_get_page_prot(unsigned long vm_flags)
{
    return (vm_flags & VM_SPARC_ADI) ? __pgprot(_PAGE_MCD_4V) : __pgprot(0);
}

#define arch_validate_prot(prot, addr) sparc_validate_prot(prot, addr)
static inline int sparc_validate_prot(unsigned long prot, unsigned long addr)
{
    if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM | PROT_ADI))
        return 0;
    return 1;
}

#define arch_validate_flags(vm_flags) arch_validate_flags(vm_flags)
/* arch_validate_flags() - Ensure combination of flags is valid for a
 *    VMA.
 */
static inline bool arch_validate_flags(unsigned long vm_flags)
{
    /* If ADI is being enabled on this VMA, check for ADI
     * capability on the platform and ensure VMA is suitable
     * for ADI
     */
    if (vm_flags & VM_SPARC_ADI) {
        if (!adi_capable())
            return false;

        /* ADI can not be enabled on PFN mapped pages */
        if (vm_flags & (VM_PFNMAP | VM_MIXEDMAP))
            return false;

        /* Mergeable pages can become unmergeable
         * if ADI is enabled on them even if they
         * have identical data on them. This can be
         * because ADI enabled pages with identical
         * data may still not have identical ADI
         * tags on them. Disallow ADI on mergeable
         * pages.
         */
        if (vm_flags & VM_MERGEABLE)
            return false;
    }
    return true;
}
#endif /* CONFIG_SPARC64 */

#endif /* __ASSEMBLY__ */
#endif /* __SPARC_MMAN_H__ */

:: 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.0044 ]--