!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/include/asm/   drwxr-xr-x
Free 3.83 GB of 27.03 GB (14.17%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     rwlock.h (2.43 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* include/asm-i386/rwlock.h
*
*    Helpers used by both rw spinlocks and rw semaphores.
*
*    Based in part on code from semaphore.h and
*    spinlock.h Copyright 1996 Linus Torvalds.
*
*    Copyright 1999 Red Hat, Inc.
*
*    Written by Benjamin LaHaise.
*
*    This program is free software; you can redistribute it and/or
*    modify it under the terms of the GNU General Public License
*    as published by the Free Software Foundation; either version
*    2 of the License, or (at your option) any later version.
*/
#ifndef _ASM_I386_RWLOCK_H
#define _ASM_I386_RWLOCK_H

#define RW_LOCK_BIAS         0x01000000
#define RW_LOCK_BIAS_STR    "0x01000000"

#define __build_read_lock_ptr(rw, helper)   \
    asm volatile(LOCK "subl $1,(%0)\n\t" \
             "js 2f\n" \
             "1:\n" \
             ".section .text.lock,\"ax\"\n" \
             "2:\tcall " helper "\n\t" \
             "jmp 1b\n" \
             ".previous" \
             ::"a" (rw) : "memory")

#define __build_read_lock_const(rw, helper)   \
    asm volatile(LOCK "subl $1,%0\n\t" \
             "js 2f\n" \
             "1:\n" \
             ".section .text.lock,\"ax\"\n" \
             "2:\tpushl %%eax\n\t" \
             "leal %0,%%eax\n\t" \
             "call " helper "\n\t" \
             "popl %%eax\n\t" \
             "jmp 1b\n" \
             ".previous" \
             :"=m" (*(volatile int *)rw) : : "memory")

#define __build_read_lock(rw, helper)    do { \
                        if (__builtin_constant_p(rw)) \
                            __build_read_lock_const(rw, helper); \
                        else \
                            __build_read_lock_ptr(rw, helper); \
                    } while (0)

#define __build_write_lock_ptr(rw, helper) \
    asm volatile(LOCK "subl $" RW_LOCK_BIAS_STR ",(%0)\n\t" \
             "jnz 2f\n" \
             "1:\n" \
             ".section .text.lock,\"ax\"\n" \
             "2:\tcall " helper "\n\t" \
             "jmp 1b\n" \
             ".previous" \
             ::"a" (rw) : "memory")

#define __build_write_lock_const(rw, helper) \
    asm volatile(LOCK "subl $" RW_LOCK_BIAS_STR ",(%0)\n\t" \
             "jnz 2f\n" \
             "1:\n" \
             ".section .text.lock,\"ax\"\n" \
             "2:\tpushl %%eax\n\t" \
             "leal %0,%%eax\n\t" \
             "call " helper "\n\t" \
             "popl %%eax\n\t" \
             "jmp 1b\n" \
             ".previous" \
             :"=m" (*(volatile int *)rw) : : "memory")

#define __build_write_lock(rw, helper)    do { \
                        if (__builtin_constant_p(rw)) \
                            __build_write_lock_const(rw, helper); \
                        else \
                            __build_write_lock_ptr(rw, helper); \
                    } while (0)

#warning Unportable program! This header does not exist for all architectures
#warning Using kernel headers in userspace!
#endif

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0029 ]--