ru
3b01b84505
NOATM -> NO_ATM
2004-12-21 09:08:06 +00:00
ru
ba3655c74f
NOLIBC_R -> NO_LIBC_R
...
NOLIBPTHREAD -> NO_LIBPTHREAD
NOLIBTHR -> NO_LIBTHR
2004-12-21 09:00:26 +00:00
ru
cec60429bb
Start the dreaded NOFOO -> NO_FOO conversion.
...
OK'ed by: core
2004-12-21 08:47:35 +00:00
maxim
78757e68aa
Allocate an additional white space in a username column for
...
a long (UT_NAMESIZE) login names.
PR: bin/75259
Submitted by: Matthew D.Fuller
MFC after: 2 weeks
2004-12-19 18:02:45 +00:00
gad
4572e84e4f
Call umask() before opening the lock-file for a queue, to make sure
...
the file will be created with the right access, if the call to open()
does create it. Also fix the other call to umask() to turn off
"write others", just as a matter of general safety.
PR: 74418
MFC after: 4 days
2004-12-19 05:14:29 +00:00
phk
644cffdbea
Open device R/W for ioctl modifications.
2004-12-18 11:04:10 +00:00
ru
c5bea8b66d
err() -> errx()
2004-12-17 13:24:22 +00:00
gad
60517f2012
When printing a data file received from some other host, check to make
...
sure the data file has been completely transfered before starting to
print it. This is needed because some implementations of lpr will send
the control-file for a print job before sending the matching data-files,
and that can cause problems if the receiving host is a busy print-server.
MFC after: 2 weeks
2004-12-17 01:54:50 +00:00
roam
057c46b46b
Describe the special meaning of the $ and ~ characters, and the fact
...
that you can get around it by double-quoting them.
PR: 42762
Submitted by: AIDA Shinra <aida-s@jcom.home.ne.jp>
Discussed with: brian
2004-12-16 16:59:19 +00:00
ru
d3504131a5
The ioconf.c is no longer generated.
...
Submitted by: Craig Rodrigues
2004-12-16 09:52:41 +00:00
brueffer
ef59040775
- Xref fwip(4)
...
- bump .Dd
MFC after: 3 days
2004-12-14 20:44:37 +00:00
brian
ae06668733
Handle select() returning -1/EINTR - fairly common in these KSE days.
...
PR: 74972
MFC after: 3 days
2004-12-13 14:50:13 +00:00
brian
8c9a4071f7
Implement an ``enable/disable echo'' option, defaults to off.
...
This allows LCP ECHOs to be enabled independently of LQR reports.
Note: This introduces a change in the default behaviour (search for lqr and
echo in the man page). I'll update UPDATING to reflect this.
PR: 74821
2004-12-13 12:51:19 +00:00
phk
fe016ce224
Also do not send junk mount arguments when removing exports.
2004-12-11 12:51:20 +00:00
gshapiro
35ee62eea5
Enable _FFR_DEAL_WITH_ERROR_SSL to deal with OpenSSL error returns of 0.
...
PR: bin/73105
MFC after: 2 days
2004-12-10 19:15:31 +00:00
delphij
83790ecb0c
Correct two bugs that may result in incorrect CBCP response for
...
administrator specified number.
The implementation in our version transmits extra zero byte that is a
violation of the Microsoft PPP Callback Control Protocol section 3.2[1].
This can lead to incorrect behavior on certain devices, as reported
in bin/50613.
Confirmed with: cbcp.c in ppp's cvs, rev. 1.4 and 1.15 [2]
Submitted by: Dmitry Pryanishnikov <dmitry at atlantis.dp.ua>
PR: bin/50613
[1] http://www.dsl.gr.jp/~manabe/PPxP/doc/Standards/draft-gidwani-ppp-callback-cp-00.txt
[2] http://cvs.samba.org/cgi-bin/cvsweb/ppp/pppd/cbcp.c
http://www.samba.org/cvs.html
2004-12-06 15:49:52 +00:00
phk
797ee56603
Userland change corresponding to the change in kernel/userland communication
...
for NFS locking.
2004-12-06 08:32:09 +00:00
brian
5cb5074262
Send NAS-IP-Address as well as NAS-Identifier
...
Add ``disable NAS-IP-Address'' and ``disable NAS-Identifier'' options to
support pre-rfc2865 RADIUS servers.
This pushes our enable/disable items over the 32 bit limit, so reoganise
things to allow a bunch more options.
Go to version 3.4.1 so that any compatability problems can be identified.
2004-11-29 17:11:15 +00:00
iedowse
b845ce70e0
Fix a few coding errors that caused compiler warnings.
...
PR: bin/71615
Submitted by: Craig Rodrigues (original patch by Dan Lukes)
2004-11-28 20:36:19 +00:00
das
130bed6547
Don't include sys/user.h merely for its side-effect of recursively
...
including other headers.
2004-11-27 06:51:39 +00:00
maxim
52c7e742ee
Increase a socket receive buffer size. This helps 'ngctl list'
...
to deal with a big number of nodes.
Submitted by: archie
Approved by: archie
Reported and tested: Konstantin Timashkov
MFC after: 1 month
2004-11-25 09:27:56 +00:00
imp
00db5ac668
o Report charge/discharge rate and remaining capacity in the proper
...
units (as specified in _BIF). (noted by Bruno Ducrot)
o In looking in the standard, if the cap numbers are 0xffffffff, then acpi
is reporting unknown for that field. Report unknown numbers properly.
o Update the state to reflect charging, discharging and critical.
2004-11-24 16:02:20 +00:00
imp
d211cd088b
phk jumped the gun and posted what looks like a preliminary version of
...
my patches for this information. Commit my more complete version.
This version isn't complete yet, since some details aren't handled
right just yet.
Poaching by: phk
2004-11-24 15:32:07 +00:00
phk
897db391de
Dump current status of battery as well.
...
The -i code doesn't really belong here in the first place I would think,
but keep it together for now.
2004-11-24 12:49:39 +00:00
obrien
b9dd8b026d
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
obrien
4f24961bde
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
obrien
090bfc3771
Make logic more readable.
2004-11-19 03:52:41 +00:00
emax
d4ffd83e77
Check in updated bthidd(8). This is still work in progress.
2004-11-18 18:05:15 +00:00
glebius
a187eb4ddf
s/priveleged/privileged/
2004-11-18 13:37:33 +00:00
keramida
7731e3a14e
Fix a minor comment typo: priveleged = privileged.
2004-11-18 12:20:52 +00:00
delphij
65c65c74d4
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
delphij
0c3804bf65
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
0e542df6cb
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
jhb
5437b62b67
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
imp
b6ac51fc6e
Minor style(9) before possible larger commits.
2004-11-16 06:25:02 +00:00
bz
4b83c5852a
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
34ee3dd317
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
39c4570592
With the addition of a proper prototype, this is now WARNS=6 clean.
2004-11-13 01:54:22 +00:00
philip
985b7bf736
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
65415730ab
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
207e12641f
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
5a9a7a2d13
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
857e7a5e8f
Really revert the whitespace change to usage().
2004-11-11 18:09:00 +00:00
dds
7dc3219d5e
Corrected the description of the -t output columns to reflect reality.
...
MFC after: 2 weeks
2004-11-11 17:30:04 +00:00
glebius
790ed93433
Change TABs back to spaces in usage string constants.
...
Requested by: ru
2004-11-11 16:13:10 +00:00
glebius
b0c7fef551
Whitespace.
...
Approved by: cvs diff -b
2004-11-11 09:41:03 +00:00
glebius
dc109677f9
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
05758a9b47
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
749586a21a
Fixed fd related tools on pc98.
...
Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
2004-11-09 14:10:18 +00:00
sos
ab25fa1db2
Add -c option that calculates the overhead of read I/O ops.
2004-11-09 12:28:41 +00:00
kensmith
da4c6a0746
Bump document date.
...
Noticed by: trhodes
Pointy hat: kensmith
MFC after: 1 week
2004-11-09 04:41:12 +00:00
kensmith
87c5f8055e
Add newsyslog(8) to the "See Also" section.
...
MFC after: 1 week
2004-11-09 04:31:31 +00:00
imp
d65fc5e796
Remove __P, as well as other non-FreeBSD relevant code.
2004-11-08 23:26:36 +00:00
dd
df15e501af
Reflect that -h takes an argument and belatedly bump .Dd for addition of -h
2004-11-07 04:34:37 +00:00
dd
52c96fe09a
Make the usage message match reality about -h and -w.
2004-11-07 04:32:51 +00:00
delphij
d6d53b5cee
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
0141ffb284
Add ftp8.de.freebsd.org
...
Requested by: vs
Approved by: ssouhlal
2004-11-06 14:38:54 +00:00
glebius
dfc6a366e7
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
76ec624d74
- 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
3823a528e6
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
7d37b730a9
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
354fb22308
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
bf16c0707e
Update the list of package names/descriptions.
...
Last second MFC candidate?
2004-11-03 18:26:06 +00:00
ru
f0fbc30e0d
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
73349ef8ea
Serial devices now called /dev/cuadXX not /dev/cuaaXX
2004-11-02 20:12:06 +00:00
obrien
d35dbc74e3
fix typo in generated /etc/exports: escape all '
2004-11-01 16:32:09 +00:00
simokawa
616a502e11
Add usage of -m option.
2004-10-29 01:24:32 +00:00
ru
5db2b9d5b3
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
des
497829719b
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
daaffcb3c0
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
590558cea7
Add -m option, set default fwmem target.
2004-10-23 23:28:08 +00:00
suz
1180ce1062
removed compilation warning
...
PR: bin/71624
2004-10-22 07:31:12 +00:00
rwatson
3612fd4a66
Remove unnecessary include of vnode.h.
...
Requested by: phk
2004-10-21 11:22:07 +00:00
simon
5fe3f69282
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
0242673259
Make the -m option actually work.
2004-10-19 20:30:09 +00:00
obrien
0d65229cb7
This is now WARNS 6 clean on 64-bit platforms.
2004-10-19 18:09:29 +00:00
ru
c5d8886d04
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
113cb203cb
Utilize SCRIPTS.
2004-10-18 21:29:20 +00:00
ru
f1a03580bb
Replaced afterinstall: with FILES.
2004-10-18 17:20:29 +00:00
obrien
a4ca4e84c4
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
c0d4a309fc
Remove an extra semicolon after a function.
2004-10-17 21:29:53 +00:00
stefanf
8d3bcc2e7a
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
3cbb3acdbd
Set the real limits on 5-current, add 5-stable, add 6-current.
2004-10-17 14:36:30 +00:00
phk
5475444429
We accept both "option" and "options" so also accept both "nooption"
...
and "nooptions".
2004-10-12 13:21:44 +00:00
brian
0f52c1eaeb
Handle a malloc() failure when allocating urgent ports
...
PR: 59995
2004-10-11 10:21:53 +00:00
brian
fb00aab954
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
be2c53da9e
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
le
82d0e3bd69
Add an '-a' switch to only display providers that are at least
...
0.1% busy.
OK'ed by: phk
2004-10-10 16:13:11 +00:00
stefanf
84ce4c8729
Include <unistd.h> for {g,s}eteuid().
2004-10-09 15:36:13 +00:00
keramida
65c5851ae2
Delete a .Fn that had no argument and
...
properly terminate a .Bl with a matching .El
MFC after: 3 days
2004-10-09 04:03:08 +00:00
brooks
0f55bc1d45
Mention "-d directory" in usage().
...
Pointy hat to: brooks
2004-10-06 04:47:37 +00:00
brooks
626003d727
Don't prepend the directory specified by -d when the file is a relative
...
path. Doing so makes no sense. I'm not sure allowing relative paths
makes sense either, but I'm not going to break that now.
2004-10-05 22:16:31 +00:00
njl
122c371535
Update a comment that was outdated.
2004-10-05 21:24:20 +00:00
njl
d99a39abe6
Back out the -s flag and go back to dumping the SSDTs by default.
2004-10-05 20:45:05 +00:00
njl
c5a7af0768
Update the man page for the -s flag and other changes that we've missed.
...
MFC after: 3 days
2004-10-05 02:19:30 +00:00
njl
7195f265b6
Add the -s flag to make dumping SSDTs optional (disabled by default).
...
Since we can only override the DSDT, a custom ASL dumped previously that
contained SSDTs would result in lots of multiple definition errors.
A longer-term fix involves adding the ability to override SSDTs to ACPI-CA.
MFC after: 3 days
2004-10-05 02:18:53 +00:00
brooks
a8b1fd9efb
Add a new -d argument which is used to specify an alternate root for log
...
files similar to DESTDIR in the BSD make process. This only affects log
file paths not config file (-f) or archive directory (-a) paths.
2004-10-04 23:35:13 +00:00
rse
ec69c004dc
fix typo in generated /etc/exports: s/synatx/syntax/
2004-10-04 15:13:51 +00:00
stefanf
d768a89209
Don't rely on NULL being a pointer, add a cast before passing it to a variadic
...
function.
2004-10-03 14:40:27 +00:00
phk
f697f4f13e
Get debugging macros from sivar.h
...
Disable some code which magics minor numbers into card/port numbers.
I think we will have to parse this from the device name in the future,
but I need to confer with peter@ about this.
Put sicontrol back in the build.
Troublespotter: dwhite
2004-10-02 18:51:37 +00:00