Re: [PATCH] ioctl_list.2: BLKRASET/BLKRAGET take unsigned long

Cyril Hrubis
2017-02-15T14:29:07Z

Hi!
> So as far as I can tell we depend here on a fact that upper part of $rdx
> is zeroed. Not sure if that is guaranteed or not.

Which seems to be the case for x86_64 processors, so passing int value
to ioctl() will work fine there. Not sure about the rest of 64bit archs.

--
Cyril Hrubis
chrubis-AlSwsSmVLrQ@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html