Commit Graph

26808 Commits

Author SHA1 Message Date
kato
aae8ab24bf Fix typo. 1998-01-14 08:08:42 +00:00
charnier
deff56dc01 Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) and
add usage().
1998-01-14 07:21:14 +00:00
charnier
936239d295 Use err(3). Change exit(-1). Remove unused #include. 1998-01-14 07:17:12 +00:00
charnier
d8e396842f Add rcsid, remove unused #includes, change exit(-1). 1998-01-14 07:14:11 +00:00
brian
f2896d69aa Free our input mbuf when the FCS is good (oops, memory leak). 1998-01-14 01:47:50 +00:00
brian
07d18a334d Remove __libalias_version. Ppp no longer uses it. 1998-01-14 01:24:49 +00:00
brian
653b1ec6a8 Lose __libalias_version.
We now look for the biggest of libalias.so.2.*
1998-01-14 01:23:05 +00:00
steve
08b49644b3 vmunix -> kernel
PR:		5484
Submitted by:	Vasily V. Grechishnikov <bazilio@ns1.ied-vorstu.ac.ru>
1998-01-13 14:17:10 +00:00
jb
6a931ec2e7 Choose the default binary format based on machine type.
Alpha is elf, not aout.
1998-01-13 06:00:56 +00:00
alex
3eb57c0db4 Consistently reference init as .Xr init 8.
Obtained from:	OpenBSD
1998-01-13 05:09:16 +00:00
alex
180ee2b9ee Return type and argument to sleep are unsigned int. 1998-01-13 04:32:00 +00:00
jb
13fe177ca3 When printf'ing the result of pointer arithmetic, cast the result to
long and use %ld, not %d.

We're going to need an abbreviation for this comment 'cause it's going
to be used a lot from now on.
1998-01-13 03:07:10 +00:00
wollman
6ce595a40c Add a macro to accurately calculate the length of a struct ifreq when
it contains an address.  This can replace all the myriad (wrong) ways
in which this task is performed in the current system.  As an added
bonus, since it's a macro, then third-party software vendors have an easy
way to tell whether it's there or not.  (This will become necessary
when sizeof(struct sockaddr) is increaased, and also when additional
fields are added to struct ifreq.)
1998-01-13 02:56:21 +00:00
alex
3d7686dc1c Change MAP_FAILED to type void *.
Typo fix.
1998-01-13 02:12:43 +00:00
alex
d53da9d8fe Dump the constant NGROUPS in favor of the POSIX way:
sysconf(_SC_NGROUPS_MAX).

Submitted by:	bde
1998-01-13 01:30:17 +00:00
alex
99545301cb Use .Fn for sysconf(_SC_CLOCK_TCK) reference.
Added $Id$.
1998-01-13 01:21:19 +00:00
yokota
17a6acacdd Fix illegal numeric expressions: 08 and 09. 1998-01-12 23:54:51 +00:00
yokota
626fac33fd Fix the output of `kbdcontrol -L _keymap_file_' which I broke in the last
commit ;-<  /usr/src/release/sysinstall/Makefile uses it to generate
built-in keymap tables.
1998-01-12 23:53:26 +00:00
phk
ab42ed078d Remove two non-global variables.
Found by: bde (one)
Overlooked by: bde (one) :-)
1998-01-12 19:10:43 +00:00
eivind
9d57fd98be ${TARGET} -> ${.TARGET}
Tiny pointed hat goes to:	Our Makefile-meister.
1998-01-12 18:29:02 +00:00
kato
71338f7e52 Fix JIS code support.
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-01-12 15:41:16 +00:00
kato
5da4359f26 Sync with sys/i386/i386/machdep.c revision 1.281. 1998-01-12 15:38:51 +00:00
kato
fab431349e Sync with sys/i386/isa/syscons.c revision 1.245. 1998-01-12 15:38:20 +00:00
kato
0d05a1344b Sync with sys/i386/conf/GENERIC revision 1.102. 1998-01-12 15:37:38 +00:00
kato
840200f8e9 Initialize the variables Crtat and Atrat in scvidprobe().
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-01-12 15:34:18 +00:00
charnier
e6d6697768 Remove optind (getopt() already knows about it). 1998-01-12 08:01:40 +00:00
charnier
ddacedaebf Remove optind (getopt() already knows about it). Move -d flag to -c according
to man page.
1998-01-12 08:00:32 +00:00
charnier
7946b36f3e Use err(3). Change exit(-1), and make exit values equal to 1 when errors.
Remove unused #includes.
1998-01-12 07:57:57 +00:00
charnier
2d1d8fdfde Change message 103, trailing \n is not needed when using errx(3). 1998-01-12 07:53:17 +00:00
charnier
1ef60125aa Use Id instead of Header. Change message 103, trailing \n is not needed
when using errx(3).
1998-01-12 07:52:15 +00:00
charnier
40915b07ba Use Id instead of Header. Sort #includes. Use err(3) and change exit(-1). 1998-01-12 07:51:07 +00:00
julian
f8e5dea182 Add code to the example 'driver-o-matic' to support being an LKM
This may not quite work yet but should head the user in the right
direction.
1998-01-12 07:47:03 +00:00
julian
993698cd4d Allow a -D'date' option to be included with a -r'branch'
on a checkout.
this allows us to do:
cd /usr/src/sys
cvs update -rRELENGE_2_2 -D"Yesterday"
which has been a feature sorely needed for any project with active branches.

warning: this breaks on usr.sbin/pkg_install for some reason.
everything else works as advertised.
(other things allready break on pkg_install, so it's not the fault of
this patch, it just falls faul of another bug somewhere)
If I had more time I'd make -r always accept the same syntax as -j (tag:data)
1998-01-12 06:51:07 +00:00
dyson
94982c0d65 Adjust upwards the size of exec map in order to take into account the
additional PAGE_SIZE needed for exec operatino.
1998-01-12 05:16:03 +00:00
obrien
31e5129db6 changed 1st appeared in clause -- about to import into -stable 1998-01-12 05:02:57 +00:00
julian
99f65891bd Add some devfs entries
(patch origianlly from luigi)
1998-01-12 03:45:58 +00:00
steve
e5a3b5d489 Update for new common calendar.
Submitted by:	Josef Grosch <jgrosch@superior.mooseriver.com>
1998-01-12 03:31:17 +00:00
julian
a2436929c7 add devfs entries for a few more syscons devices (e.g. sysmouse) 1998-01-12 03:28:36 +00:00
dyson
9a35ec7fec Fix another vnode leak. 1998-01-12 03:15:01 +00:00
jb
e430c03c79 Upgrade the cpp pre-defines to include -Dunix. Turns out we need that
to compile m4.

And don't just define __FreeBSD__, but define it as -D__FreeBSD__=3
like on i386.
1998-01-12 02:53:28 +00:00
dyson
d9d8bf6d30 Fix some vnode management problems, and better mgmt of vnode free list.
Fix the UIO optimization code.
Fix an assumption in vm_map_insert regarding allocation of swap pagers.
Fix an spl problem in the collapse handling in vm_object_deallocate.
When pages are freed from vnode objects, and the criteria for putting
the associated vnode onto the free list is reached, either put the
vnode onto the list, or put it onto an interrupt safe version of the
list, for further transfer onto the actual free list.
Some minor syntax changes changing pre-decs, pre-incs to post versions.
Remove a bogus timeout (that I added for debugging) from vn_lock.

PHK will likely still have problems with the vnode list management, and
so do I, but it is better than it was.
1998-01-12 01:46:33 +00:00
steve
e790f0b455 Reword the synopsis line so that it makes sense. 1998-01-12 00:47:52 +00:00
alex
57754dd13c Formatting fix & improved comment for struct timeval.
Obtained from:	OpenBSD
1998-01-11 22:28:56 +00:00
alex
fbef792c46 Fixed brk(2) xref.
Obtained from:	OpenBSD
1998-01-11 22:22:50 +00:00
alex
9817ffb802 Added sys/types.h to synopsis as per POSIX.
Obtained from:	OpenBSD
1998-01-11 22:16:11 +00:00
alex
92ed9ca312 Replace sys/param.h with sys/types.h as per POSIX.
Document the special case of gidsetlen == 0.

Partially obtained from: OpenBSD
1998-01-11 22:01:20 +00:00
alex
8488139b2f Document that arg max is controllable via sysctl. 1998-01-11 21:43:38 +00:00
dyson
2aff55e25f Implement the first page access for object type determination more
VM clean.  Also, use vm_map_insert instead of vm_mmap.
Reviewed by:	dg@freebsd.org
1998-01-11 21:35:38 +00:00
phk
dfbd942cf7 Try to solve timeout race by not touching softtics here. 1998-01-11 19:07:58 +00:00
eivind
9389702192 Remove use of <osreldate.h>.
Screwed up by: myself
1998-01-11 18:34:38 +00:00