diff options
| author | Andrew G. Morgan <morgan@kernel.org> | 2020-06-29 19:18:54 -0700 |
|---|---|---|
| committer | Andrew G. Morgan <morgan@kernel.org> | 2020-06-29 19:18:54 -0700 |
| commit | 84956fbc567aadedc8bde03005cdf05652a4053a (patch) | |
| tree | 3481dfddf8d231585051a05c7e020a5bec39136d /libcap/cap_file.c | |
| parent | f1c3ac995d02d4f17b9d15656ab6d58f4c87435a (diff) | |
| download | libcap2-84956fbc567aadedc8bde03005cdf05652a4053a.tar.gz | |
Tidy up the comment related to the XATTR backup definitions.
We generally try not to use C++ style line comments.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'libcap/cap_file.c')
| -rw-r--r-- | libcap/cap_file.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libcap/cap_file.c b/libcap/cap_file.c index 3852b1e..3739883 100644 --- a/libcap/cap_file.c +++ b/libcap/cap_file.c @@ -27,7 +27,12 @@ extern int fsetxattr(int, const char *, const void *, size_t, int); extern int removexattr(const char *, const char *); extern int fremovexattr(int, const char *); -// This public API went private in the 2.6.36 kernel and above - hope it never changes +/* + * This public API was moved to include/uapi/linux/xattr.h . For just + * these definitions, it isn't really worth managing this in our build + * system with yet another copy of a header file. We just, provide + * fallback definitions here. + */ #ifndef XATTR_CAPS_SUFFIX #define XATTR_CAPS_SUFFIX "capability" #endif |
