[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GSOC - valgrind-hurd queries

From: Samuel Thibault
Subject: Re: GSOC - valgrind-hurd queries
Date: Sat, 31 May 2014 00:59:16 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Subhashish, le Sat 31 May 2014 04:24:27 +0530, a écrit :
> The symbol VKI_PATH_MAX cannot be defined since symbol PATH_MAX is not
> defined[3].
> Can we have workarounds - based on realloc, or like xgethostname() as
> described.

Yes, but that'll be tedious (there are quite a few occurrences) and
uninteresting. I'd say for now just define it to some arbitrary value,
such as 4096.

> I'm following vki-linux.h and vki-gnu.h to add type definitions to
> vki-gnu.h - but I am in the dark as to what is to be added - I'm doing hit
> and trial.

Well, everything that appears in vki-linux.h is probably used in
coregrind, so you'll have to define them too.

> VKI_S_IRUSR, VKI_S_IWOTH are the few of many symbols to be
> defined here.
> The latter 2 are part of sys/stat.h in other unix systems - I suppose we
> don't do stat.h

We do, see /usr/include/i386-gnu/sys/stat.h


reply via email to

[Prev in Thread] Current Thread [Next in Thread]