From bea918bb7741d0e4b3f8ba134014bdfdd4214ce4 Mon Sep 17 00:00:00 2001 From: jbj Date: Mon, 22 Dec 2003 07:47:45 +0000 Subject: Add --filecontext, --fscontext, --recontext for 3 sources of security contexts. CVS patchset: 6994 CVS date: 2003/12/22 07:47:45 --- rpmpopt.in | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'rpmpopt.in') diff --git a/rpmpopt.in b/rpmpopt.in index edbaa9acd..287ee8d66 100644 --- a/rpmpopt.in +++ b/rpmpopt.in @@ -92,6 +92,15 @@ rpm alias --fileclass --qf '[%{FILENAMES}\t%{FILECLASS}\n]' \ rpm alias --filecolor --qf '[%{FILENAMES}\t%{FILECOLORS}\n]' \ --POPTdesc=$"list file names with colors" +rpm alias --filecontext --qf '[%{FILENAMES}\t%{FILECONTEXTS}\n]' \ + --POPTdesc=$"list file names with security context from header" + +rpm alias --fscontext --qf '[%{FILENAMES}\t%{FSCONTEXTS}\n]' \ + --POPTdesc=$"list file names with security context from file system" + +rpm alias --recontext --qf '[%{FILENAMES}\t%{RECONTEXTS}\n]' \ + --POPTdesc=$"list file names with security context from policy RE" + rpm alias --fileprovide --qf '[%{FILENAMES}\t%{FILEPROVIDE}\n]' \ --POPTdesc=$"list file names with provides" @@ -360,6 +369,15 @@ rpmq alias --fileclass --qf '[%{FILENAMES}\t%{FILECLASS}\n]' \ rpmq alias --filecolor --qf '[%{FILENAMES}\t%{FILECOLORS}\n]' \ --POPTdesc=$"list file names with colors" +rpmq alias --filecontext --qf '[%{FILENAMES}\t%{FILECONTEXTS}\n]' \ + --POPTdesc=$"list file names with security context" + +rpmq alias --fscontext --qf '[%{FILENAMES}\t%{FSCONTEXTS}\n]' \ + --POPTdesc=$"list file names with security context from file system" + +rpmq alias --recontext --qf '[%{FILENAMES}\t%{RECONTEXTS}\n]' \ + --POPTdesc=$"list file names with security context from policy RE" + rpmq alias --fileprovide --qf '[%{FILENAMES}\t%{FILEPROVIDE}\n]' \ --POPTdesc=$"list file names with provides" @@ -445,6 +463,15 @@ rpmquery alias --fileclass --qf '[%{FILENAMES}\t%{FILECLASS}\n]' \ rpmquery alias --filecolor --qf '[%{FILENAMES}\t%{FILECOLORS}\n]' \ --POPTdesc=$"list file names with colors" +rpmquery alias --filecontext --qf '[%{FILENAMES}\t%{FILECONTEXTS}\n]' \ + --POPTdesc=$"list file names with security context" + +rpmquery alias --fscontext --qf '[%{FILENAMES}\t%{FSCONTEXTS}\n]' \ + --POPTdesc=$"list file names with security context from file system" + +rpmquery alias --recontext --qf '[%{FILENAMES}\t%{RECONTEXTS}\n]' \ + --POPTdesc=$"list file names with security context from policy RE" + rpmquery alias --fileprovide --qf '[%{FILENAMES}\t%{FILEPROVIDE}\n]' \ --POPTdesc=$"list file names with provides" -- cgit v1.2.3