hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/security/apparmor/include/domain.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AppArmor security module
34 *
....@@ -5,11 +6,6 @@
56 *
67 * Copyright (C) 1998-2008 Novell/SUSE
78 * Copyright 2009-2010 Canonical Ltd.
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU General Public License as
11
- * published by the Free Software Foundation, version 2 of the
12
- * License.
139 */
1410
1511 #include <linux/binfmts.h>
....@@ -34,7 +30,7 @@
3430 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex,
3531 const char **name);
3632
37
-int apparmor_bprm_set_creds(struct linux_binprm *bprm);
33
+int apparmor_bprm_creds_for_exec(struct linux_binprm *bprm);
3834
3935 void aa_free_domain_entries(struct aa_domain *domain);
4036 int aa_change_hat(const char *hats[], int count, u64 token, int flags);