2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 18:17:09 +00:00

parser: drop unused map_xbits()

The map_xbits() is currently unused so drop it.

Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen 2025-07-30 17:05:56 -07:00
parent 0430080a16
commit 514bf114b2

View File

@ -163,12 +163,6 @@ static uint32_t map_other(uint32_t x)
((x & 0x60) << 19); /* SETOPT/GETOPT */ ((x & 0x60) << 19); /* SETOPT/GETOPT */
} }
static uint32_t map_xbits(uint32_t x)
{
return ((x & 0x1) << 7) |
((x & 0x7e) << 9);
}
struct aa_perms compute_perms_entry(uint32_t accept1, uint32_t accept2, struct aa_perms compute_perms_entry(uint32_t accept1, uint32_t accept2,
uint32_t accept3) uint32_t accept3)
// don't need to worry about version internally within the parser // don't need to worry about version internally within the parser