cred.c 256 B

12345678910111213
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <linux/cred.h>
  3. __rust_helper const struct cred *rust_helper_get_cred(const struct cred *cred)
  4. {
  5. return get_cred(cred);
  6. }
  7. __rust_helper void rust_helper_put_cred(const struct cred *cred)
  8. {
  9. put_cred(cred);
  10. }