projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git]
/
lib
/
getfilecon.c
diff --git
a/lib/getfilecon.c
b/lib/getfilecon.c
index
ccd9fa5
..
2aa489e
100644
(file)
--- a/
lib/getfilecon.c
+++ b/
lib/getfilecon.c
@@
-1,5
+1,5
@@
/* wrap getfilecon, lgetfilecon, and fgetfilecon
/* wrap getfilecon, lgetfilecon, and fgetfilecon
- Copyright (C) 2009-201
1
Free Software Foundation, Inc.
+ Copyright (C) 2009-201
4
Free Software Foundation, Inc.
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
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
@@
-12,8
+12,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
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. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/* written by Jim Meyering */
/* written by Jim Meyering */
@@
-46,7
+45,7
@@
int fgetfilecon (int fd, security_context_t *con);
"unlabeled" context. Map both failures to a return value of -1, and
set errno to ENOTSUP in the first case, and ENODATA in the latter. */
"unlabeled" context. Map both failures to a return value of -1, and
set errno to ENOTSUP in the first case, and ENODATA in the latter. */
-static in
line in
t
+static int
map_to_failure (int ret, security_context_t *con)
{
if (ret == 0)
map_to_failure (int ret, security_context_t *con)
{
if (ret == 0)