!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/linux/   drwxr-xr-x
Free 3.84 GB of 27.03 GB (14.2%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     hfs_sysdep.h (2.6 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
* linux/include/linux/hfs_sysdep.h
*
* Copyright (C) 1996-1997  Paul H. Hargrove
* This file may be distributed under the terms of the GNU General Public License.
*
* This file contains constants, types and inline
* functions for various system dependent things.
*
* "XXX" in a comment is a note to myself to consider changing something.
*
* In function preconditions the term "valid" applied to a pointer to
* a structure means that the pointer is non-NULL and the structure it
* points to has all fields initialized to consistent values.
*/

#ifndef _HFS_SYSDEP_H
#define _HFS_SYSDEP_H

#include <linux/types.h>
#include <linux/fs.h>

#include <endian.h>
#include <byteswap.h>
#include <asm/unaligned.h>


#undef offsetof
#define offsetof(TYPE, MEMB) ((size_t) &((TYPE *)0)->MEMB)

/* Typedefs for integer types by size and signedness */
typedef __u8            hfs_u8;
typedef __u16           hfs_u16;
typedef __u32           hfs_u32;
typedef __s8            hfs_s8;
typedef __s16           hfs_s16;
typedef __s32           hfs_s32;

/* Typedefs for unaligned integer types */
typedef unsigned char hfs_byte_t;
typedef unsigned char hfs_word_t[2];
typedef unsigned char hfs_lword_t[4];



/*
* HFS structures have fields aligned to 16-bit boundaries.
* So, 16-bit get/put are easy while 32-bit get/put need
* some care on architectures like the DEC Alpha.
*
* In what follows:
*    ns  = 16-bit integer in network byte-order w/ 16-bit alignment
*    hs  = 16-bit integer in host byte-order w/ 16-bit alignment
*    nl  = 32-bit integer in network byte-order w/ unknown alignment
*    hl  = 32-bit integer in host byte-order w/ unknown alignment
*    anl = 32-bit integer in network byte-order w/ 32-bit alignment
*    ahl = 32-bit integer in host byte-order w/ 32-bit alignment
* Example: hfs_get_hl() gets an unaligned 32-bit integer converting
*    it to host byte-order.
*/
#define hfs_get_hs(addr)    ntohs(*((hfs_u16 *)(addr)))
#define hfs_get_ns(addr)    (*((hfs_u16 *)(addr)))
#define hfs_get_hl(addr)    ntohl(get_unaligned((hfs_u32 *)(addr)))
#define hfs_get_nl(addr)    get_unaligned((hfs_u32 *)(addr))
#define hfs_get_ahl(addr)    ntohl(*((hfs_u32 *)(addr)))
#define hfs_get_anl(addr)    (*((hfs_u32 *)(addr)))
#define hfs_put_hs(val, addr)     ((void)(*((hfs_u16 *)(addr)) = ntohs(val)))
#define hfs_put_ns(val, addr)     ((void)(*((hfs_u16 *)(addr)) = (val)))
#define hfs_put_hl(val, addr)     put_unaligned(htonl(val), (hfs_u32 *)(addr))
#define hfs_put_nl(val, addr)     put_unaligned((val), (hfs_u32 *)(addr))
#define hfs_put_ahl(val, addr)     ((void)(*((hfs_u32 *)(addr)) = ntohl(val)))
#define hfs_put_anl(val, addr)     ((void)(*((hfs_u32 *)(addr)) = (val)))

#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.0032 ]--