Skip to content
projects
/
linux
·
blob
master ·
refs
linux
rust
helpers
cred.c
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
13 lines · 256 B
1
//
SPDX-License-Identifier: GPL-2.0
2
3
#include
<
linux/cred.h
>
4
5
__rust_helper
const
struct
cred
*
rust_helper_get_cred
(
const
struct
cred
*
cred
)
6
{
7
return
get_cred
(
cred
)
;
8
}
9
10
__rust_helper
void
rust_helper_put_cred
(
const
struct
cred
*
cred
)
11
{
12
put_cred
(
cred
)
;
13
}