blob: a5b946f284cd11d1cb384d5e00d22d2a02659c15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* Copyright (C) 2018 Samsung Electronics Co., Ltd.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _FSCRYPTO_SDP_XATTR_H
#define _FSCRYPTO_SDP_XATTR_H
#ifdef CONFIG_FSCRYPT_SDP
#include <linux/fs.h>
int fscrypt_sdp_get_context(struct inode *inode, void *ctx, size_t len);
int fscrypt_sdp_set_context(struct inode *inode, void *ctx, size_t len);
int fscrypt_sdp_set_context_nolock(struct inode *inode, void *ctx, size_t len);
#endif
#endif /* _FSCRYPTO_SDP_XATTR_H */
|