]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
Improve seccomp compat on older systems.
authorDarren Tucker <dtucker@dtucker.net>
Sat, 11 Feb 2023 01:32:19 +0000 (12:32 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Sat, 11 Feb 2023 01:32:19 +0000 (12:32 +1100)
commitd9685121ff6d57b8797411f3cb123884a4b96e30
tree9016b39de20075b277140a786bc54502c2064a1c
parent6180b0fa4f7996687678702806257e661fd5931e
Improve seccomp compat on older systems.

Check if flags to mmap and madvise are defined before using them.
Should fix problems building on older Linux systems that don't have
these.  bz#3537, with & ok djm@.
sandbox-seccomp-filter.c