Changeset 537 for trunk


Ignore:
Timestamp:
Sep 23, 2018, 11:27:55 PM (6 years ago)
Author:
katerina
Message:

Fix for issue #429 (compile error on non-Linux systems).

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/Changelog

    r534 r537  
     1
     24.3.1:
     3        * fix compile failure on non-Linux systems (reported by Romain and Tim)
     4
    154.3.0:
    26        * add support for /etc/subuid, /etc/subgid maps
  • trunk/src/sh_subuid.c

    r534 r537  
    2323#define FIL__  _("sh_subuid.c")
    2424
    25 #if defined(__linux__)
    2625
    2726#include <sys/types.h>
     
    3332#include <errno.h>
    3433#include <limits.h>
     34
     35#if defined(__linux__)
    3536
    3637#include "samhain.h"
     
    232233char * sh_get_subuid (unsigned long subuid)
    233234{
     235  (void) subuid;
    234236  return NULL;
    235237}
     
    237239char * sh_get_subgid (unsigned long subgid)
    238240{
     241  (void) subgid;
    239242  return NULL;
    240243}
Note: See TracChangeset for help on using the changeset viewer.