s390: wire up bpf syscall
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
		
					parent
					
						
							
								66e9bbdb3d
							
						
					
				
			
			
				commit
				
					
						fcb1c2d75b
					
				
			
		
					 3 changed files with 4 additions and 1 deletions
				
			
		|  | @ -286,7 +286,8 @@ | ||||||
| #define __NR_seccomp		348 | #define __NR_seccomp		348 | ||||||
| #define __NR_getrandom		349 | #define __NR_getrandom		349 | ||||||
| #define __NR_memfd_create	350 | #define __NR_memfd_create	350 | ||||||
| #define NR_syscalls 351 | #define __NR_bpf		351 | ||||||
|  | #define NR_syscalls 352 | ||||||
| 
 | 
 | ||||||
| /* 
 | /* 
 | ||||||
|  * There are some system calls that are not present on 64 bit, some |  * There are some system calls that are not present on 64 bit, some | ||||||
|  |  | ||||||
|  | @ -217,3 +217,4 @@ COMPAT_SYSCALL_WRAP5(renameat2, int, olddfd, const char __user *, oldname, int, | ||||||
| COMPAT_SYSCALL_WRAP3(seccomp, unsigned int, op, unsigned int, flags, const char __user *, uargs) | COMPAT_SYSCALL_WRAP3(seccomp, unsigned int, op, unsigned int, flags, const char __user *, uargs) | ||||||
| COMPAT_SYSCALL_WRAP3(getrandom, char __user *, buf, size_t, count, unsigned int, flags) | COMPAT_SYSCALL_WRAP3(getrandom, char __user *, buf, size_t, count, unsigned int, flags) | ||||||
| COMPAT_SYSCALL_WRAP2(memfd_create, const char __user *, uname, unsigned int, flags) | COMPAT_SYSCALL_WRAP2(memfd_create, const char __user *, uname, unsigned int, flags) | ||||||
|  | COMPAT_SYSCALL_WRAP3(bpf, int, cmd, union bpf_attr *, attr, unsigned int, size); | ||||||
|  |  | ||||||
|  | @ -359,3 +359,4 @@ SYSCALL(sys_renameat2,sys_renameat2,compat_sys_renameat2) | ||||||
| SYSCALL(sys_seccomp,sys_seccomp,compat_sys_seccomp) | SYSCALL(sys_seccomp,sys_seccomp,compat_sys_seccomp) | ||||||
| SYSCALL(sys_getrandom,sys_getrandom,compat_sys_getrandom) | SYSCALL(sys_getrandom,sys_getrandom,compat_sys_getrandom) | ||||||
| SYSCALL(sys_memfd_create,sys_memfd_create,compat_sys_memfd_create) /* 350 */ | SYSCALL(sys_memfd_create,sys_memfd_create,compat_sys_memfd_create) /* 350 */ | ||||||
|  | SYSCALL(sys_bpf,sys_bpf,compat_sys_bpf) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Heiko Carstens
				Heiko Carstens