diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-10-05 01:30:43 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-10-05 01:30:43 +0200 |
commit | 3f8999a76e1320bfd4e601d4d88635ef026a67e2 (patch) | |
tree | c2fbc79e564a838aa84f930c822482fdc6050509 /src/coredump | |
parent | various: correct laccess() error check (diff) | |
download | systemd-3f8999a76e1320bfd4e601d4d88635ef026a67e2.tar.xz systemd-3f8999a76e1320bfd4e601d4d88635ef026a67e2.zip |
fs-util: rename laccess to access_nofollow
In order to distinguish it from libc function naming.
Diffstat (limited to 'src/coredump')
-rw-r--r-- | src/coredump/coredump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coredump/coredump.c b/src/coredump/coredump.c index 0da4a531f7..722b5b7529 100644 --- a/src/coredump/coredump.c +++ b/src/coredump/coredump.c @@ -1525,7 +1525,7 @@ static int forward_coredump_to_container(Context *context) { pair[0] = safe_close(pair[0]); - r = laccess("/run/systemd/coredump", W_OK); + r = access_nofollow("/run/systemd/coredump", W_OK); if (r < 0) { log_debug_errno(r, "Cannot find coredump socket, exiting: %m"); _exit(EXIT_FAILURE); |