aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-07-17 11:03:13 -0400
committerMike Gilbert <floppym@gentoo.org>2023-08-03 20:20:37 -0400
commit0317bbe09fe23e4bd972ee254f14817def701731 (patch)
tree2a20bfab92c5aef7d090a7aac364a195b263f6a9 /tests
parentlibsandbox: skip checking access() without W_OK or R_OK mode (diff)
downloadsandbox-0317bbe09fe23e4bd972ee254f14817def701731.tar.gz
sandbox-0317bbe09fe23e4bd972ee254f14817def701731.tar.bz2
sandbox-0317bbe09fe23e4bd972ee254f14817def701731.zip
libsbutil: add sbio_faccessat and use it in sb_exists
sbio_faccessat allows libsbutil to access the unwrapped version of faccessat when called from libsandbox. Using faccessat in place of fstatat seems to give a small boost in performance. Pass AT_EACCESS faccessat to enable a faster path if uid != euid. Bug: https://bugs.gentoo.org/910273 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions