/usr/share/man/man3/getmode.3.gz is in libbsd-dev 0.7.0-2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/man/man3/setmode.3.gz
/usr/share/man/man3/setmode.3.gz