projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0de6405
)
Avoid trying to set "<<none>>" file context.
author
jbj
<devnull@localhost>
Sat, 10 Jan 2004 18:48:19 +0000
(18:48 +0000)
committer
jbj
<devnull@localhost>
Sat, 10 Jan 2004 18:48:19 +0000
(18:48 +0000)
CVS patchset: 7073
CVS date: 2004/01/10 18:48:19
lib/fsm.c
patch
|
blob
|
history
diff --git
a/lib/fsm.c
b/lib/fsm.c
index
7e0d5a1
..
a5e1b63
100644
(file)
--- a/
lib/fsm.c
+++ b/
lib/fsm.c
@@
-2152,7
+2152,8
@@
if (!(fsm->mapFlags & CPIO_ALL_HARDLINKS)) break;
}
break;
case FSM_LSETFCON:
- if (fsm->fcontext == NULL || *fsm->fcontext == '\0')
+ if (fsm->fcontext == NULL || *fsm->fcontext == '\0'
+ || !strcmp(fsm->fcontext, "<<none>>"))
break;
rc = lsetfilecon(fsm->path, (security_context_t)fsm->fcontext);
if (_fsm_debug && (stage & FSM_SYSCALL))