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


Viewing file:     rrm.c (1.52 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * Linux Rendering Resource Manager 
 *
 *          Implements the SGI-compatible rendering resource manager.
 *          This takes care of implementing the virtualized video hardware
 *          access required for OpenGL direct rendering.
 *
 * Author:  Miguel de Icaza (miguel@nuclecu.unam.mx)
 *
 * Fixes:
 */
#include <linux/module.h>

#include <asm/uaccess.h>
#include <asm/rrm.h>


int
rrm_open_rn (int rnid, void *arg)
{
    return 0;
}

int
rrm_close_rn (int rnid, void *arg)
{
    return 0;
}

int
rrm_bind_proc_to_rn (int rnid, void *arg)
{
    return 0;
}

typedef int (*rrm_function )(void *arg);

struct {
    int (*r_fn)(int rnid, void *arg);
    int arg_size;
} rrm_functions [] = {
    { rrm_open_rn,         sizeof (struct RRM_OpenRN) },
    { rrm_close_rn,        sizeof (struct RRM_CloseRN) },
    { rrm_bind_proc_to_rn, sizeof (struct RRM_BindProcToRN) }
};

#define RRM_FUNCTIONS (sizeof (rrm_functions)/sizeof (rrm_functions [0]))

/* cmd is a number in the range [0..RRM_CMD_LIMIT-RRM_BASE] */
int
rrm_command (unsigned int cmd, void *arg)
{
    int i, rnid;
    
    if (cmd > RRM_FUNCTIONS){
        printk ("Called unimplemented rrm ioctl: %d\n", cmd + RRM_BASE);
        return -EINVAL;
    }
    i = verify_area (VERIFY_READ, arg, rrm_functions [cmd].arg_size);
    if (i) return i;

    if (__get_user (rnid, (int *) arg))
        return -EFAULT;
    return (*(rrm_functions [cmd].r_fn))(rnid, arg);
}

int
rrm_close (struct inode *inode, struct file *file)
{
    /* This routine is invoked when the device is closed */
    return 0;
}

EXPORT_SYMBOL(rrm_command);
EXPORT_SYMBOL(rrm_close);

:: 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.0285 ]--