add extra safety for the packet mangling in the mvswitch driver
[openwrt.git] / package / shfs / patches / 106-uidgid32.patch
1 Index: shfs-0.35/shfs/Linux-2.4/shfs_fs_sb.h
2 ===================================================================
3 --- shfs-0.35.orig/shfs/Linux-2.4/shfs_fs_sb.h 2007-06-04 13:22:57.941046904 +0200
4 +++ shfs-0.35/shfs/Linux-2.4/shfs_fs_sb.h 2007-06-04 13:22:59.448817688 +0200
5 @@ -38,10 +38,10 @@
6 struct shfs_fileops fops;
7 int version;
8 int ttl;
9 - __kernel_uid_t uid;
10 - __kernel_gid_t gid;
11 - __kernel_mode_t root_mode;
12 - __kernel_mode_t fmask;
13 + uid_t uid;
14 + gid_t gid;
15 + mode_t root_mode;
16 + mode_t fmask;
17 char mount_point[SHFS_PATH_MAX];
18 struct semaphore sock_sem; /* next 4 vars are guarded */
19 struct file *sock;
20 Index: shfs-0.35/shfs/Linux-2.6/shfs_fs_sb.h
21 ===================================================================
22 --- shfs-0.35.orig/shfs/Linux-2.6/shfs_fs_sb.h 2007-06-04 13:22:57.949045688 +0200
23 +++ shfs-0.35/shfs/Linux-2.6/shfs_fs_sb.h 2007-06-04 13:22:59.449817536 +0200
24 @@ -38,10 +38,10 @@
25 struct shfs_fileops fops;
26 int version;
27 int ttl;
28 - __kernel_uid_t uid;
29 - __kernel_gid_t gid;
30 - __kernel_mode_t root_mode;
31 - __kernel_mode_t fmask;
32 + uid_t uid;
33 + gid_t gid;
34 + mode_t root_mode;
35 + mode_t fmask;
36 char mount_point[SHFS_PATH_MAX];
37 struct semaphore sock_sem; /* next 4 vars are guarded */
38 struct file *sock;
This page took 0.041871 seconds and 5 git commands to generate.