mayurdahibhate
3f86a011e6
platform-dependent files included relative to main source directory
5 years ago
mayurdahibhate
1b74dfe187
cleaned up includes with iwyu
5 years ago
Christian Göttsche
9c437ceb0c
Drop unused attributes of actually used function parameters
...
These parameters were once unused, but not anymore.
5 years ago
Christian Göttsche
2d1042adb3
Save text buffer in Meter
5 years ago
Christian Göttsche
960f52b783
SELinuxMeter: hardcode SELINUX_MAGIC value
...
Avoid <linux/magic.h> include, not found by musl-gcc.
The value of SELINUX_MAGIC should really never change.
5 years ago
Christian Göttsche
05969998c1
SELinuxMeter: silence comparison warning on 32-bit
...
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: 7df27b78e9/libselinux/src/init.c (L40)
5 years ago
Christian Göttsche
e1ce141bc3
Use size_t as len type for Meter_UpdateValues
...
Most of the time the parameter is passed to snprintf type functions
5 years ago
Christian Göttsche
7ba25aa3c4
IWYU update
5 years ago
Christian Göttsche
bc16fa037f
Convert personal copyright authorship to team
5 years ago
Christian Göttsche
f7a8952933
Add xReadfile wrapper for reading small to medium size files
...
Inspired by proposed Linux syscall
Avoid file descriptor leaks like 4af8c63f
5 years ago
Benny Baumann
45869513bf
Embracing branches
5 years ago
Benny Baumann
0f5262917f
Make all required includes explicit
...
Information as seen by IWYU 0.12 + clang 9 on Linux
5 years ago
Christian Göttsche
d744dac7ee
Add SELinuxMeter
5 years ago