2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 01:57:43 +00:00

31 lines
872 B
Plaintext
Raw Normal View History

#------------------------------------------------------------------
# Copyright (C) 2025 Canonical Ltd.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#------------------------------------------------------------------
# vim: ft=apparmor
#
abi <abi/4.0>,
include <tunables/global>
profile ssh-keyscan /usr/bin/ssh-keyscan {
include <abstractions/base>
include <abstractions/nameservice-strict>
network inet dgram,
network inet6 dgram,
network inet stream,
network inet6 stream,
network netlink raw,
# Allow executable mapping and read for the binary
file mr /usr/bin/ssh-keyscan,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/ssh-keyscan>
}