Lines Matching full:then
19 # If the --all option is given, it will generate a list of rpms and then
20 # summarize the rpm's state. For yes, then all files are in the expected
30 if [ ! -x /usr/bin/filecap ] ; then
33 if [ $EUID != 0 ] ; then
39 if [ "$1" = "--help" -o $# -eq 0 ] ; then
42 if [ "$1" = "--version" ] ; then
46 if [ "$1" = "--all" ] ; then
53 if ! rpm -q $1 >/dev/null 2>&1 ; then
54 if [ "$MODE" = "single" ] ; then
68 if [ ! -f "$f" ] ; then
71 if [ `echo "$f" | grep '\/etc\/rc.d\/init.d'` ] ; then
74 if [ x"$t" != "x" ] ; then
79 if [ x"$t" != "x" ] ; then
84 if [ x"$t" != "x" ] ; then
88 if [ "$MODE" = "single" ] ; then
91 elif [ `echo "$f" | grep '\/lib\/systemd\/'` ] ; then
93 if [ x"$t" != "x" ] ; then
105 if [ ! -f "$f" ] ; then
109 if ! echo "$f" | grep '^/' >/dev/null ; then
112 if [ ! -r "$f" ] && [ $EUID != 0 ] ; then
113 if [ $MODE = "single" ] ; then
122 if ! file "$f" | grep -qw 'ELF'; then
126 if readelf -l "$f" 2>/dev/null | grep -q 'GNU_RELRO'; then
129 if readelf -d "$f" 2>/dev/null | grep -q 'BIND_NOW'; then
133 if readelf -h "$f" 2>/dev/null | grep -q 'Type:[[:space:]]*DYN'; then
135 if readelf -d "$f" 2>/dev/null | grep -q '(DEBUG)'; then
140 if [ x"$DAEMON" != "x" ] ; then
143 if [ "$f" = "$d" ] ; then
149 if [ x"$APP" = "x" ] ; then
151 if [ `echo "$f" | grep '\/lib' | grep '\.so'` ] ; then
153 elif [ `find "$f" -perm -004000 -type f -print` ] ; then
155 elif [ `find "$f" -perm -002000 -type f -print` ] ; then
157 elif [ -x /usr/bin/filecap ] && [ `filecap "$f" 2> /dev/null | wc -w` -gt 0 ] ; then
162 if [ x"$syms1" != "x" ] ; then
163 if [ x"$syms2" != "x" ] ; then
171 if [ x"$APP" = "x" ] ; then
176 if [ "$MODE" = "single" ] ; then
178 …$APP" = "setgid" -o "$APP" = "setcap" -o "$APP" = "network-ip" -o "$APP" = "network-local" ] ; then
179 if [ "$RELRO" = "full" ] ; then
181 elif [ "$RELRO" = "partial" ] ; then
186 if [ "$PIE" = "yes" ] ; then
191 elif [ "$APP" = "library" ] ; then
192 if [ "$RELRO" = "full" -o "$RELRO" = "partial" ] ; then
200 if [ "$RELRO" = "no" ] ; then
209 …$APP" = "setgid" -o "$APP" = "setcap" -o "$APP" = "network-ip" -o "$APP" = "network-local" ] ; then
210 if [ "$RELRO" = "no" ] ; then
214 if [ "$PIE" = "no" ] ; then
218 elif [ "$APP" = "library" ] ; then
219 if [ "$RELRO" = "no" ] ; then
224 elif [ "$RELRO" = "no" ] ; then
232 if [ "$MODE" = "single" ] ; then
255 if [[ $skip_current -eq 1 ]] ; then
258 if [ "$RELRO_SUM" = "yes" ] ; then
263 if [ "$PIE_SUM" = "yes" ] ; then
265 if [ "$RELRO_SUM" = "no" ] ; then
269 if [ "$APP_SUM" = "network-local" ] ; then