Skip to content

Commit 7ed7706

Browse files
committed
fix kext loading in snow leopard; move flags code
1 parent debce80 commit 7ed7706

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

inst/KEInfo.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<string>10.4</string>
2525
<key>com.apple.kpi.mach</key>
2626
<string>10.4</string>
27+
<key>com.apple.kpi.unsupported</key>
28+
<string>10.4</string>
2729
</dict>
2830
</dict>
2931
</plist>

kext/vfsops.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ vfs_mount_9p(mount_t mp, vnode_t devvp, user_addr_t data, vfs_context_t ctx)
191191
if (e)
192192
goto error;
193193

194+
vfs_setauthopaque(mp);
195+
vfs_clearauthopaqueaccess(mp);
196+
vfs_setlocklocal(mp);
197+
194198
// init stats
195199
sp = vfs_statfs(nmp->mp);
196200
copyinstr(args.spec, sp->f_mntfromname, MNAMELEN-1, &size);
@@ -201,10 +205,6 @@ vfs_mount_9p(mount_t mp, vnode_t devvp, user_addr_t data, vfs_context_t ctx)
201205
sp->f_files = 65535;
202206
sp->f_ffree = sp->f_files-2;
203207
sp->f_flags = vfs_flags(mp);
204-
205-
vfs_setauthopaque(mp);
206-
vfs_setlocklocal(mp);
207-
vfs_clearauthopaqueaccess(mp);
208208

209209
free_9p(addr);
210210
free_9p(authaddr);

0 commit comments

Comments
 (0)