aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2024-10-07 07:28:44 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2024-10-07 07:28:44 +0200
commit96b0607302500ed201a7816282efbaa8f990aa33 (patch)
tree06356b47fe5be44acad2e5b947e23e5411f9d33a /arch
parentd26e9587252fdf4774a05e351b86d3a18c46384e (diff)
downloadbusybox-w32-96b0607302500ed201a7816282efbaa8f990aa33.tar.gz
busybox-w32-96b0607302500ed201a7816282efbaa8f990aa33.tar.bz2
busybox-w32-96b0607302500ed201a7816282efbaa8f990aa33.zip
ash: cache more of uid/gid syscalls
Testcase: setuidgid 1:1 strace ash -c 'test -x TODO; test -x TODO; echo $?' should show that second "test -x" does not query ids again. function old new delta ash_main 1236 1256 +20 get_cached_euid - 19 +19 get_cached_egid - 19 +19 test_main 56 72 +16 test_exec 119 135 +16 is_in_supplementary_groups 52 57 +5 nexpr 718 702 -16 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 4/1 up/down: 95/-16) Total: 79 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions