cregit-Linux how code gets into the kernel

Release 4.7 security/apparmor/include/crypto.h

/*
 * AppArmor security module
 *
 * This file contains AppArmor policy loading interface function definitions.
 *
 * Copyright 2013 Canonical Ltd.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, version 2 of the
 * License.
 */

#ifndef __APPARMOR_CRYPTO_H

#define __APPARMOR_CRYPTO_H

#include "policy.h"

#ifdef CONFIG_SECURITY_APPARMOR_HASH
unsigned int aa_hash_size(void);
int aa_calc_profile_hash(struct aa_profile *profile, u32 version, void *start,
			 size_t len);
#else

static inline int aa_calc_profile_hash(struct aa_profile *profile, u32 version, void *start, size_t len) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
john johansenjohn johansen25100.00%1100.00%
Total25100.00%1100.00%


static inline unsigned int aa_hash_size(void) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
john johansenjohn johansen13100.00%1100.00%
Total13100.00%1100.00%

#endif #endif /* __APPARMOR_CRYPTO_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
john johansenjohn johansen84100.00%1100.00%
Total84100.00%1100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}