mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-24 21:36:50 +03:00
e30e6b8a5a
call tests/trapdoor.c and tests/ftruncroot.c. * samba/tests/trapdoor.c: Remove. * samba/tests/ftruncroot.c: Likewise. * samba/tests/summary.c: Don't warn about trapdoor uid systems.
25 lines
699 B
C
25 lines
699 B
C
#include <stdio.h>
|
|
|
|
main()
|
|
{
|
|
#if !(defined(HAVE_FCNTL_LOCK) || defined(HAVE_STRUCT_FLOCK64))
|
|
printf("ERROR: No locking available. Running Samba would be unsafe\n");
|
|
exit(1);
|
|
#endif
|
|
|
|
#if !(defined(HAVE_SYSV_IPC) || defined(HAVE_SHARED_MMAP))
|
|
printf("WARNING: no shared memory. Running with slow locking code\n");
|
|
#endif
|
|
|
|
#if !(defined(HAVE_NETMASK_IFCONF) || defined(HAVE_NETMASK_IFREQ) || defined(HAVE_NETMASK_AIX))
|
|
printf("WARNING: No automated netmask determination - use an interfaces line\n");
|
|
#endif
|
|
|
|
#if !((defined(HAVE_RANDOM) || defined(HAVE_RAND)) && (defined(HAVE_SRANDOM) || defined(HAVE_SRAND)))
|
|
printf("ERROR: No random or srandom routine!\n");
|
|
exit(1);
|
|
#endif
|
|
|
|
exit(0);
|
|
}
|