Commit Graph

41541 Commits

Author SHA1 Message Date
thorpej 19445c4010 Reverse the sense of the MACHINE_ARCH test to test the arch's that should
NOT build these things (a much shorter list :-)
1998-07-28 18:53:40 +00:00
mycroft 37e6d2f31d Look for the formats used by setproctitle(3) and login shells, and avoiding
outputting the redundant `(comm)'.
1998-07-28 18:41:59 +00:00
thorpej 6326c90134 Change the "aresid" argument of vn_rdwr() from an int * to a size_t *,
to match the new uio_resid type.
1998-07-28 18:37:47 +00:00
thorpej 3ff8e6493a Don't cast the null residual pointer passed to vn_rdwr(). 1998-07-28 18:34:52 +00:00
thorpej e8063e5201 Don't cast the null residual pointer passed to vn_rdwr(). 1998-07-28 18:30:54 +00:00
thorpej e95c22ee96 Don't cast the null residual pointer passed to vn_rdwr(). 1998-07-28 18:17:34 +00:00
mycroft f091800e8b Fix a typo in a comment. 1998-07-28 18:13:53 +00:00
thorpej 80e25bcca0 Don't cast the null residual pointer passed to vn_rdwr(). 1998-07-28 18:11:39 +00:00
thorpej 939279f988 When checking for overflow in the residual count, test against SSIZE_MAX.
The read/write system calls return ssize_t because -1 is used to indicate
error, therefore the transfer size MUST be limited to SSIZE_MAX, otherwise
garbage can be returned to the user.

There is NO change from existing behavior here, only a more precise
definition of that the semantics are, except in the Alpha case, where
the full SSIZE_MAX transfer size can now be realized (ssize_t is 64-bit
on the Alpha).
1998-07-28 17:58:29 +00:00
thorpej e9b3213f03 Make uio_resid a size_t. 1998-07-28 17:55:38 +00:00
mycroft d0e267dc7f Use the uid/gid caching moved into libc. Fixed a memory leak! 1998-07-28 17:44:23 +00:00
drochner 2dcc522f1d The fragtbl[], inside[] and around[] variables are needed by "fsck",
so we can't put them inside "#ifdef _KERNEL".
Put declarations inside .c files where needed to preserve namespace.
1998-07-28 17:30:01 +00:00
mycroft 0816a4773b Update the date on this man page. 1998-07-28 17:11:12 +00:00
mycroft 7be86bdd6d Document uid_from_user() and gid_from_group(). 1998-07-28 17:09:10 +00:00
mycroft 76428db157 Import the version from pax(1), with a few changes:
* Functions renamed to match libc interface.
* Fixed to actually put entries into the hash tables!
* Different hash function, simpler but with the same distribution.
1998-07-28 16:58:36 +00:00
mycroft f9927bf246 Add gid_from_group() and uid_from_user(). 1998-07-28 16:27:48 +00:00
is 0d257affa0 Add some constants. 1998-07-28 16:03:49 +00:00
is a374ab61d8 ic/i82595reg.h 1998-07-28 16:02:34 +00:00
is 4fb93c48ec Remove dead code. 1998-07-28 14:44:46 +00:00
augustss 4e690f3740 Improve chances of success and make it compile again. 1998-07-28 14:16:29 +00:00
pk cc0d537633 GC. 1998-07-28 14:04:08 +00:00
is a276ff33bc Remove obsolete comment. 1998-07-28 12:25:53 +00:00
pk 4129139031 Supported medium is IFM_10_5 1998-07-28 12:22:37 +00:00
mycroft f1f53ef7e8 Add an internal name for perror(3). 1998-07-28 12:22:31 +00:00
mycroft 1020d7970d Use writev(2) (like perror(3)). 1998-07-28 12:21:07 +00:00
augustss daed8d7ce1 Fix obsolete code in waiting for calibration on the ad1848.
(Sigh, the ad1848 driver should be rewritten.)
1998-07-28 12:13:34 +00:00
mycroft 5880305a10 Oops; the old BSD aliases were not actually used. 1998-07-28 11:51:47 +00:00
mycroft ee9e50eacb Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
mycroft 301199f5d6 Delint. 1998-07-28 11:40:57 +00:00
pk 99e07bed22 Add /usr/include/dev/sbus. 1998-07-28 11:08:19 +00:00
pk 76df1b3aa5 Stop installing db_machdep.h, fbvar.h, z8530.h 1998-07-28 11:07:23 +00:00
is 10bf062527 Mention poll(2), too, where we formerly only mentioned select(2). 1998-07-28 09:43:30 +00:00
augustss b068e817d9 Add missing .include <bsd.kinc.mk> 1998-07-28 08:45:46 +00:00
msaitoh 370d381343 add missing "const". 1998-07-28 07:18:12 +00:00
mycroft a36f9be148 Delint. 1998-07-28 05:46:20 +00:00
mycroft 9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
mycroft 1381f68431 Delint. 1998-07-28 05:15:46 +00:00
mycroft 49b1e89cfe If the return value is sometimes discarded, output `sometimes ignored' rather
than `always ignored'.
1998-07-28 05:12:00 +00:00
eeh 5ed2ac8a95 Apparently we need to specify both slot and offset for all SBUS devices.
This is really annoying....
1998-07-28 04:48:04 +00:00
eeh fbb376b4ee Fixup problems caused by sys/dev/sbus addition. 1998-07-28 04:46:48 +00:00
eeh 1053f23abf That last change to reduce warnings wasn't quite right. 1998-07-28 04:44:52 +00:00
mycroft 829367f279 Omit some externs if not _KERNEL. 1998-07-28 04:17:51 +00:00
mycroft a05983be3a Delint. 1998-07-28 04:12:10 +00:00
mycroft 29bf463dcb Delint. 1998-07-28 04:01:03 +00:00
mycroft ce7d757530 Delint. 1998-07-28 03:47:14 +00:00
mycroft a65a57d7b3 Propagate the value and test contexts to the right-hand side of a
comma operator.
1998-07-28 03:39:29 +00:00
briggs b9bce75593 An airplane on a heading of 315, given instruction to turn
right 45 degrees should turn to direction 0, not circle.
1998-07-28 03:00:09 +00:00
mycroft 5924694d3a Delint (partially). 1998-07-28 02:47:19 +00:00
briggs 2e7f98d7b4 An airplane on a heading of 270, given instruction to turn
right 90 degrees should turn to direction 0, not circle.
1998-07-28 02:46:13 +00:00
mycroft cdbd74da57 Delint (partially). 1998-07-28 02:23:37 +00:00