mirror of
				https://github.com/choff/anbox-modules.git
				synced 2025-11-04 07:42:37 +08:00 
			
		
		
		
	fixed build on 6.5.9 on Opensuse Tumbleweed
This commit is contained in:
		
							parent
							
								
									205c8037e6
								
							
						
					
					
						commit
						180f370064
					
				@ -390,7 +390,8 @@ static int ashmem_mmap(struct file *file, struct vm_area_struct *vma)
 | 
				
			|||||||
		ret = -EPERM;
 | 
							ret = -EPERM;
 | 
				
			||||||
		goto out;
 | 
							goto out;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	vma->vm_flags &= ~calc_vm_may_flags(~asma->prot_mask);
 | 
						vma->vm_flags;
 | 
				
			||||||
 | 
						 ~calc_vm_may_flags(~asma->prot_mask);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (!asma->file) {
 | 
						if (!asma->file) {
 | 
				
			||||||
		char *name = ASHMEM_NAME_DEF;
 | 
							char *name = ASHMEM_NAME_DEF;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user