mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 10:00:07 +01:00
We want to log pointer values to indicate the related parties of a log message. But we should not, because plain pointer values can be used to defeat ASLR. Instead, we have nm_hash_obfuscate_ptr() to managle a pointer and give a distinct (albeit not 100% unique) 64 bit integer for logging. But for the logging messages to be meaning-full, all related parties must use the same static-seed. Add a macro NM_HASH_OBFUSCATE_PTR() that uses a particular seed. |
||
|---|---|---|
| .. | ||
| c-list | ||
| c-rbtree | ||
| c-siphash | ||
| c-stdaux | ||
| n-acd | ||
| nm-glib-aux | ||
| nm-libnm-core-aux | ||
| nm-libnm-core-intern | ||
| nm-std-aux | ||
| nm-udev-aux | ||
| nm-utils | ||
| systemd | ||
| meson.build | ||
| nm-default.h | ||
| nm-meta-setting.c | ||
| nm-meta-setting.h | ||
| nm-test-libnm-utils.h | ||
| nm-test-utils-impl.c | ||
| nm-version-macros.h.in | ||