diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-01-13 11:36:28 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-01-13 11:36:28 +0200 |
commit | 62c76542799ecc89ede86f2a572e5356b84829b9 (patch) | |
tree | 619654db04a2c059e2693c2f093e8d3aea7ea530 /lib/fsm.h | |
parent | d4b8acc5d3f57944ee44a18c2d5e98ad7b24c31d (diff) | |
download | librpm-tizen-62c76542799ecc89ede86f2a572e5356b84829b9.tar.gz librpm-tizen-62c76542799ecc89ede86f2a572e5356b84829b9.tar.bz2 librpm-tizen-62c76542799ecc89ede86f2a572e5356b84829b9.zip |
Sanitize file capability setting in fsm
- Move parsing, setting and freeing of capabilities into simple
helper function, there's no point whatsoever having the current
capability stored in fsm when it only complicates freeing and all.
WTH was I thinking when implementing this? (well, everything in
fsm was done that way so... but that's a lame excuse)
Diffstat (limited to 'lib/fsm.h')
-rw-r--r-- | lib/fsm.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -147,7 +147,6 @@ struct fsm_s { const char * baseName; /*!< File base name. */ const unsigned char * digest; /*!< Binary digest (NULL disables). */ struct selabel_handle *sehandle; /*!< SELinux label handle (if any). */ - void *fcaps; /*!< File capabilities */ pgpHashAlgo digestalgo; /*!< File digest algorithm */ unsigned fflags; /*!< File flags. */ |