Changeset 2670

Show
Ignore:
Timestamp:
05/05/08 13:14:30 (7 months ago)
Author:
pebenito
Message:

fcglob: fix bug in matching code, and add tmpfs to xattr file systems.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/fcglob/support/fcglob/fcglob.py

    r2667 r2670  
    3030import selinux 
    3131 
    32 xattrfs=["ext2","ext3","jfs","xfs"
     32xattrfs=["ext2","ext3","jfs","xfs","tmpfs"
    3333 
    3434def get_mounts(): 
     
    675675                                value = True 
    676676                elif op is 'le': 
    677                         if a.glob <= b.glob: 
    678                                 value = True 
    679 #                       if (a.objclass == b.objclass or b.objclass == "") and a.glob <= b.glob: 
    680 #                               value = True 
     677                        if (a.objclass == b.objclass or a.objclass == "" or b.objclass == "") and a.glob <= b.glob: 
     678                                value = True 
    681679 
    682680        # Glob, Glob