summaryrefslogtreecommitdiffstats
path: root/linux/SELinuxMeter.c
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* platform-dependent files included relative to main source directorymayurdahibhate2021-05-101-1/+1
|
* cleaned up includes with iwyumayurdahibhate2021-05-101-1/+1
|
* Drop unused attributes of actually used function parametersChristian Göttsche2021-03-241-1/+1
| | | | These parameters were once unused, but not anymore.
* Save text buffer in MeterChristian Göttsche2021-03-041-2/+2
|
* SELinuxMeter: hardcode SELINUX_MAGIC valueChristian Göttsche2021-01-111-2/+1
| | | | | Avoid <linux/magic.h> include, not found by musl-gcc. The value of SELINUX_MAGIC should really never change.
* SELinuxMeter: silence comparison warning on 32-bitChristian Göttsche2020-12-071-1/+1
| | | | | | | | | 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
* Use size_t as len type for Meter_UpdateValuesChristian Göttsche2020-12-061-1/+1
| | | | Most of the time the parameter is passed to snprintf type functions
* IWYU updateChristian Göttsche2020-12-061-1/+0
|
* Convert personal copyright authorship to teamChristian Göttsche2020-12-041-1/+1
|
* Add xReadfile wrapper for reading small to medium size filesChristian Göttsche2020-12-021-10/+3
| | | | | | Inspired by proposed Linux syscall Avoid file descriptor leaks like 4af8c63f
* Embracing branchesBenny Baumann2020-11-021-7/+14
|
* Make all required includes explicitBenny Baumann2020-10-181-4/+8
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Add SELinuxMeterChristian Göttsche2020-10-161-0/+91

© 2014-2024 Faster IT GmbH | imprint | privacy policy