Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files16
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Kconfig
- Makefile
- xen_drm_front.c
- xen_drm_front.h
- xen_drm_front_cfg.c
- xen_drm_front_cfg.h
- xen_drm_front_conn.c
- xen_drm_front_conn.h
- xen_drm_front_evtchnl.c
- xen_drm_front_evtchnl.h
- xen_drm_front_gem.c
- xen_drm_front_gem.h
- xen_drm_front_kms.c
- xen_drm_front_kms.h
- xen_drm_front_shbuf.c
- xen_drm_front_shbuf.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/gpu/drm/xen/xen_drm_front_cfg.h
Text · 892 bytes/* SPDX-License-Identifier: GPL-2.0 OR MIT */
/*
* Xen para-virtual DRM device
*
* Copyright (C) 2016-2018 EPAM Systems Inc.
*
* Author: Oleksandr Andrushchenko <[email protected]>
*/
#ifndef __XEN_DRM_FRONT_CFG_H_
#define __XEN_DRM_FRONT_CFG_H_
#include <linux/types.h>
#define XEN_DRM_FRONT_MAX_CRTCS 4
struct xen_drm_front_cfg_connector {
int width;
int height;
char *xenstore_path;
};
struct xen_drm_front_cfg {
struct xen_drm_front_info *front_info;
/* number of connectors in this configuration */
int num_connectors;
/* connector configurations */
struct xen_drm_front_cfg_connector connectors[XEN_DRM_FRONT_MAX_CRTCS];
/* set if dumb buffers are allocated externally on backend side */
bool be_alloc;
};
int xen_drm_front_cfg_card(struct xen_drm_front_info *front_info,
struct xen_drm_front_cfg *cfg);
#endif /* __XEN_DRM_FRONT_CFG_H_ */