summaryrefslogtreecommitdiff
path: root/src/shm.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2023-07-17 18:50:03 +0100
committerPhil Jones <philj56@gmail.com>2023-07-17 18:50:03 +0100
commite918dd42ecd6ebdfa2a6d7726bc6e4dafc654f31 (patch)
tree352b641509440e85790458f2f329128d8370544a /src/shm.h
parent9a808337312efdf607e33c351fd72e7a95821f12 (diff)
Use `access()` to check execute permissions.
This is the correct way to check if we have execute permissions for a file (rather than checking `S_IXUSR`), and it isn't any slower. Should result in very few differences (on my system, only `cupsd` disappears from the list with this change).
Diffstat (limited to 'src/shm.h')
0 files changed, 0 insertions, 0 deletions