Source: readahead-fedora
Version: 2:1.5.6-5.2

It failed to build on arm64:

http://buildd.debian.org/status/package.php?p=readahead-fedora&suite=sid

The error was:

readahead-collector.c: In function 'parse_events':
readahead-collector.c:1081:21: error: '__NR_open' undeclared (first use in this 
function)
      else if (nr == __NR_open &&
                     ^

On more recent architectures there is no system call "open"; "openat"
is used instead. There seems to already be code for auditing openat
(see changelog) so fixing this is perhaps as simple as bracketing that
piece of code with #ifdef __NR_open ... #endif.

However, perhaps "openat" ought to be handled here in parse_events in
the same way as "open" is handled. In that case, another branch,
conditional on __NR_openat, should be added for the benefit of all
architectures (most have "open" and "openat").


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to