David E. O'Brien
37c510c7c0
Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].
...
PR: 73879
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-11-19 03:56:47 +00:00
David E. O'Brien
ddede49cfd
Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].
...
PR: 73878
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-11-19 03:53:36 +00:00
David E. O'Brien
36d4953214
Make logic more readable.
2004-11-19 03:52:41 +00:00
Maksim Yevmenkin
3adfd74adb
Check in updated bthidd(8). This is still work in progress.
2004-11-18 18:05:15 +00:00
Gleb Smirnoff
204d318009
s/priveleged/privileged/
2004-11-18 13:37:33 +00:00
Giorgos Keramidas
d6c85264cd
Fix a minor comment typo: priveleged = privileged.
2004-11-18 12:20:52 +00:00
Xin LI
d1df3fcd3f
Initialize lcap and pwd to NULL. This allows a WARNS=6 clean build,
...
hence bump it to 6.
Note that the last commit message was not quite accurate. While the
assumption exists in the code, it's not possible to have an
uninitialized p there because if lflag is set when username is NULL
then execution would be terminated earlier.
2004-11-17 10:01:48 +00:00
Xin LI
95751846f1
The code path in main() dealing with lflag assumes that p was
...
initialized with NULL, while it is not. So let's initialize
it.
2004-11-17 09:52:10 +00:00
Simon L. B. Nielsen
a98d8c790a
Only write the rc.conf header when a new rc.conf is written. This was
...
accidentally removed in v. 1.211.
Submitted by: Olafur Osvaldsson <oli@isnic.is>
PR: bin/73692
MFC after: 1 week
Approved by: trhodes
2004-11-16 21:59:00 +00:00
John Baldwin
60ede768f7
Various updates to the anonymous ftp support:
...
- Allow the upload directory to be optional. If the upload directory
field is cleared to the empty string then no directory will be created.
- Don't create a bin/ subdirectory in ftp's home dir containing ls(1) and
date(1) as ftpd(8) no longer requires it.
- Create a pwd.db file in etc/ instead of a passwd file.
- Ignore NIS compat entries in /etc/group and /etc/master.passwd when
building the anonymous files.
PR: bin/60662
Submitted by: Olafur Osvaldsson oli at isnic dot is
2004-11-16 19:06:42 +00:00
Warner Losh
46433fccd1
Minor style(9) before possible larger commits.
2004-11-16 06:25:02 +00:00
Bjoern A. Zeeb
6c58990d47
Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
...
If turned on no NIS support and related programs will be built.
Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il>
PR: bin/68303
No objections: des, gshapiro, nectar
Reviewed by: ru
Approved by: rwatson (mentor)
MFC after: 2 weeks
2004-11-13 20:40:32 +00:00
Philip Paeps
6af2c48a95
Somehow I missed this last night, acpi_init() doesn't return an int.
...
Spotted by: Randy Bush <randy@psg.com>
2004-11-13 15:16:35 +00:00
Philip Paeps
413efd9141
With the addition of a proper prototype, this is now WARNS=6 clean.
2004-11-13 01:54:22 +00:00
Philip Paeps
9599d206a4
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 Paeps
e18d08c9b0
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 Paeps
d0139887c9
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
John Baldwin
c3f8d76206
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
Ruslan Ermilov
a7c23514f6
Really revert the whitespace change to usage().
2004-11-11 18:09:00 +00:00
Diomidis Spinellis
7aaa48252b
Corrected the description of the -t output columns to reflect reality.
...
MFC after: 2 weeks
2004-11-11 17:30:04 +00:00
Gleb Smirnoff
24f3d18aa1
Change TABs back to spaces in usage string constants.
...
Requested by: ru
2004-11-11 16:13:10 +00:00
Gleb Smirnoff
033b92f386
Whitespace.
...
Approved by: cvs diff -b
2004-11-11 09:41:03 +00:00
Gleb Smirnoff
43af2cc4a5
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
Xin LI
37ee573ec6
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
Yoshihiro Takahashi
eadb1eda9f
Fixed fd related tools on pc98.
...
Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
2004-11-09 14:10:18 +00:00
Søren Schmidt
6a33b3c60b
Add -c option that calculates the overhead of read I/O ops.
2004-11-09 12:28:41 +00:00
Ken Smith
de655741ce
Bump document date.
...
Noticed by: trhodes
Pointy hat: kensmith
MFC after: 1 week
2004-11-09 04:41:12 +00:00
Ken Smith
83d71f6175
Add newsyslog(8) to the "See Also" section.
...
MFC after: 1 week
2004-11-09 04:31:31 +00:00
Warner Losh
e9943b1a1b
Remove __P, as well as other non-FreeBSD relevant code.
2004-11-08 23:26:36 +00:00
Dima Dorfman
6143758681
Reflect that -h takes an argument and belatedly bump .Dd for addition of -h
2004-11-07 04:34:37 +00:00
Dima Dorfman
cb4c0b80e8
Make the usage message match reality about -h and -w.
2004-11-07 04:32:51 +00:00
Xin LI
6f52836b84
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 El-Rayes
24286a2292
Add ftp8.de.freebsd.org
...
Requested by: vs
Approved by: ssouhlal
2004-11-06 14:38:54 +00:00
Gleb Smirnoff
240d5a9b1c
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
Gleb Smirnoff
247444670e
- 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
David E. O'Brien
834fc2d5ad
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
David E. O'Brien
dc43dfcd09
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 Davies
62204f60b7
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
Ken Smith
d713872fde
Update the list of package names/descriptions.
...
Last second MFC candidate?
2004-11-03 18:26:06 +00:00
Ruslan Ermilov
dee651eb15
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
Maksim Yevmenkin
e91c64ab6b
Serial devices now called /dev/cuadXX not /dev/cuaaXX
2004-11-02 20:12:06 +00:00
David E. O'Brien
1b0f4fd1db
fix typo in generated /etc/exports: escape all '
2004-11-01 16:32:09 +00:00
Hidetoshi Shimokawa
f62482315a
Add usage of -m option.
2004-10-29 01:24:32 +00:00
Ruslan Ermilov
a35d88931c
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
Dag-Erling Smørgrav
30fdf276fb
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
Dag-Erling Smørgrav
9b736ef9e6
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
Hidetoshi Shimokawa
1be7387c03
Add -m option, set default fwmem target.
2004-10-23 23:28:08 +00:00
SUZUKI Shinsuke
72286081d0
removed compilation warning
...
PR: bin/71624
2004-10-22 07:31:12 +00:00
Robert Watson
9dc981da8d
Remove unnecessary include of vnode.h.
...
Requested by: phk
2004-10-21 11:22:07 +00:00
Simon L. B. Nielsen
3127ce5d60
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