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 files37
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- cdma_hw.c
- channel_hw.c
- debug_hw.c
- debug_hw_1x01.c
- debug_hw_1x06.c
- host1x01.c
- host1x01.h
- host1x01_hardware.h
- host1x02.c
- host1x02.h
- host1x02_hardware.h
- host1x04.c
- host1x04.h
- host1x04_hardware.h
- host1x05.c
- host1x05.h
- host1x05_hardware.h
- host1x06.c
- host1x06.h
- host1x06_hardware.h
- hw_host1x01_channel.h
- hw_host1x01_sync.h
- hw_host1x01_uclass.h
- hw_host1x02_channel.h
- hw_host1x02_sync.h
- hw_host1x02_uclass.h
- hw_host1x04_channel.h
- hw_host1x04_sync.h
- hw_host1x04_uclass.h
- hw_host1x05_channel.h
- hw_host1x05_sync.h
- hw_host1x05_uclass.h
- hw_host1x06_hypervisor.h
- hw_host1x06_uclass.h
- hw_host1x06_vm.h
- intr_hw.c
- syncpt_hw.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/gpu/host1x/hw/host1x02.c
C · 1,226 bytes/*
* Host1x init for Tegra114 SoCs
*
* Copyright (c) 2013 NVIDIA Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* include hw specification */
#include "host1x02.h"
#include "host1x02_hardware.h"
/* include code */
#define HOST1X_HW 2
#include "cdma_hw.c"
#include "channel_hw.c"
#include "debug_hw.c"
#include "intr_hw.c"
#include "syncpt_hw.c"
#include "../dev.h"
int host1x02_init(struct host1x *host)
{
host->channel_op = &host1x_channel_ops;
host->cdma_op = &host1x_cdma_ops;
host->cdma_pb_op = &host1x_pushbuffer_ops;
host->syncpt_op = &host1x_syncpt_ops;
host->intr_op = &host1x_intr_ops;
host->debug_op = &host1x_debug_ops;
return 0;
}