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 files17
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- include/
- ss/
- .gitignore
- Kconfig
- Makefile
- avc.c
- exports.c
- hooks.c
- ibpkey.c
- netif.c
- netlabel.c
- netlink.c
- netnode.c
- netport.c
- nlmsgtab.c
- selinuxfs.c
- xfrm.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
security/selinux/exports.c
C · 709 bytes/*
* SELinux services exported to the rest of the kernel.
*
* Author: James Morris <[email protected]>
*
* Copyright (C) 2005 Red Hat, Inc., James Morris <[email protected]>
* Copyright (C) 2006 Trusted Computer Solutions, Inc. <[email protected]>
* Copyright (C) 2006 IBM Corporation, Timothy R. Chavez <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*/
#include <linux/module.h>
#include <linux/selinux.h>
#include "security.h"
bool selinux_is_enabled(void)
{
return selinux_enabled;
}
EXPORT_SYMBOL_GPL(selinux_is_enabled);