#!/bin/sh
# description: produce callgraphs in short form for scripting use
perf script -s "$PERF_EXEC_PATH"/scripts/python/stackcollapse.py -- "$@"
0xinfinity.dev/distro/kernel/'/>
2018-10-03T13:18:17Zapparmor: Add a wildcard secid2018-10-03T13:18:17ZMatthew Garrettmjg59@google.com2018-05-24T20:27:45Zurn:sha1:617a629c08bfffb05249131079d9a38322902e5b
Reserve a secid value that we can use as a wildcard, allowing us to
define policy that's expected to match against all secids.
Signed-off-by: Matthew Garrett <mjg59@google.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
apparmor: fixup secid map conversion to using IDR2018-06-07T08:50:49ZJohn Johansenjohn.johansen@canonical.com2018-06-05T02:44:59Zurn:sha1:a4c3f89c9b5a9fab5a8e4ea05399acd6e23072df
The IDR conversion did not handle an error case for when allocating a
mapping fails, and it did not ensure that mappings did not allocate or
use a 0 value, which is used as an invalid secid. Which is used when a
mapping fails.
Fixes: 3ae7eb49a2be ("apparmor: Use an IDR to allocate apparmor secids")
Signed-off-by: John Johansen <john.johansen@canonical.com>
apparmor: add support for mapping secids and using secctxes2018-05-02T07:48:55ZJohn Johansenjohn.johansen@canonical.com2017-08-01T00:36:45Zurn:sha1:c092921219d227b13cb80dbecd3545ee66ab89b3
Use a radix tree to provide a map between the secid and the label,
and along with it a basic ability to provide secctx conversion.
Shared/cached secctx will be added later.
Signed-off-by: John Johansen <john.johansen@canonical.com>
apparmor: rename sid to secid2017-01-16T08:42:17ZJohn Johansenjohn.johansen@canonical.com2017-01-16T08:42:17Zurn:sha1:121d4a91e3c12ddfb167edafb9aa64cc5cc3a406
Move to common terminology with other LSMs and kernel infrastucture
Signed-off-by: John Johansen <john.johansen@canonical.com>