-
Notifications
You must be signed in to change notification settings - Fork 0
/
delegates.h.in
74 lines (57 loc) · 1.95 KB
/
delegates.h.in
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*
* Delegation-related declations for cryptmount
* (C)Copyright 2006-2024, RW Penney
*/
/*
This file is part of cryptmount
cryptmount 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.
cryptmount 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, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _DELEGATES_H
#define _DELEGATES_H
/*! Default PATH to use when running subprocesses as root */
#define CM_DEFAULT_SUPATH "@CM_DEFAULT_SUPATH@"
/* Whether to use internal substitutes for mount(8) or umount(8): */
#ifndef ERSATZ_MOUNT
# define ERSATZ_MOUNT @ERSATZ_MOUNT@
#endif
#ifndef ERSATZ_UMOUNT
# define ERSATZ_UMOUNT @ERSATZ_UMOUNT@
#endif
/* whether to enable crypto-swap support: */
#ifndef WITH_CSWAP
# define WITH_CSWAP @WITH_CSWAP@
#endif
/* whether to automatically check filesystem before mounting: */
#ifndef WITH_FSCK
# define WITH_FSCK @WITH_FSCK@
#endif
#if !ERSATZ_MOUNT
/* path of mount(8), e.g. from util-linux package: */
# define DLGT_MOUNT "@PATH_MOUNT@"
#endif
#if !ERSATZ_UMOUNT
/* path of umount(8), e.g. from util-linux package: */
# define DLGT_UMOUNT "@PATH_UMOUNT@"
#endif
#if WITH_CSWAP
/* path of mkswap(8), e.g. from util-linux package: */
# define DLGT_MKSWAP "@PATH_MKSWAP@"
#endif
#if WITH_FSCK
/* path of fsck(8), e.g. from e2fsprogs package: */
# define DLGT_FSCK "@PATH_FSCK@"
#endif
#endif /* _DELEGATES_H */
/*
* (C)Copyright 2006-2023, RW Penney
*/