projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a457b0
)
Filter ENOTSUP lsetfilecon() to permit tmpfs mount on /dev/shm.
author
jbj
<devnull@localhost>
Sat, 6 Mar 2004 17:59:22 +0000
(17:59 +0000)
committer
jbj
<devnull@localhost>
Sat, 6 Mar 2004 17:59:22 +0000
(17:59 +0000)
CVS patchset: 7152
CVS date: 2004/03/06 17:59:22
lib/fsm.c
patch
|
blob
|
history
diff --git
a/lib/fsm.c
b/lib/fsm.c
index
48bce30
..
ba06b16
100644
(file)
--- a/
lib/fsm.c
+++ b/
lib/fsm.c
@@
-2182,7
+2182,7
@@
if (!(fsm->mapFlags & CPIO_ALL_HARDLINKS)) break;
rpmMessage(RPMMESS_DEBUG, " %8s (%s, %s) %s\n", cur,
fsm->path, fsm->fcontext,
(rc < 0 ? strerror(errno) : ""));
- if (rc < 0
)
rc = CPIOERR_LSETFCON_FAILED;
+ if (rc < 0
&& errno != ENOTSUP)
rc = CPIOERR_LSETFCON_FAILED;
break;
case FSM_CHOWN:
rc = chown(fsm->path, st->st_uid, st->st_gid);