summaryrefslogtreecommitdiff
path: root/lib/cpio.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-10-29 11:49:38 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-10-29 11:49:38 +0200
commit97ab15cc9eadc1aab563b87a0c92d559cd9e9a41 (patch)
treef0bfcae2120475b36a4fe451b95ad3b083bac2a0 /lib/cpio.c
parenta792c55ffae23f483121401fe4ca6724abc57bb5 (diff)
downloadlibrpm-tizen-97ab15cc9eadc1aab563b87a0c92d559cd9e9a41.tar.gz
librpm-tizen-97ab15cc9eadc1aab563b87a0c92d559cd9e9a41.tar.bz2
librpm-tizen-97ab15cc9eadc1aab563b87a0c92d559cd9e9a41.zip
Add fsm and rpmfi machinery for file capabilities
- new rpmfiFCaps() API to retrieve the info from rpmfi set - fsm internals quite similar to selinux handling - plenty of #ifdef's, another possibility would be adding cap_foo dummies to system.h like for selinux
Diffstat (limited to 'lib/cpio.c')
-rw-r--r--lib/cpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cpio.c b/lib/cpio.c
index f45644b21..d4265d3b7 100644
--- a/lib/cpio.c
+++ b/lib/cpio.c
@@ -209,6 +209,7 @@ const char * cpioStrerror(int rc)
case CPIOERR_READ_FAILED: s = "read"; break;
case CPIOERR_COPY_FAILED: s = "copy"; break;
case CPIOERR_LSETFCON_FAILED: s = "lsetfilecon"; break;
+ case CPIOERR_SETCAP_FAILED: s = "cap_set_file"; break;
case CPIOERR_HDR_SIZE: s = _("Header size too big"); break;
case CPIOERR_UNKNOWN_FILETYPE: s = _("Unknown file type"); break;