PERFORCE change 79557 for review
Robert Watson
rwatson at FreeBSD.org
Mon Jul 4 14:41:14 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=79557
Change 79557 by rwatson at rwatson_paprika on 2005/07/04 14:40:25
Use the lmount() system call rather than syscall(). Took me a while
to find this reference, as 'lmount' had no glimpse matches in user
space.
Affected files ...
.. //depot/projects/trustedbsd/sebsd/sbin/mount/mount_ufs.c#4 edit
Differences ...
==== //depot/projects/trustedbsd/sebsd/sbin/mount/mount_ufs.c#4 (text+ko) ====
@@ -114,7 +114,7 @@
return 1;
}
- rc = syscall(396, "ufs", fs_name, mntflags, &args, mac);
+ rc = lmount("ufs", fs_name, mntflags, &args, mac);
}
else
rc = mount("ufs", fs_name, mntflags, &args);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list