!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-headers-5.15.0-1040/include/asm-generic/   drwxr-xr-x
Free 83.29 GB of 96.73 GB (86.11%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

#include <linux/types.h>
#include <linux/irqflags.h>

extern unsigned long wrong_size_cmpxchg(volatile void *ptr)
    __noreturn;

/*
 * Generic version of __cmpxchg_local (disables interrupts). Takes an unsigned
 * long parameter, supporting various types of architectures.
 */
static inline unsigned long __generic_cmpxchg_local(volatile void *ptr,
        unsigned long old, unsigned long new, int size)
{
    unsigned long flags, prev;

    /*
     * Sanity checking, compile-time.
     */
    if (size == 8 && sizeof(unsigned long) != 8)
        wrong_size_cmpxchg(ptr);

    raw_local_irq_save(flags);
    switch (size) {
    case 1: prev = *(u8 *)ptr;
        if (prev == old)
            *(u8 *)ptr = (u8)new;
        break;
    case 2: prev = *(u16 *)ptr;
        if (prev == old)
            *(u16 *)ptr = (u16)new;
        break;
    case 4: prev = *(u32 *)ptr;
        if (prev == old)
            *(u32 *)ptr = (u32)new;
        break;
    case 8: prev = *(u64 *)ptr;
        if (prev == old)
            *(u64 *)ptr = (u64)new;
        break;
    default:
        wrong_size_cmpxchg(ptr);
    }
    raw_local_irq_restore(flags);
    return prev;
}

/*
 * Generic version of __cmpxchg64_local. Takes an u64 parameter.
 */
static inline u64 __generic_cmpxchg64_local(volatile void *ptr,
        u64 old, u64 new)
{
    u64 prev;
    unsigned long flags;

    raw_local_irq_save(flags);
    prev = *(u64 *)ptr;
    if (prev == old)
        *(u64 *)ptr = new;
    raw_local_irq_restore(flags);
    return prev;
}

#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.0043 ]--