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

Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 

uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 

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

Safe-mode: OFF (not secure)

/usr/src/linux-headers-4.4.0-210/arch/sh/include/asm/   drwxr-xr-x
Free 9.73 GB of 29.4 GB (33.1%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     futex.h (1.2 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#ifndef __ASM_SH_FUTEX_H
#define __ASM_SH_FUTEX_H

#ifdef __KERNEL__

#include <linux/futex.h>
#include <linux/uaccess.h>
#include <asm/errno.h>

/* XXX: UP variants, fix for SH-4A and SMP.. */
#include <asm/futex-irq.h>

static inline int arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval,
        u32 __user *uaddr)
{
    int oldval = 0, ret;

    pagefault_disable();

    switch (op) {
    case FUTEX_OP_SET:
        ret = atomic_futex_op_xchg_set(oparg, uaddr, &oldval);
        break;
    case FUTEX_OP_ADD:
        ret = atomic_futex_op_xchg_add(oparg, uaddr, &oldval);
        break;
    case FUTEX_OP_OR:
        ret = atomic_futex_op_xchg_or(oparg, uaddr, &oldval);
        break;
    case FUTEX_OP_ANDN:
        ret = atomic_futex_op_xchg_and(~oparg, uaddr, &oldval);
        break;
    case FUTEX_OP_XOR:
        ret = atomic_futex_op_xchg_xor(oparg, uaddr, &oldval);
        break;
    default:
        ret = -ENOSYS;
        break;
    }

    pagefault_enable();

    if (!ret)
        *oval = oldval;

    return ret;
}

static inline int
futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
                  u32 oldval, u32 newval)
{
    if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32)))
        return -EFAULT;

    return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval);
}

#endif /* __KERNEL__ */
#endif /* __ASM_SH_FUTEX_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 KaizenLouie | C99Shell Github | Generation time: 0.0051 ]--