arm, arm64: check for number of arguments in syscall_get/set_arguments()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v11 patch 0 repliesSuperseded
Changes from the cover letter
* added a patch to arm as well
* added a patch to asm-generic/syscall.h; corrected the description on syscall_get_arguments() and syscall_put_arguments()
* removed portion of commit message which referred to asm-generic/syscall.h in arm64
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm64: check for number of arguments in syscall_get/set_arguments()arch/ | +6 | 1 reply | |
| 2/3 | arm: check for number of arguments in syscall_get/set_arguments()arch/ | +6 | 1 reply | |
| 3/3 | asm-generic: syscall_get/set_arguments accept zero for number of argumentsinclude/ | +2 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Will Deacon |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] arm, arm64: check for number of arguments in syscall_get/set_arguments()
# added Roland <mcgrathr@chromium> in CC for asm-generic/syscall.h
I modified my patch based on Will's comments.
Speaking of arm, i + n is checked against SYSCALL_MAX_ARGS (== 7), but it seems that the kernel code assumes that the current max number of arguments would be 6. For example, SYSCALL_DEFINEn are defined from 0 to 6. Am i wrong?
Changes:
* added a patch to arm as well
* added a patch to asm-generic/syscall.h; corrected the description on syscall_get_arguments() and syscall_put_arguments()
* removed portion of commit message which referred to asm-generic/syscall.h in arm64
AKASHI Takahiro (3):
arm64: check for number of arguments in syscall_get/set_arguments()
arm: check for number of arguments in syscall_get/set_arguments()
asm-generic: syscall_get/set_arguments accept zero for number of
arguments
arch/arm/include/asm/syscall.h | 6 ++++++ arch/arm64/include/asm/syscall.h | 6 ++++++ include/asm-generic/syscall.h | 4 ++-- 3 files changed, 14 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.5