Changeset 231


Ignore:
Timestamp:
May 13, 2009, 9:17:58 PM (16 years ago)
Author:
katerina
Message:

Recognize fdesc filesystem on MacOS X for suid check (ticket #153).

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/Changelog

    r230 r231  
     12.5.6:
     2        * recognize fdesc filesystem on MacOS X for suid check (Problem
     3          reported by David)
     4
    152.5.5:
    26        * fix some warnings from gcc 4.4 (strict aliasing)
  • trunk/src/sh_suidchk.c

    r227 r231  
    10061006                0 != strncmp (_("afs"),     fs, 3) &&
    10071007                0 != strncmp (_("devfs"),   fs, 5) &&
     1008                0 != strncmp (_("fdesc"),   fs, 5) &&
    10081009                0 != strncmp (_("iso9660"), fs, 7) &&
     1010                0 != strncmp (_("cd9660"),  fs, 6) &&
    10091011                0 != strncmp (_("lustre"),  fs, 6) &&
    10101012                0 != strncmp (_("mmfs"),    fs, 4) &&
     
    10121014                0 != strncmp (_("nfs"),     fs, 3) &&
    10131015                0 != strncmp (_("proc"),    fs, 4) &&
     1016                0 != strncmp (_("sysfs"),   fs, 5) &&
    10141017                0 != strncmp (_("vfat"),    fs, 4)
    10151018#endif
     
    17401743  switch (t)
    17411744    {
     1745#ifdef MOUNT_UFS
    17421746    case MOUNT_UFS:
    17431747      return _("ufs");
     1748#endif
     1749#ifdef MOUNT_ISO9660
     1750    case MOUNT_ISO9660:
     1751      return _("iso9660fs");
     1752#endif
     1753#ifdef MOUNT_CD9660
     1754    case MOUNT_CD9660:
     1755      return _("cd9660");
     1756#endif
     1757#ifdef MOUNT_NFS
    17441758    case MOUNT_NFS:
    17451759      return _("nfs");
     1760#endif
    17461761#ifdef MOUNT_PC
    17471762    case MOUNT_PC:
     
    17681783      return _("msdos");
    17691784#endif
    1770 #ifdef MOUNT_ISO9660
    1771     case MOUNT_ISO9660:
    1772       return _("iso9660fs");
     1785#ifdef MOUNT_LFS
     1786    case MOUNT_LFS:
     1787      return _("lfs");
     1788#endif
     1789#ifdef MOUNT_LOFS
     1790    case MOUNT_LOFS:
     1791      return _("lofs");
     1792#endif
     1793#ifdef MOUNT_FDESC
     1794    case MOUNT_FDESC:
     1795      return _("fdesc");
     1796#endif
     1797#ifdef MOUNT_PORTAL
     1798    case MOUNT_PORTAL:
     1799      return _("portal");
     1800#endif
     1801#ifdef MOUNT_NULL
     1802    case MOUNT_NULL:
     1803      return _("null");
     1804#endif
     1805#ifdef MOUNT_UMAP
     1806    case MOUNT_UMAP:
     1807      return _("umap");
     1808#endif
     1809#ifdef MOUNT_KERNFS
     1810    case MOUNT_KERNFS:
     1811      return _("kernfs");
     1812#endif
     1813#ifdef MOUNT_PROCFS
     1814    case MOUNT_PROCFS:
     1815      return _("procfs");
     1816#endif
     1817#ifdef MOUNT_DEVFS
     1818    case MOUNT_DEVFS:
     1819      return _("devfs");
     1820#endif
     1821#ifdef MOUNT_EXT2FS
     1822    case MOUNT_EXT2FS:
     1823      return _("ext2fs");
     1824#endif
     1825#ifdef MOUNT_UNION
     1826    case MOUNT_UNION:
     1827      return _("union");
    17731828#endif
    17741829    default:
Note: See TracChangeset for help on using the changeset viewer.