Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jul 2005 14:41:14 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 79557 for review
Message-ID:  <200507041441.j64EfEdE086539@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=79557

Change 79557 by rwatson@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507041441.j64EfEdE086539>