[TUHS] link() syscall implementation

Oliver Lehmann lehmann at ans-netz.de
Sat Nov 14 22:56:35 AEST 2015


Oliver Lehmann <lehmann at ans-netz.de> wrote:

> The problem now on my system is, u_dirp in the user struct
> is saddr_t (*long) and not caddr_t (*char) and I wonder how
      ^^^^^^^^^^^^^^^
must read saddr_t (long)


typedef union
{
     caddr_t             l;
     struct
     {
         unsigned        left;
         unsigned        right;
     }                   half;
}                       saddr_t;        /* segmented address with parts */




More information about the TUHS mailing list