!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 

uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 

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

Safe-mode: OFF (not secure)

/usr/src/linux-headers-2.6.24-28/include/asm-parisc/   drwxr-xr-x
Free 1.06 GB of 97.11 GB (1.09%)
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.72 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#ifndef _ASM_PARISC_FUTEX_H
#define _ASM_PARISC_FUTEX_H

#ifdef __KERNEL__

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

static inline int
futex_atomic_op_inuser (int encoded_op, int __user *uaddr)
{
    int op = (encoded_op >> 28) & 7;
    int cmp = (encoded_op >> 24) & 15;
    int oparg = (encoded_op << 8) >> 20;
    int cmparg = (encoded_op << 20) >> 20;
    int oldval = 0, ret;
    if (encoded_op & (FUTEX_OP_OPARG_SHIFT << 28))
        oparg = 1 << oparg;

    if (! access_ok (VERIFY_WRITE, uaddr, sizeof(int)))
        return -EFAULT;

    pagefault_disable();

    switch (op) {
    case FUTEX_OP_SET:
    case FUTEX_OP_ADD:
    case FUTEX_OP_OR:
    case FUTEX_OP_ANDN:
    case FUTEX_OP_XOR:
    default:
        ret = -ENOSYS;
    }

    pagefault_enable();

    if (!ret) {
        switch (cmp) {
        case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break;
        case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break;
        case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break;
        case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break;
        case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break;
        case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break;
        default: ret = -ENOSYS;
        }
    }
    return ret;
}

/* Non-atomic version */
static inline int
futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval)
{
    int err = 0;
    int uval;

    /* futex.c wants to do a cmpxchg_inatomic on kernel NULL, which is
     * our gateway page, and causes no end of trouble...
     */
    if (segment_eq(KERNEL_DS, get_fs()) && !uaddr)
        return -EFAULT;

    if (!access_ok(VERIFY_WRITE, uaddr, sizeof(int)))
        return -EFAULT;

    err = get_user(uval, uaddr);
    if (err) return -EFAULT;
    if (uval == oldval)
        err = put_user(newval, uaddr);
    if (err) return -EFAULT;
    return uval;
}

#endif /*__KERNEL__*/
#endif /*_ASM_PARISC_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.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.005 ]--