summaryrefslogtreecommitdiff
path: root/src/misc/syslog.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-08-31 15:44:58 -0400
committerRich Felker <dalias@aerifal.cx>2013-08-31 15:44:58 -0400
commit27b4923ba00f0a7511c7ebf5f19313d6313052e9 (patch)
tree30d54effafffe4e92f73aa91bb1dc5f5d25dbb1d /src/misc/syslog.c
parent9ff8ed463caa86cb5e81419d8eb3bfb56e90f03c (diff)
downloadmusl-27b4923ba00f0a7511c7ebf5f19313d6313052e9.tar.gz
make realpath use O_PATH when opening the file
this avoids failure if the file is not readable and avoids odd behavior for device nodes, etc. on old kernels that lack O_PATH, the old behavior (O_RDONLY) will naturally happen as the fallback.
Diffstat (limited to 'src/misc/syslog.c')
0 files changed, 0 insertions, 0 deletions