diff options
author | Li Qiang <pangpei.lq@antfin.com> | 2019-04-09 14:56:04 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-04-09 14:57:05 -0700 |
commit | b3b140ea4f9e1b632463cbf83c97f58464eceeac (patch) | |
tree | 71dbeb07f58aba6b9494ad6e67765f75f2a294bd /CODE_OF_CONDUCT.md | |
parent | 93b3c9b76c16104cbb5cc55b6f2339cb43c356b5 (diff) |
syscalls: sendfile: limit the count to MAX_RW_COUNT
From sendfile spec and also the linux kernel code, we should
limit the count arg to 'MAX_RW_COUNT'. This patch export
'MAX_RW_COUNT' in kernel pkg and use it in the implementation
of sendfile syscall.
Signed-off-by: Li Qiang <pangpei.lq@antfin.com>
Change-Id: I1086fec0685587116984555abd22b07ac233fbd2
PiperOrigin-RevId: 242745831
Diffstat (limited to 'CODE_OF_CONDUCT.md')
0 files changed, 0 insertions, 0 deletions