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 files75
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- blocklayout/
- filelayout/
- flexfilelayout/
- Kconfig
- Makefile
- cache_lib.c
- cache_lib.h
- callback.c
- callback.h
- callback_proc.c
- callback_xdr.c
- client.c
- delegation.c
- delegation.h
- dir.c
- direct.c
- dns_resolve.c
- dns_resolve.h
- export.c
- file.c
- fscache-index.c
- fscache.c
- fscache.h
- getroot.c
- inode.c
- internal.h
- io.c
- iostat.h
- mount_clnt.c
- namespace.c
- netns.h
- nfs.h
- nfs2super.c
- nfs2xdr.c
- nfs3_fs.h
- nfs3acl.c
- nfs3client.c
- nfs3proc.c
- nfs3super.c
- nfs3xdr.c
- nfs42.h
- nfs42proc.c
- nfs42xdr.c
- nfs4_fs.h
- nfs4client.c
- nfs4file.c
- nfs4getroot.c
- nfs4idmap.c
- nfs4idmap.h
- nfs4namespace.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
fs/nfs/dns_resolve.h
Text · 851 bytes/* SPDX-License-Identifier: GPL-2.0 */
/*
* Resolve DNS hostnames into valid ip addresses
*/
#ifndef __LINUX_FS_NFS_DNS_RESOLVE_H
#define __LINUX_FS_NFS_DNS_RESOLVE_H
#define NFS_DNS_HOSTNAME_MAXLEN (128)
#ifdef CONFIG_NFS_USE_KERNEL_DNS
static inline int nfs_dns_resolver_init(void)
{
return 0;
}
static inline void nfs_dns_resolver_destroy(void)
{}
static inline int nfs_dns_resolver_cache_init(struct net *net)
{
return 0;
}
static inline void nfs_dns_resolver_cache_destroy(struct net *net)
{}
#else
extern int nfs_dns_resolver_init(void);
extern void nfs_dns_resolver_destroy(void);
extern int nfs_dns_resolver_cache_init(struct net *net);
extern void nfs_dns_resolver_cache_destroy(struct net *net);
#endif
extern ssize_t nfs_dns_resolve_name(struct net *net, char *name,
size_t namelen, struct sockaddr *sa, size_t salen);
#endif