policy_unpack.c (6b7781b42dc9bc9bcd1523b6c24b876cdda0bef3) | policy_unpack.c (26fccd9ed2e283add2849858c28bd14f84d9c48e) |
---|---|
1/* 2 * AppArmor security module 3 * 4 * This file contains AppArmor functions for unpacking policy loaded from 5 * userspace. 6 * 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. 9 * 10 * This program is free software; you can redistribute it and/or 11 * modify it under the terms of the GNU General Public License as 12 * published by the Free Software Foundation, version 2 of the 13 * License. 14 * 15 * AppArmor uses a serialized binary format for loading policy. To find | 1/* 2 * AppArmor security module 3 * 4 * This file contains AppArmor functions for unpacking policy loaded from 5 * userspace. 6 * 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. 9 * 10 * This program is free software; you can redistribute it and/or 11 * modify it under the terms of the GNU General Public License as 12 * published by the Free Software Foundation, version 2 of the 13 * License. 14 * 15 * AppArmor uses a serialized binary format for loading policy. To find |
16 * policy format documentation look in Documentation/security/apparmor.txt | 16 * policy format documentation see Documentation/admin-guide/LSM/apparmor.rst |
17 * All policy is validated before it is used. 18 */ 19 20#include <asm/unaligned.h> 21#include <linux/ctype.h> 22#include <linux/errno.h> 23 24#include "include/apparmor.h" --- 907 unchanged lines hidden --- | 17 * All policy is validated before it is used. 18 */ 19 20#include <asm/unaligned.h> 21#include <linux/ctype.h> 22#include <linux/errno.h> 23 24#include "include/apparmor.h" --- 907 unchanged lines hidden --- |