diff options
Diffstat (limited to 'sys/i386/linux/linux_sysvec.c')
| -rw-r--r-- | sys/i386/linux/linux_sysvec.c | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index 85877bf40997..14b5f64388d2 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -796,7 +796,7 @@ linux_vdso_reloc(char *mapping, Elf_Addr offset)  	}  } -static Elf_Brandnote linux_brandnote = { +static const Elf_Brandnote linux_brandnote = {  	.hdr.n_namesz	= sizeof(GNU_ABI_VENDOR),  	.hdr.n_descsz	= 16,	/* XXX at least 16 */  	.hdr.n_type	= 1, @@ -805,7 +805,7 @@ static Elf_Brandnote linux_brandnote = {  	.trans_osrel	= linux_trans_osrel  }; -static Elf32_Brandinfo linux_brand = { +static const Elf32_Brandinfo linux_brand = {  	.brand		= ELFOSABI_LINUX,  	.machine	= EM_386,  	.compat_3_brand	= "Linux", @@ -816,7 +816,7 @@ static Elf32_Brandinfo linux_brand = {  	.flags		= BI_CAN_EXEC_DYN | BI_BRAND_NOTE  }; -static Elf32_Brandinfo linux_glibc2brand = { +static const Elf32_Brandinfo linux_glibc2brand = {  	.brand		= ELFOSABI_LINUX,  	.machine	= EM_386,  	.compat_3_brand	= "Linux", @@ -827,7 +827,7 @@ static Elf32_Brandinfo linux_glibc2brand = {  	.flags		= BI_CAN_EXEC_DYN | BI_BRAND_NOTE  }; -static Elf32_Brandinfo linux_muslbrand = { +static const Elf32_Brandinfo linux_muslbrand = {  	.brand		= ELFOSABI_LINUX,  	.machine	= EM_386,  	.compat_3_brand	= "Linux", @@ -839,7 +839,7 @@ static Elf32_Brandinfo linux_muslbrand = {  			    LINUX_BI_FUTEX_REQUEUE  }; -Elf32_Brandinfo *linux_brandlist[] = { +const Elf32_Brandinfo *linux_brandlist[] = {  	&linux_brand,  	&linux_glibc2brand,  	&linux_muslbrand, @@ -849,7 +849,7 @@ Elf32_Brandinfo *linux_brandlist[] = {  static int  linux_elf_modevent(module_t mod, int type, void *data)  { -	Elf32_Brandinfo **brandinfo; +	const Elf32_Brandinfo **brandinfo;  	int error;  	struct linux_ioctl_handler **lihp; | 
