summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Andrei Homescu <ahomescu@google.com> 2022-06-09 02:04:44 +0000
committer Andrei Homescu <ahomescu@google.com> 2022-06-11 02:08:26 +0000
commit1519b984526ba70e1560d95a91134ec82068512d (patch)
tree4181a2ca3de05643ef0a2ba4e3df583bb3186577 /libs/input/KeyLayoutMap.cpp
parent34f8fc859a9ee567f5b6c84921e23f228dc79703 (diff)
libbinder: remove gMaxFds from Parcel
libbinder uses getrlimit to get the maximum number of file descriptors and uses that limit to validate Flattenables. This syscall is specific to Linux and Mac OS, so this patch removes it and the gMaxFds variable. Parcel operations for Flattenables with too many fds should fail anyway when duplicating the descriptors using fcntl. This adds a test to binderLibTest for that case. Bug: 224644083 Test: atest binderLibTest Change-Id: I7e969180c165c7ebed74c8a97098eb2265e0305c
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions