[Samba] Re: kenrel 2.6.4 patch for fixing warning of smbfs on high gid/uid

2004-03-23 Thread Christopher Allen Wing
Yes, the use of SET_UID/SET_GID in smbfs is a bug. The current meaning of SET_UID is: convert from 32-bit uid (in the kernel) to 16-bit uid (for user), if necessary The usage in smbfs was to copy a binary mount parameter structure from user space into kernel. The user space

[Samba] Re: kenrel 2.6.4 patch for fixing warning of smbfs on high gid/uid

2004-03-22 Thread Christopher Allen Wing
Alexander: Sorry, I didn't write back to you sooner. I don't understand the need for this patch unless it is working around a bug in the compiler. More likely, the bug is in smbfs passing something other than typeof(uid_t) to high2lowuid(). I'll take a look and write back. Thanks, Chris On