On Thu, 2007-02-22 at 05:46 -0800, Steve G wrote: > > > >- Why u_int32_t instead of just long (per the statfs man page)? > > SELINUX_MAGIC is 0xf97cff8c and the upper bit is 1, so it gets sign extended in > 64 bit kernels. Then the direct comparison fails. Why not just have the define as: #define SELINUX_MAGIC 0xf97cff8cU -- James Antill - setsockopt(fd, IPPROTO_TCP, TCP_CONGESTION, ...); setsockopt(fd, IPPROTO_TCP, TCP_DEFER_ACCEPT, ...); setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, ...);