aboutsummaryrefslogtreecommitdiffstats
path: root/package/shfs/patches/106-uidgid32.patch
blob: 60510a28d3ed7c026c9dadc480a9262ff02f54bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Index: shfs-0.35/shfs/Linux-2.4/shfs_fs_sb.h
===================================================================
--- shfs-0.35.orig/shfs/Linux-2.4/shfs_fs_sb.h	2007-06-04 13:22:57.941046904 +0200
+++ shfs-0.35/shfs/Linux-2.4/shfs_fs_sb.h	2007-06-04 13:22:59.448817688 +0200
@@ -38,10 +38,10 @@
 	struct shfs_fileops fops;
 	int version;
 	int ttl;
-	__kernel_uid_t uid;
-	__kernel_gid_t gid;
-	__kernel_mode_t root_mode;
-	__kernel_mode_t fmask;
+	uid_t uid;
+	gid_t gid;
+	mode_t root_mode;
+	mode_t fmask;
 	char mount_point[SHFS_PATH_MAX];
 	struct semaphore sock_sem;	/* next 4 vars are guarded */
 	struct file *sock;
Index: shfs-0.35/shfs/Linux-2.6/shfs_fs_sb.h
===================================================================
--- shfs-0.35.orig/shfs/Linux-2.6/shfs_fs_sb.h	2007-06-04 13:22:57.949045688 +0200
+++ shfs-0.35/shfs/Linux-2.6/shfs_fs_sb.h	2007-06-04 13:22:59.449817536 +0200
@@ -38,10 +38,10 @@
 	struct shfs_fileops fops;
 	int version;
 	int ttl;
-	__kernel_uid_t uid;
-	__kernel_gid_t gid;
-	__kernel_mode_t root_mode;
-	__kernel_mode_t fmask;
+	uid_t uid;
+	gid_t gid;
+	mode_t root_mode;
+	mode_t fmask;
 	char mount_point[SHFS_PATH_MAX];
 	struct semaphore sock_sem;	/* next 4 vars are guarded */
 	struct file *sock;