SH build problem with fanotify_mark

Roland McGrath roland@hack.frob.com
Wed Aug 1 16:45:00 GMT 2012


> I'm not reproducing the issue originally reported.  Without looking at
> all at the stub-syscalls infrastructure (and I don't have a
> stub-syscalls.c file), I'm guessing that's presumably because my kernel
> headers are "too new" (Linux 3.2.10).

Right.  You can see the problem by adding a line to some syscalls.list file:

frobozz	EXTRA	frobozz i:	__frobozz frobozz@@GLIBC_2.16

Since there is no __NR_frobozz, this will get into stub-syscalls.c.

> Does this mean that the problem is solved once applying the
> roland/getrlimit changes?

Yes.

> > Does this not get the right version without the @@... syntax?
>
> As Kaz already pointed out:
> <http://sourceware.org/ml/libc-alpha/2012-06/msg00294.html> and
> following.  Does that approach survive your post-mortem examination?

I'm sure that would indeed obviate the need for using @ syntax in
syscalls.list.  Was that the question?


Thanks,
Roland



More information about the Libc-alpha mailing list