Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Module Name:    src
Committed By:   elad
Date:           Sun Dec 24 12:43:17 UTC 2006

Modified Files:
        src/sys/kern: vfs_syscalls.c

Log Message:
Slash sys_mount() and add three helper functions: mount_update(),
mount_getargs(), and mount_domount() to handle three main things it can
do.

This makes the code more readable and removes the horrible goto mess
that was lurking there since forever... it also makes it easier to
implement a security policy for that code.

It also leads to some of my machines refusing to mount their /usr filesystems ( which works just fine when reverting to previous vfs_syscalls.c )

Some more information:
- - mount_ffs refused with 'operation not supported by device'.
- - fsck worked fine, didn't return any kind of error
- - on sparc64 sd1a worked, sd1g did not
- - on sparc sd01, sd0d and sd0e worked
- - on macppc wd0a worked, wd0d did not
- - all those filesytems are ffs, no disklabels were changed

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRY9+A8pnzkX8Yg2nAQJe6Af/QKOny/mvlU09YLWGPVet+LqiTW/IMh8I
5Cv2OxL2vm2ikooLQ3S0EiTH5N/WcnvyZwoxbOH6Sl3JSeHNFr+RiLCVSGa8LXP1
i9nBbRHKL0CF0jNhewk48PrrcuDv2+v3+dm17VjZU1QZfEclF9B6j9oQgm52vEnX
aqGk1UP+uE2b5qyGNxwRVZfQv/F0Vc06m2dRNVwrS0tqH+Cnobzo5gk+ApfOWgmL
wPAaSp0Z/migpN28vTwGxgpFzxWASGljWiwv7FS4Shh9MX2ZA3Wsclm+PV3EYr81
bNXAb510AVOZ8z2qUftw5q+cTWN/Vl9JN1QDHLi28PAOxuHimqTjRA==
=vmXB
-----END PGP SIGNATURE-----




Home | Main Index | Thread Index | Old Index