xref: /linux/rust/helpers/cred.c (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <linux/cred.h>
4 
5 const struct cred *rust_helper_get_cred(const struct cred *cred)
6 {
7 	return get_cred(cred);
8 }
9 
10 void rust_helper_put_cred(const struct cred *cred)
11 {
12 	put_cred(cred);
13 }
14