Exploit databaseDownload repository ZIP
GH-a4473dcd9930d1ae4c0775adc06b1cfb
satheesh575555/linux-4.19.72_cve-2022-36946
Sources for CVE-2022-36946
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files36
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- Kconfig
- Makefile
- acorn.c
- acorn.h
- aix.c
- aix.h
- amiga.c
- amiga.h
- atari.c
- atari.h
- check.c
- check.h
- cmdline.c
- cmdline.h
- efi.c
- efi.h
- ibm.c
- ibm.h
- karma.c
- karma.h
- ldm.c
- ldm.h
- mac.c
- mac.h
- msdos.c
- msdos.h
- osf.c
- osf.h
- sgi.c
- sgi.h
- sun.c
- sun.h
- sysv68.c
- sysv68.h
- ultrix.c
- ultrix.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
block/partitions/atari.h
Text · 1,099 bytes/* SPDX-License-Identifier: GPL-2.0 */
/*
* fs/partitions/atari.h
* Moved by Russell King from:
*
* linux/include/linux/atari_rootsec.h
* definitions for Atari Rootsector layout
* by Andreas Schwab ([email protected])
*
* modified for ICD/Supra partitioning scheme restricted to at most 12
* partitions
* by Guenther Kelleter ([email protected])
*/
#include <linux/compiler.h>
struct partition_info
{
u8 flg; /* bit 0: active; bit 7: bootable */
char id[3]; /* "GEM", "BGM", "XGM", or other */
__be32 st; /* start of partition */
__be32 siz; /* length of partition */
};
struct rootsector
{
char unused[0x156]; /* room for boot code */
struct partition_info icdpart[8]; /* info for ICD-partitions 5..12 */
char unused2[0xc];
u32 hd_siz; /* size of disk in blocks */
struct partition_info part[4];
u32 bsl_st; /* start of bad sector list */
u32 bsl_cnt; /* length of bad sector list */
u16 checksum; /* checksum for bootable disks */
} __packed;
int atari_partition(struct parsed_partitions *state);