mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Solaris: include <sys/lgrp_user_impl.h> only on newer Solaris.
Follow up to SVN r16224 and r16225, BZ#376455. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16226
This commit is contained in:
parent
72a8b52a60
commit
fc10a2f3de
@ -2757,6 +2757,8 @@ fi
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
if test "$VGCONF_OS" = "solaris" ; then
|
||||
AC_CHECK_HEADERS([sys/lgrp_user_impl.h])
|
||||
|
||||
# Solaris-specific check determining if the Sun Studio Assembler is used to
|
||||
# build Valgrind. The test checks if the x86/amd64 assembler understands the
|
||||
# cmovl.l instruction, if yes then it's Sun Assembler.
|
||||
|
||||
@ -605,10 +605,10 @@ typedef struct vki_kcf_door_arg_s {
|
||||
|
||||
|
||||
#include <sys/lgrp_user.h>
|
||||
#define vki_lgrp_view_t lgrp_view_t
|
||||
|
||||
|
||||
#if defined(HAVE_SYS_LGRP_USER_IMPL_H)
|
||||
/* Include implementation specific header file on newer Solaris. */
|
||||
#include <sys/lgrp_user_impl.h>
|
||||
#endif /* HAVE_SYS_LGRP_USER_IMPL_H */
|
||||
#define VKI_LGRP_SYS_MEMINFO LGRP_SYS_MEMINFO
|
||||
#define VKI_LGRP_SYS_GENERATION LGRP_SYS_GENERATION
|
||||
#define VKI_LGRP_SYS_VERSION LGRP_SYS_VERSION
|
||||
@ -621,6 +621,7 @@ typedef struct vki_kcf_door_arg_s {
|
||||
#define VKI_LGRP_SYS_AFF_INHERIT_SET LGRP_SYS_AFF_INHERIT_SET
|
||||
#define VKI_LGRP_SYS_DEVICE_LGRPS LGRP_SYS_DEVICE_LGRPS
|
||||
#define VKI_LGRP_SYS_MAXSOCKETS_GET LGRP_SYS_MAXSOCKETS_GET
|
||||
#define vki_lgrp_view_t lgrp_view_t
|
||||
|
||||
|
||||
#include <sys/loadavg.h>
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
/* Basic syscall test, see memcheck/tests/x86-linux/scalar.c for more info. */
|
||||
|
||||
#include "scalar.h"
|
||||
#include "config.h"
|
||||
|
||||
#include <bsm/audit.h>
|
||||
#include <nfs/nfs.h>
|
||||
@ -9,7 +10,10 @@
|
||||
#include <sys/door.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/fstyp.h>
|
||||
#include <sys/lgrp_user.h>
|
||||
#if defined(HAVE_SYS_LGRP_USER_IMPL_H)
|
||||
#include <sys/lgrp_user_impl.h>
|
||||
#endif /* HAVE_SYS_LGRP_USER_IMPL_H */
|
||||
#include <sys/mman.h>
|
||||
#include <sys/modctl.h>
|
||||
#include <sys/mount.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user