Age | Commit message (Collapse) | Author |
|
Avoid <linux/magic.h> include, not found by musl-gcc.
The value of SELINUX_MAGIC should really never change.
|
|
linux/SELinuxMeter.c: In function ‘hasSELinuxMount’:
linux/SELinuxMeter.c:38:21: warning: comparison of integer expressions of different signedness: ‘__fsword_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
38 | if (sfbuf.f_type != SELINUX_MAGIC) {
| ^~
Origin: https://github.com/SELinuxProject/selinux/blob/7df27b78e9eecbe65a57cdfefb9e51f547231b20/libselinux/src/init.c#L40
|
|
Most of the time the parameter is passed to snprintf type functions
|
|
|
|
|
|
Inspired by proposed Linux syscall
Avoid file descriptor leaks like 4af8c63f
|
|
|
|
Information as seen by IWYU 0.12 + clang 9 on Linux
|
|
|