[rsbac] small bug in rsbac_fd_menu

Tony den Haan rsbac@rsbac.org
Thu Jan 2 00:01:02 2003


hi,

rsbac_fd_menu gives this to stderr:

Error: RSBAC_EINVALIDMODULE
/usr/local/bin/rsbac_fd_menu: test: -gt: unary operator expected

i found this is caused by
 
MSSCANNED=`$RSBACPATH""attr_get_file_dir $GETSWITCH $TYPE
"$FILE" ms_scanned`
and then

if test $MSSCANNED -gt $MSL

this goes wrong because MSSCANNED isn't set when the module isn't found.
i'm assuming this is the Malware Scan module

i also wonder why and where SHOW_MS is set


tony