[ofa-general] [PATCH] infiniband-diags: terminate perl scripts with error if not authorized

Timothy A. Meier meier3 at llnl.gov
Fri May 23 09:04:55 PDT 2008


Sasha, Hal,

Here is a revised version of the patch - just the auth_check() routine.

Basically, it passes the test if root, or same ownership as umad0.

The motivation for this patch is to provide a quick (and early) check for the 
perl scripts that were only intended for privilaged users.  Stop partial 
functionality, and provide a non-zero exit code.

I will patch the relevant perl scripts to use this check, if accepted.

-- 
Timothy A. Meier
Computer Scientist
ICCD/High Performance Computing
925.422.3341
meier3 at llnl.gov
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-infiniband-diags-terminate-perl-scripts-with-error.patch
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080523/a644e458/attachment.ksh>


More information about the general mailing list