summaryrefslogtreecommitdiff
path: root/lib/fsm.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-01-13 11:36:28 +0200
committerPanu Matilainen <pmatilai@redhat.com>2012-01-13 11:36:28 +0200
commit62c76542799ecc89ede86f2a572e5356b84829b9 (patch)
tree619654db04a2c059e2693c2f093e8d3aea7ea530 /lib/fsm.h
parentd4b8acc5d3f57944ee44a18c2d5e98ad7b24c31d (diff)
downloadlibrpm-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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/fsm.h b/lib/fsm.h
index 331520d66..2f91fb5c0 100644
--- a/lib/fsm.h
+++ b/lib/fsm.h
@@ -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. */