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

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/src/linux-2.4.18-xfs-1.1/include/asm-arm/proc-armv/   drwxr-xr-x
Free 318.36 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     uaccess.h (3.93 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 *  linux/include/asm-arm/proc-armv/uaccess.h
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
#include <asm/arch/memory.h>
#include <asm/proc/domain.h>

/*
 * Note that this is actually 0x1,0000,0000
 */
#define KERNEL_DS    0x00000000
#define USER_DS        PAGE_OFFSET

static inline void set_fs (mm_segment_t fs)
{
    current->addr_limit = fs;

    modify_domain(DOMAIN_KERNEL, fs ? DOMAIN_CLIENT : DOMAIN_MANAGER);
}

/* We use 33-bit arithmetic here... */
#define __range_ok(addr,size) ({ \
    unsigned long flag, sum; \
    __asm__("adds %1, %2, %3; sbcccs %1, %1, %0; movcc %0, #0" \
        : "=&r" (flag), "=&r" (sum) \
        : "r" (addr), "Ir" (size), "0" (current->addr_limit) \
        : "cc"); \
    flag; })

#define __addr_ok(addr) ({ \
    unsigned long flag; \
    __asm__("cmp %2, %0; movlo %0, #0" \
        : "=&r" (flag) \
        : "0" (current->addr_limit), "r" (addr) \
        : "cc"); \
    (flag == 0); })

#define __put_user_asm_byte(x,addr,err)                \
    __asm__ __volatile__(                    \
    "1:    strbt    %1,[%2],#0\n"                \
    "2:\n"                            \
    "    .section .fixup,\"ax\"\n"            \
    "    .align    2\n"                    \
    "3:    mov    %0, %3\n"                \
    "    b    2b\n"                    \
    "    .previous\n"                    \
    "    .section __ex_table,\"a\"\n"            \
    "    .align    3\n"                    \
    "    .long    1b, 3b\n"                \
    "    .previous"                    \
    : "=r" (err)                        \
    : "r" (x), "r" (addr), "i" (-EFAULT), "0" (err))

#define __put_user_asm_half(x,addr,err)                \
({                                \
    unsigned long __temp = (unsigned long)(x);        \
    unsigned long __ptr  = (unsigned long)(addr);        \
    __put_user_asm_byte(__temp, __ptr, err);        \
    __put_user_asm_byte(__temp >> 8, __ptr + 1, err);    \
})

#define __put_user_asm_word(x,addr,err)                \
    __asm__ __volatile__(                    \
    "1:    strt    %1,[%2],#0\n"                \
    "2:\n"                            \
    "    .section .fixup,\"ax\"\n"            \
    "    .align    2\n"                    \
    "3:    mov    %0, %3\n"                \
    "    b    2b\n"                    \
    "    .previous\n"                    \
    "    .section __ex_table,\"a\"\n"            \
    "    .align    3\n"                    \
    "    .long    1b, 3b\n"                \
    "    .previous"                    \
    : "=r" (err)                        \
    : "r" (x), "r" (addr), "i" (-EFAULT), "0" (err))

#define __get_user_asm_byte(x,addr,err)                \
    __asm__ __volatile__(                    \
    "1:    ldrbt    %1,[%2],#0\n"                \
    "2:\n"                            \
    "    .section .fixup,\"ax\"\n"            \
    "    .align    2\n"                    \
    "3:    mov    %0, %3\n"                \
    "    mov    %1, #0\n"                \
    "    b    2b\n"                    \
    "    .previous\n"                    \
    "    .section __ex_table,\"a\"\n"            \
    "    .align    3\n"                    \
    "    .long    1b, 3b\n"                \
    "    .previous"                    \
    : "=r" (err), "=&r" (x)                    \
    : "r" (addr), "i" (-EFAULT), "0" (err))

#define __get_user_asm_half(x,addr,err)                \
({                                \
    unsigned long __b1, __b2, __ptr = (unsigned long)addr;    \
    __get_user_asm_byte(__b1, __ptr, err);            \
    __get_user_asm_byte(__b2, __ptr + 1, err);        \
    (x) = __b1 | (__b2 << 8);                \
})


#define __get_user_asm_word(x,addr,err)                \
    __asm__ __volatile__(                    \
    "1:    ldrt    %1,[%2],#0\n"                \
    "2:\n"                            \
    "    .section .fixup,\"ax\"\n"            \
    "    .align    2\n"                    \
    "3:    mov    %0, %3\n"                \
    "    mov    %1, #0\n"                \
    "    b    2b\n"                    \
    "    .previous\n"                    \
    "    .section __ex_table,\"a\"\n"            \
    "    .align    3\n"                    \
    "    .long    1b, 3b\n"                \
    "    .previous"                    \
    : "=r" (err), "=&r" (x)                    \
    : "r" (addr), "i" (-EFAULT), "0" (err))

extern unsigned long __arch_copy_from_user(void *to, const void *from, unsigned long n);
#define __do_copy_from_user(to,from,n)                \
    (n) = __arch_copy_from_user(to,from,n)

extern unsigned long __arch_copy_to_user(void *to, const void *from, unsigned long n);
#define __do_copy_to_user(to,from,n)                \
    (n) = __arch_copy_to_user(to,from,n)

extern unsigned long __arch_clear_user(void *addr, unsigned long n);
#define __do_clear_user(addr,sz)                \
    (sz) = __arch_clear_user(addr,sz)

extern unsigned long __arch_strncpy_from_user(char *to, const char *from, unsigned long count);
#define __do_strncpy_from_user(dst,src,count,res)        \
    (res) = __arch_strncpy_from_user(dst,src,count)

extern unsigned long __arch_strnlen_user(const char *s, long n);
#define __do_strnlen_user(s,n,res)                    \
    (res) = __arch_strnlen_user(s,n)

:: 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 #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0044 ]--