Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
20 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files67
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- Kconfig
- Makefile
- con3215.c
- con3270.c
- ctrlchar.c
- ctrlchar.h
- defkeymap.c
- defkeymap.map
- diag_ftp.c
- diag_ftp.h
- fs3270.c
- hmcdrv_cache.c
- hmcdrv_cache.h
- hmcdrv_dev.c
- hmcdrv_dev.h
- hmcdrv_ftp.c
- hmcdrv_ftp.h
- hmcdrv_mod.c
- keyboard.c
- keyboard.h
- monreader.c
- monwriter.c
- raw3270.c
- raw3270.h
- sclp.c
- sclp.h
- sclp_async.c
- sclp_cmd.c
- sclp_con.c
- sclp_config.c
- sclp_cpi_sys.c
- sclp_cpi_sys.h
- sclp_ctl.c
- sclp_diag.h
- sclp_early.c
- sclp_early_core.c
- sclp_ftp.c
- sclp_ftp.h
- sclp_ocf.c
- sclp_pci.c
- sclp_quiesce.c
- sclp_rw.c
- sclp_rw.h
- sclp_sd.c
- sclp_sdias.c
- sclp_sdias.h
- sclp_tty.c
- sclp_tty.h
- sclp_vt220.c
- tape.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/s390/char/tape_class.h
Text · 1,607 bytes/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright IBM Corp. 2004 All Rights Reserved.
*
* Tape class device support
*
* Author: Stefan Bader <[email protected]>
* Based on simple class device code by Greg K-H
*/
#ifndef __TAPE_CLASS_H__
#define __TAPE_CLASS_H__
#include <linux/init.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/major.h>
#include <linux/cdev.h>
#include <linux/device.h>
#include <linux/kdev_t.h>
#define TAPECLASS_NAME_LEN 32
struct tape_class_device {
struct cdev *char_device;
struct device *class_device;
char device_name[TAPECLASS_NAME_LEN];
char mode_name[TAPECLASS_NAME_LEN];
};
/*
* Register a tape device and return a pointer to the tape class device
* created by the call.
*
* device
* The pointer to the struct device of the physical (base) device.
* dev
* The intended major/minor number. The major number may be 0 to
* get a dynamic major number.
* fops
* The pointer to the drivers file operations for the tape device.
* device_name
* Pointer to the logical device name (will also be used as kobject name
* of the cdev). This can also be called the name of the tape class
* device.
* mode_name
* Points to the name of the tape mode. This creates a link with that
* name from the physical device to the logical device (class).
*/
struct tape_class_device *register_tape_dev(
struct device * device,
dev_t dev,
const struct file_operations *fops,
char * device_name,
char * node_name
);
void unregister_tape_dev(struct device *device, struct tape_class_device *tcd);
#endif /* __TAPE_CLASS_H__ */