Commit Graph

10031 Commits

Author SHA1 Message Date
philip
ee41e72f0b With the addition of a proper prototype, this is now WARNS=6 clean. 2004-11-13 01:54:22 +00:00
philip
c1fa054315 Two uint32_t casts crept in where they shouldn't have.
ACPI_TYPE_INTEGER can be 64 bits wide in acpi v2.
2004-11-13 01:49:22 +00:00
philip
30f9785305 Change some formats and add some casts to make this
WARNS=2 clean, and mark it as such.

PR:		71672 (partly)
Reviewed by:	njl
2004-11-13 01:34:51 +00:00
philip
b56396473a Update moused(8) and mouse(4) to reflect the cuaa->cuad name change.
Submitted by:	Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-11-12 23:59:24 +00:00
jhb
ac5eeeebc2 Add Estonian keyboards.
PR:		bin/73232
Reported by:	Mart Tõnso tm at hwg dot edu dot ee
Submitted by:	Olafur Osvaldsson oli at isnic dot is
MFC after:	1 week
2004-11-11 18:49:24 +00:00
ru
7e6db6caaf Really revert the whitespace change to usage(). 2004-11-11 18:09:00 +00:00
dds
581fb77502 Corrected the description of the -t output columns to reflect reality.
MFC after:	2 weeks
2004-11-11 17:30:04 +00:00
glebius
ff2df5d5cb Change TABs back to spaces in usage string constants.
Requested by:	ru
2004-11-11 16:13:10 +00:00
glebius
d0de94db6c Whitespace.
Approved by:	cvs diff -b
2004-11-11 09:41:03 +00:00
glebius
8cdc03fdab Double receive buffer size on sockets.
PR:		bin/72366
Ok'd by:	dwmalone
Approved by:	julian (mentor)
Obtained from:	OpenBSD
MFC after:	1 month
2004-11-11 09:39:04 +00:00
delphij
4cbaf1f0b1 Correct a potential DoS vulnerability, as described at
http://www.securityfocus.com/archive/1/379450

This patch is based on dillon's patch on DragonFlyBSD, which is in
turn derived from OpenBSD's src/usr.sbin/pppd/cbcp.c,v 1.6.

Obtained from:	OpenBSD via DragonFlyBSD
Encouraged by:	nectar
2004-11-10 05:49:52 +00:00
nyan
8105db8e0c Fixed fd related tools on pc98.
Submitted by:	Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
2004-11-09 14:10:18 +00:00
sos
38a1efbd37 Add -c option that calculates the overhead of read I/O ops. 2004-11-09 12:28:41 +00:00
kensmith
70e2928dc7 Bump document date.
Noticed by:     trhodes
Pointy hat:     kensmith
MFC after:      1 week
2004-11-09 04:41:12 +00:00
kensmith
b1327fb08f Add newsyslog(8) to the "See Also" section.
MFC after:	1 week
2004-11-09 04:31:31 +00:00
imp
e3d1d684c3 Remove __P, as well as other non-FreeBSD relevant code. 2004-11-08 23:26:36 +00:00
dd
512a099542 Reflect that -h takes an argument and belatedly bump .Dd for addition of -h 2004-11-07 04:34:37 +00:00
dd
1190ae4746 Make the usage message match reality about -h and -w. 2004-11-07 04:32:51 +00:00
delphij
576f79b736 ANSI'fy nfsd(8) and some minor changes to make it WARNS=6 clean.
This commit does not affect the code generated, as proven by md5'ing
resulting binaries.

Bump WARNS accordingly.

Compiled on:	sparc64, ia64, i386
Reviewed by:	alfred (but blame me if anything goes wrong :-)
2004-11-06 18:15:44 +00:00
josef
d9079cc8fa Add ftp8.de.freebsd.org
Requested by:	vs
Approved by:	ssouhlal
2004-11-06 14:38:54 +00:00
glebius
17b072c6e6 Protect against local flooder of /var/run/log. Do not loop forever in
syslog(3) if we are a priveleged program (sshd, su, etc.).

- Make syslogd open an additional socket /var/run/logpriv, with 0600
  permissions.
- In libc, try to use this socket.
- Do not loop forever if we are using this socket (partial backout of 1.31)

Reviewed by:	dwmalone, Andrea Campi <andrea webcom it>
Approved by:	julian (mentor)
MFC after:	1 month
2004-11-04 23:09:57 +00:00
glebius
a05fa9898f - Use stailqueue for sockets instead of socket buffer. Thus
remove limit for 20 sockets.
- Add possibility to specify file mode for sockets created with '-l'.
- Check that socket name in '-l' is absolute.

Reviewed by:	dwmalone, Andrea Campi <andrea webcom it>
Approved by:	julian (mentor)
2004-11-04 22:20:21 +00:00
obrien
5c8699f127 Fix braino where I didn't fix the file path from when the line was
copied from the test program.
2004-11-04 15:46:59 +00:00
obrien
98e9b9903a Stop listening to bug reports with wrong solutions and commit a fix to the '
problem I know will work.
2004-11-04 01:28:43 +00:00
ceri
701161c573 Allow the -f argument to work.
PR:		bin/73229
Submitted by:	Irina Liakh <spell at itl dot ua>
MT4:		2 weeks
MT5:		After 5.3-RELEASE
2004-11-03 20:45:52 +00:00
kensmith
7e4216fda3 Update the list of package names/descriptions.
Last second MFC candidate?
2004-11-03 18:26:06 +00:00
ru
e0dabcf1cc Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar
to PRECIOUSLIB from bsd.lib.mk.  The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.

Reviewed by:	oliver
2004-11-03 18:01:21 +00:00
emax
a79bc3d799 Serial devices now called /dev/cuadXX not /dev/cuaaXX 2004-11-02 20:12:06 +00:00
obrien
c0a1848a96 fix typo in generated /etc/exports: escape all ' 2004-11-01 16:32:09 +00:00
simokawa
2d1ea3280c Add usage of -m option. 2004-10-29 01:24:32 +00:00
ru
1edab47bcf For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
des
ecdc86b8e5 Allow multiple devices to be specified on one device / nodevice line.
Also allow "device" / "nodevice" to be spelled "devices" / "nodevices".

MFC after:	2 weeks
2004-10-24 10:27:16 +00:00
des
1755474227 If the file specified in an "include" line does not exist in the current
directory, and its name does not begin with a period or a forward slash,
go look for it in ../../conf.

Wished for by:	scottl
MFC after:	2 weeks
2004-10-24 09:38:41 +00:00
simokawa
3dec48fef0 Add -m option, set default fwmem target. 2004-10-23 23:28:08 +00:00
suz
f91185a0a5 removed compilation warning
PR:	bin/71624
2004-10-22 07:31:12 +00:00
rwatson
5bf3881606 Remove unnecessary include of vnode.h.
Requested by:	phk
2004-10-21 11:22:07 +00:00
simon
fd38a59d2a Fix typo.
Submitted by:	Patrick Oonk <patrick@cookie.monster.org>
PR:		docs/72912
MFC after:	1 week
2004-10-20 10:11:12 +00:00
ru
1419346977 Make the -m option actually work. 2004-10-19 20:30:09 +00:00
obrien
6f79cf1fd8 This is now WARNS 6 clean on 64-bit platforms. 2004-10-19 18:09:29 +00:00
ru
a8367dbf18 Utilize FILES, SCRIPTS, and SYMLINKS. While here, fixed a bug in
the implementation of the following feature in revision 1.4:

- Install Makefile.yp as /var/yp/Makefile.dist and link it to
  /var/yp/Makefile only if /var/yp/Makefile doesn't already exist.
  Suggested by Peter Wemm.

The actual code was only symlinking when no /var/yp/Makefile.dist
existed, i.e., never.
2004-10-18 21:42:15 +00:00
ru
30364d996d Utilize SCRIPTS. 2004-10-18 21:29:20 +00:00
ru
8d0ec3a89d Replaced afterinstall: with FILES. 2004-10-18 17:20:29 +00:00
obrien
c6422b54a5 Add a -q flag to pkg_version. It suppresses the output of <,=,>.
This makes it possible to "portupgrade `pkg_version -q -l '<'`".
2004-10-18 05:34:54 +00:00
stefanf
ec111bff02 Remove an extra semicolon after a function. 2004-10-17 21:29:53 +00:00
stefanf
d79e7731bc Remove definition of struct dom_binding, it's non-standard C code and
unnecessary since src/include/rpcsvc/ypclnt.h's revision 1.10.
2004-10-17 19:33:33 +00:00
obrien
95ee6f1327 Set the real limits on 5-current, add 5-stable, add 6-current. 2004-10-17 14:36:30 +00:00
phk
cf031a6559 We accept both "option" and "options" so also accept both "nooption"
and "nooptions".
2004-10-12 13:21:44 +00:00
brian
8adf6000cd Handle a malloc() failure when allocating urgent ports
PR:		59995
2004-10-11 10:21:53 +00:00
brian
f39d624275 Add a bunch of malloc() return checks
PR:		71592
Submitted by:	Dan Lukes <dan@obluda.cz> with further changes
2004-10-11 09:45:58 +00:00
philip
10b896310b Add 'virtual scrolling' support to moused(8). When holding down the middle
mouse button, motions are interpreted as scrolling.

Submitted by:	Jordan Sissel <psionic-AT-csh.rit.edu>
Approved by:	njl
2004-10-11 07:57:08 +00:00