!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/s390/char/   drwxr-xr-x
Free 318.34 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:     hwc_con.c (1.72 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 *  drivers/s390/char/hwc_con.c
 *    HWC line mode console driver
 *
 *  S390 version
 *    Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
 *    Author(s): Martin Peschke <mpeschke@de.ibm.com>
 */

#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/major.h>
#include <linux/errno.h>
#include <linux/kdev_t.h>
#include <linux/string.h>
#include <linux/console.h>
#include <linux/fs.h>
#include <linux/init.h>

#include "hwc_rw.h"

#ifdef CONFIG_HWC_CONSOLE

#define  hwc_console_major 4
#define  hwc_console_minor 64
#define  hwc_console_name  "console"

void hwc_console_write (struct console *, const char *, unsigned int);
kdev_t hwc_console_device (struct console *);
void hwc_console_unblank (void);

#define  HWC_CON_PRINT_HEADER "hwc console driver: "

struct console hwc_console =
{

    hwc_console_name,
    hwc_console_write,
    NULL,
    hwc_console_device,
    NULL,
    hwc_console_unblank,
    NULL,
    CON_PRINTBUFFER,
    0,
    0,
    NULL
};

void 
hwc_console_write (
              struct console *console,
              const char *message,
              unsigned int count)
{

    if (console->device (console) != hwc_console.device (&hwc_console)) {

        hwc_printk (KERN_WARNING HWC_CON_PRINT_HEADER
                "hwc_console_write() called with wrong "
                "device number");
        return;
    }
    hwc_write (0, message, count);
}

kdev_t 
hwc_console_device (struct console * c)
{
    return MKDEV (hwc_console_major, hwc_console_minor);
}

void 
hwc_console_unblank (void)
{
    hwc_unblank ();
}

#endif

void __init 
hwc_console_init (void)
{
    if (!MACHINE_HAS_HWC)
        return;

    if (hwc_init () == 0) {
#ifdef CONFIG_HWC_CONSOLE

        if (CONSOLE_IS_HWC)
            register_console (&hwc_console);
#endif
    } else
        panic (HWC_CON_PRINT_HEADER "hwc initialisation failed !");

    return;
}

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