Hi Kostik, * Kostik Belousov <[email protected]>, 20120112 11:08: > > +int > > +sys_dup3(struct thread * const td, struct dup3_args * const uap) { > The td and uap are not constant in the prototypes generated by > makesyscalls.sh. This makes me seriosly wonder was the patch compiled at > all.
This is because the parameters itself are const -- not the objects they
point to. e.g:
int foo(int);
int foo(const int i)
{
/* code here */
}
--
Ed Schouten <[email protected]>
WWW: http://80386.nl/
pgpKSAVj4LrZi.pgp
Description: PGP signature

