!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/include/linux/   drwxr-xr-x
Free 318.37 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:     sysrq.h (2.68 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* -*- linux-c -*-
 *
 *    $Id: sysrq.h,v 1.3 1997/07/17 11:54:33 mj Exp $
 *
 *    Linux Magic System Request Key Hacks
 *
 *    (c) 1997 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
 *
 *    (c) 2000 Crutcher Dunnavant <crutcher+kernel@datastacks.com>
 *    overhauled to use key registration
 *    based upon discusions in irc://irc.openprojects.net/#kernelnewbies
 */
#ifndef __LINUX_SYSRQ_H__
#define __LINUX_SYSRQ_H__

#include <linux/config.h>

struct pt_regs;
struct kbd_struct;
struct tty_struct;

struct sysrq_key_op {
    void (*handler)(int, struct pt_regs *,
            struct kbd_struct *, struct tty_struct *);
    char *help_msg;
    char *action_msg;
};

#ifdef CONFIG_MAGIC_SYSRQ

/* Generic SysRq interface -- you may call it from any device driver, supplying
 * ASCII code of the key, pointer to registers and kbd/tty structs (if they
 * are available -- else NULL's).
 */

void handle_sysrq(int, struct pt_regs *,
        struct kbd_struct *, struct tty_struct *);


/* 
 * Nonlocking version of handle sysrq, used by sysrq handlers that need to
 * call sysrq handlers
 */

void __handle_sysrq_nolock(int, struct pt_regs *,
                struct kbd_struct *, struct tty_struct *);



/*
 * Sysrq registration manipulation functions
 */

void __sysrq_lock_table (void);
void __sysrq_unlock_table (void);
struct sysrq_key_op *__sysrq_get_key_op (int key);
void __sysrq_put_key_op (int key, struct sysrq_key_op *op_p);

extern __inline__ int
__sysrq_swap_key_ops_nolock(int key, struct sysrq_key_op *insert_op_p,
                struct sysrq_key_op *remove_op_p)
{
    int retval;
    if (__sysrq_get_key_op(key) == remove_op_p) {
        __sysrq_put_key_op(key, insert_op_p);
        retval = 0;
    } else {
                retval = -1;
    }
    return retval;
}

extern __inline__ int
__sysrq_swap_key_ops(int key, struct sysrq_key_op *insert_op_p,
                struct sysrq_key_op *remove_op_p) {
    int retval;
    __sysrq_lock_table();
    retval = __sysrq_swap_key_ops_nolock(key, insert_op_p, remove_op_p);
    __sysrq_unlock_table();
    return retval;
}
    
static inline int register_sysrq_key(int key, struct sysrq_key_op *op_p)
{
    return __sysrq_swap_key_ops(key, op_p, NULL);
}

static inline int unregister_sysrq_key(int key, struct sysrq_key_op *op_p)
{
    return __sysrq_swap_key_ops(key, NULL, op_p);
}

#else

static inline int __reterr(void)
{
    return -EINVAL;
}

#define register_sysrq_key(ig,nore) __reterr()
#define unregister_sysrq_key(ig,nore) __reterr()

#endif


/* Deferred actions */

extern volatile int emergency_sync_scheduled;

#define EMERG_SYNC 1
#define EMERG_REMOUNT 2

void do_emergency_sync(void);

#ifdef CONFIG_MAGIC_SYSRQ
#define CHECK_EMERGENCY_SYNC            \
    if (emergency_sync_scheduled)        \
        do_emergency_sync();
#else
#define CHECK_EMERGENCY_SYNC
#endif

#endif /* __LINUX_SYSRQ_H__ */

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