file.h (53bdc46f4bdd20d477afb374767cabe627fd04ae) | file.h (33fc95d8293cfca352ac875668857293e22d7d51) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * AppArmor security module 4 * 5 * This file contains AppArmor file mediation function definitions. 6 * 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. --- 152 unchanged lines hidden (view full) --- 161 dfa_map_xindex((ACCEPT_TABLE(dfa)[state] >> 14) & 0x3fff) 162 163int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, 164 const char *op, u32 request, const char *name, 165 const char *target, struct aa_label *tlabel, kuid_t ouid, 166 const char *info, int error); 167 168struct aa_perms *aa_lookup_fperms(struct aa_policydb *file_rules, | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * AppArmor security module 4 * 5 * This file contains AppArmor file mediation function definitions. 6 * 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. --- 152 unchanged lines hidden (view full) --- 161 dfa_map_xindex((ACCEPT_TABLE(dfa)[state] >> 14) & 0x3fff) 162 163int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, 164 const char *op, u32 request, const char *name, 165 const char *target, struct aa_label *tlabel, kuid_t ouid, 166 const char *info, int error); 167 168struct aa_perms *aa_lookup_fperms(struct aa_policydb *file_rules, |
169 unsigned int state, struct path_cond *cond); 170unsigned int aa_str_perms(struct aa_policydb *file_rules, unsigned int start, 171 const char *name, struct path_cond *cond, 172 struct aa_perms *perms); | 169 aa_state_t state, struct path_cond *cond); 170aa_state_t aa_str_perms(struct aa_policydb *file_rules, aa_state_t start, 171 const char *name, struct path_cond *cond, 172 struct aa_perms *perms); |
173 174int __aa_path_perm(const char *op, struct aa_profile *profile, 175 const char *name, u32 request, struct path_cond *cond, 176 int flags, struct aa_perms *perms); 177int aa_path_perm(const char *op, struct aa_label *label, 178 const struct path *path, int flags, u32 request, 179 struct path_cond *cond); 180 --- 37 unchanged lines hidden --- | 173 174int __aa_path_perm(const char *op, struct aa_profile *profile, 175 const char *name, u32 request, struct path_cond *cond, 176 int flags, struct aa_perms *perms); 177int aa_path_perm(const char *op, struct aa_label *label, 178 const struct path *path, int flags, u32 request, 179 struct path_cond *cond); 180 --- 37 unchanged lines hidden --- |