Show
Ignore:
Timestamp:
06/18/10 20:02:50 (3 years ago)
Author:
nlmills
Message:

initial merge with Orange-Branch. much will be broken

Location:
branches/cu-security-branch
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/cu-security-branch

    • Property svn:ignore
      •  

        old new  
        33aclocal.m4 
        44autom4te.cache 
        5 config.status 
        6 Makefile 
        7 pvfs2-config.h 
        8 module.mk 
  • branches/cu-security-branch/src/apps/karma

    • Property svn:ignore deleted
  • branches/cu-security-branch/src/apps/karma/comm.c

    r7941 r8397  
    1515 
    1616#include "karma.h" 
    17 #include "security-util.h" 
    1817 
    1918#define GUI_COMM_PERF_HISTORY 5 
     
    4342GtkListStore *gui_comm_fslist; 
    4443 
    45 static PVFS_credential *cred; 
     44static PVFS_credentials creds; 
    4645static PVFS_fs_id cur_fsid = -1; 
    4746 
     
    162161    } 
    163162 
    164     cred = PVFS_util_gen_fake_credential(); 
    165     assert(cred); 
     163    PVFS_util_gen_credentials(&creds); 
    166164 
    167165    /* print message indicating what file system we are monitoring */ 
     
    222220 
    223221    ret = PVFS_mgmt_count_servers(cur_fsid, 
    224                                   cred, 
     222                                  &creds, 
    225223                                  PVFS_MGMT_IO_SERVER | PVFS_MGMT_META_SERVER, 
    226224                                  &outcount); 
     
    262260    internal_addr_ct = outcount; 
    263261    ret = PVFS_mgmt_get_server_array(cur_fsid, 
    264                                      cred, 
     262                                     &creds, 
    265263                                     PVFS_MGMT_IO_SERVER | 
    266264                                     PVFS_MGMT_META_SERVER, internal_addrs, 
     
    351349 
    352350    ret = PVFS_mgmt_statfs_list(cur_fsid, 
    353                                 cred, 
     351                                &creds, 
    354352                                internal_stats, 
    355353                                internal_addrs, 
     
    370368                     "Server %s not responding: %s\n", 
    371369                     PVFS_mgmt_map_addr(cur_fsid, 
    372                                         cred, 
     370                                        &creds, 
    373371                                        internal_details->error[i].addr, 
    374372                                        &dummy), 
     
    405403#ifndef FAKE_PERF 
    406404    ret = PVFS_mgmt_perf_mon_list(cur_fsid, 
    407                                   cred, 
     405                                  &creds, 
    408406                                  internal_perf, 
    409407                                  internal_end_time_ms, 
     
    411409                                  internal_perf_ids, 
    412410                                  internal_addr_ct, 
    413                                   GUI_COMM_PERF_HISTORY, internal_details, 
     411                                  GUI_COMM_PERF_HISTORY, internal_details,  
    414412                                  NULL); 
    415413    if (ret == 0) 
     
    428426                     "Server %s not responding: %s\n", 
    429427                     PVFS_mgmt_map_addr(cur_fsid, 
    430                                         cred, 
     428                                        &creds, 
    431429                                        internal_details->error[i].addr, 
    432430                                        &dummy),