[lkml]   [1998]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.1.79 + latest smbfs patch
Hi, wrote:

: I have been able to build (2.1.79 + redhat 5.0) them doing the
: following.

And what about the size mismatch between libc5 and libc6's uid_t, gid_t
and mode_t? If nothing is done the kernel will receive the wrong
parameters to the mount() call.

smbmount uses the following structure defined in linux/smb_mount.h:

struct smb_mount_data {
int version;
uid_t mounted_uid; /* Who may umount() this filesystem? */

uid_t uid;
gid_t gid;
mode_t file_mode;
mode_t dir_mode;

Unless this structure is changed to (for example):

struct smb_mount_data {
int version;
__kernel_uid_t mounted_uid;

__kernel_uid_t uid;
__kernel_gid_t gid;
__kernel_mode_t file_mode;
__kernel_mode_t dir_mode;

everything will be screwed up. (there are other places in the kernel include
files where something similar must be done).




Eloy A. Paris
Information Technology Department
Rockwell Automation de Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645

 \ /
  Last update: 2005-03-22 13:41    [W:0.237 / U:5.080 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site