mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
![]() The previous code using intmax_t failed to build on armhf because intmax_t was long long int instead of long int on that platform. As to shrinking down to a long: not only does SWIG lack a SWIG_AsVal_intmax_t, but aalogparse also assumes PIDs fit in a long by storing them as unsigned longs in aa_log_record. Thus, we can assume that sizeof(pid_t) <= sizeof(long) right now and deal with the big headache that a change to pid_t would cause if it becomes larger than a long in the future. Signed-off-by: Ryan Lee <ryan.lee@canonical.com> |
||
---|---|---|
.. | ||
libapparmor |