Skip to content
This repository was archived by the owner on Nov 5, 2019. It is now read-only.

Commit b3a3169

Browse files
thestingerSkewedZeppelin
authored andcommitted
disable brk system call
1 parent 5e30710 commit b3a3169

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/arm64/include/asm/unistd32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ __SYSCALL(__NR_times, compat_sys_times)
112112
/* 44 was sys_prof */
113113
__SYSCALL(44, sys_ni_syscall)
114114
#define __NR_brk 45
115-
__SYSCALL(__NR_brk, sys_brk)
115+
__SYSCALL(__NR_brk, sys_ni_syscall)
116116
#define __NR_setgid 46
117117
__SYSCALL(__NR_setgid, sys_setgid16)
118118
#define __NR_getgid 47

include/uapi/asm-generic/unistd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ __SC_COMP(__NR_readahead, sys_readahead, compat_sys_readahead)
584584

585585
/* mm/nommu.c, also with MMU */
586586
#define __NR_brk 214
587-
__SYSCALL(__NR_brk, sys_brk)
587+
__SYSCALL(__NR_brk, sys_ni_syscall)
588588
#define __NR_munmap 215
589589
__SYSCALL(__NR_munmap, sys_munmap)
590590
#define __NR_mremap 216

0 commit comments

Comments
 (0)