[PATCH] D54041: Split getpwent and fgetgrent functions in interceptors
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 2 11:13:00 PDT 2018
krytarowski created this revision.
krytarowski added reviewers: vitalybuka, joerg.
krytarowski added a project: Sanitizers.
Herald added subscribers: llvm-commits, fedor.sergeev, kubamracek, srhines.
NetBSD does not ship with fgetpwent_r() and fgetgrent_r().
Split their interceptors from getpwent_r() and getgrent_r()
and disable for this OS.
Installation of supernumerary interceptors causes leaking of
errors to dlsym(3)-like operations.
No functional change for other OSes.
Repository:
rL LLVM
https://reviews.llvm.org/D54041
Files:
lib/sanitizer_common/sanitizer_common_interceptors.inc
lib/sanitizer_common/sanitizer_platform_interceptors.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54041.172401.patch
Type: text/x-patch
Size: 4606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181102/7f925bae/attachment.bin>
More information about the llvm-commits
mailing list