summaryrefslogtreecommitdiff
path: root/lib/fsm.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-12-25 23:00:44 +0000
committerjbj <devnull@localhost>2003-12-25 23:00:44 +0000
commit210183cc698151d970684325b5ac3a0aa98d0136 (patch)
treeec79405186e5668b5e24cc0511ad7144583364c9 /lib/fsm.h
parentf09888fc1a1597023b0a29a34c3f4f81f694898d (diff)
downloadrpm-210183cc698151d970684325b5ac3a0aa98d0136.tar.gz
rpm-210183cc698151d970684325b5ac3a0aa98d0136.tar.bz2
rpm-210183cc698151d970684325b5ac3a0aa98d0136.zip
Add lsetfilecon to install modes.
CVS patchset: 7006 CVS date: 2003/12/25 23:00:44
Diffstat (limited to 'lib/fsm.h')
-rw-r--r--lib/fsm.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/lib/fsm.h b/lib/fsm.h
index 6da9020df..c37c8d11c 100644
--- a/lib/fsm.h
+++ b/lib/fsm.h
@@ -54,18 +54,19 @@ typedef enum fileStage_e {
FSM_RENAME = _fs(34),
FSM_MKDIR = _fs(35),
FSM_RMDIR = _fs(36),
- FSM_CHOWN = _fs(37),
- FSM_LCHOWN = _fs(38),
- FSM_CHMOD = _fs(39),
- FSM_UTIME = _fs(40),
- FSM_SYMLINK = _fs(41),
- FSM_LINK = _fs(42),
- FSM_MKFIFO = _fs(43),
- FSM_MKNOD = _fs(44),
- FSM_LSTAT = _fs(45),
- FSM_STAT = _fs(46),
- FSM_READLINK= _fs(47),
- FSM_CHROOT = _fs(48),
+ FSM_LSETFCON= _fs(39),
+ FSM_CHOWN = _fs(40),
+ FSM_LCHOWN = _fs(41),
+ FSM_CHMOD = _fs(42),
+ FSM_UTIME = _fs(43),
+ FSM_SYMLINK = _fs(44),
+ FSM_LINK = _fs(45),
+ FSM_MKFIFO = _fs(46),
+ FSM_MKNOD = _fs(47),
+ FSM_LSTAT = _fs(48),
+ FSM_STAT = _fs(49),
+ FSM_READLINK= _fs(50),
+ FSM_CHROOT = _fs(51),
FSM_NEXT = _fd(65),
FSM_EAT = _fd(66),
@@ -188,6 +189,8 @@ struct fsm_s {
const char * fmd5sum; /*!< Hex MD5 sum (NULL disables). */
/*@shared@*/ /*@relnull@*/
const char * md5sum; /*!< Binary MD5 sum (NULL disables). */
+/*@dependent@*/ /*@observer@*/ /*@null@*/
+ const char * fcontext; /*!< File security context (NULL disables). */
unsigned fflags; /*!< File flags. */
fileAction action; /*!< File disposition. */