Commit Graph

10908 Commits

Author SHA1 Message Date
maxim
4af3cb5278 o Fix groupadd getopt line and make 'pw groupadd -o' work.
PR:		bin/100684
Submitted by:	Devon H. O'Dell
MFC after:	3 weeks
2006-09-18 14:00:39 +00:00
ume
0f4b1054e7 Listen to a control socket on an IPv4 as well through
an IPv4-mapped IPv6 address.

Reported by:	Julian H. Stacey <jhs__at__flat.berklix.net>
Test by:	Julian H. Stacey <jhs__at__flat.berklix.net>
MFC after:	1 week
2006-09-18 03:50:30 +00:00
emax
01d5e88001 Make op parameter to mux_keyboard() u_int instead of int.
This should fix sparc64 messages like

Sep 15 11:17:39 peahi kernel: WARNING pid 5477 (kbdcontrol): ioctl sign-extension ioctl ffffffff80244b45

PR:		sparc64/96798
MFC after:	1 week
2006-09-15 18:41:12 +00:00
ru
c58b7af845 Removed T/TCP bits. 2006-09-14 08:36:53 +00:00
charnier
5543d83186 initialize unitialized variables (WARNS=6) 2006-09-14 04:45:44 +00:00
charnier
5b67866b9a compile under WARNS=6 2006-09-13 05:01:25 +00:00
emax
776a1a4288 Temporarily put ugly workaround in place to make sparc64 build happy.
panther is down at the moment, so better fix will follow later.
2006-09-08 15:05:38 +00:00
emax
0a0c0e69a8 Update bthidd(8) code and hook it up to the build.
bthidd(8) now was integrated with vkbd(4) and supports
multiple keyboards via vkbd(4)/kbdmux(4).

The code was tested with Apple Bluetooth keyboard and
SE k700i cell phone (remote control feature).

MFC after:	1 month
2006-09-07 21:47:49 +00:00
brian
3e9b75279e Remove leading zeros
Suggested by:	mdoc police (ru)
2006-09-06 15:58:59 +00:00
brian
1b7ae73acb Remove __DATE__ so that compiling the same source produces the same binary
(for non-static binaries at least).
2006-09-06 06:33:39 +00:00
brian
66eb15d8c9 If the peer REJects our MRU request and that request is for a value
less than the current MTU, set our mtu to the value requested.
2006-09-06 06:23:55 +00:00
sam
e0d6b62fc6 update for v3.9.4
MFC after:	1 month
2006-09-04 20:27:05 +00:00
sam
6d7a94cfc0 add define's from config.h for pcap-int.h; this is a noop now
but will be required for libpcap 0.9.4
2006-09-04 19:30:44 +00:00
ru
27ee15c183 Use a #define to refer to /etc/crontab. 2006-09-03 17:52:19 +00:00
sam
ba5297eb2d incorporate Rui Paulo's work
Obtained from:	netbsd
2006-09-02 17:56:24 +00:00
cperciva
bba5063847 Conform to wider English usage.
Submitted by:	Royce Williams
2006-09-02 10:47:01 +00:00
phk
8200abddc7 Document that the default timeout is 16 seconds 2006-09-02 09:11:58 +00:00
marius
0c8438c832 - Improve the description of gem(4); the Sun chips it supports are
termed ERI and GEM rather than GMAC.
- Bring the description of le(4) in line with the current le(4); it
  was still refering to the old i386 ISA-only le(4) which was nuked
  along with ISA_COMPAT while HEAD was FreeBSD 5.
- Add an entry for hme(4).
- Remove the obsolete entry for lnc(4).

MFC after:	1 day
2006-09-01 22:34:49 +00:00
marius
d091df4112 Add missing '?' in "watchdog-enable?".
MFC after:	1 day
2006-09-01 20:09:22 +00:00
marius
c55f33501e Fix indentation in two spots to match the rest of this file. 2006-09-01 20:07:15 +00:00
cperciva
83b65bce01 s/MAN8/MAN/
Pointed out by:	ru
2006-09-01 09:49:09 +00:00
ru
94152634a0 Style. 2006-09-01 09:24:28 +00:00
ru
421c131e57 It's spelled MAN. 2006-09-01 09:07:11 +00:00
cperciva
1caefdfb4b Add FreeBSD Update 2.0 client code. The build code is in the projects
repository.

Sponsored by:	FreeBSD security development fundraiser
2006-08-31 09:51:34 +00:00
brooks
a06320cbe1 When generating localhost entries in /etc/hosts, put localhost before
localhost.domain so that naive users of gethost* think 1:: and 127.0.0.1
are "localhost" which is what the user expects.  This also matches the
sample hosts file in src/etc/hosts.
2006-08-30 15:14:00 +00:00
thomas
7b372bea7e Set alarm timer for grace period from the grace_period variable, instead
of hard-coding a value of 10 seconds. Command line flag -g is thus now
correctly taken into account.

PR:		bin/102176
MFC after:	1 week
2006-08-23 15:59:43 +00:00
ru
4d582ffe09 Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
marcel
78738a2fe9 Build mount_smbfs on ia64. 2006-08-22 03:31:24 +00:00
brueffer
65aa408be8 Add several missing NIC drivers, remove two obsolete ones (el, ix).
Approved by:	rwatson (mentor)
MFC after:	1 week
2006-08-21 09:25:59 +00:00
ru
26c2f5823f Fix the output glitch. 2006-08-21 09:15:17 +00:00
delphij
e0f5f00d16 Use same signedness for i and matched_c. This should make
newsyslog(8) WARNS=6 clean.
2006-08-17 18:15:43 +00:00
yar
f6a5a99700 Enumerate all cases where -i is applicable.
MFC after:	3 days
2006-08-17 07:14:01 +00:00
maxim
94f32e8aed o Style previous. 2006-08-17 05:55:20 +00:00
thomas
99c9166015 Use setproctitle(3) to provide identification of the client and server
processes created by rpc.lockd.

MFC after:	1 week
2006-08-16 18:33:35 +00:00
thomas
babdb5cd99 Remove unsafe use of asynchronous I/O (the SIGIO handler could cause
incorrect reentrant calls to the libc memory manager).

Add missing error handling:
  * for an incoming response with an incorrect tid;
  * for a failure to register the response RPC program,

Fix error handling for failure to malloc job descriptor (this needs to
be done before the transient RPC program is registered).

PR:		bin/102143
MFC after:	2 weeks
2006-08-16 12:58:41 +00:00
dd
aea18db9ce Improve wording for -f and -F. 2006-08-14 08:49:08 +00:00
ru
1ca146c450 Don't push a map on a master server which will fail anyway.
PR:		bin/72881
Submitted by:	thomas (slightly coloured by me)
2006-08-13 19:57:32 +00:00
cperciva
4b151a7c44 Undefine __DATE__ in order to avoid placing a build timestamp into
/usr/sbin/{named, lwresd}.  Note that POSIX / C99 doesn't technically
allow __DATE__ to be (un|re)defined, but gcc does what we mean anyway.

Approved by:	dougb
MFC after:	1 month
2006-08-13 05:32:10 +00:00
krion
2262442192 Fix "pkg_version -Io" coredump, if some packages have no origin at
all.

PR:		bin/101932
Submitted by:	novel, sat
MFC after:	5 days
2006-08-12 18:32:51 +00:00
thomas
ca8128c8a2 Remove extraneous trailing \0 in string literal.
MFC after:	2 weeks
2006-08-11 23:03:16 +00:00
thomas
38872801d1 (sm_mon_1_svc): Fix debugging output: when establising a monitoring
request, correctly report the location (usually localhost) to which
 a callback will be made when a notification is received for the
 monitored host. Previsouly, the name of the monitored host was
 reported instead.

MFC after:	2 weeks
2006-08-11 21:44:53 +00:00
des
0db8ebe1fb Cosmetic: fix indentation. 2006-08-11 17:17:14 +00:00
netchild
ce06f7617e Readd sade, the problem should be fixed. 2006-08-09 11:26:11 +00:00
netchild
67507b4620 Remove the keymap stuff too, it is not needed in sade. 2006-08-09 11:25:10 +00:00
netchild
2c46c25111 Get rid of the rtermcap stuff (embedding termcaps into the program). This
is needed in sysinstall on boot, but not in sade on a fully working system.

After this change I noticed no change in behavior on a vty when TERM is not
set.
2006-08-09 09:12:01 +00:00
delphij
d17b3a7401 Bump WARNS level to 3.
Tested with:	make universe
2006-08-09 08:25:21 +00:00
delphij
a93b38a988 Unbreak sparc64 build.
Reported by:	tinderbox
2006-08-09 08:24:46 +00:00
delphij
451dea5920 Fix PC98 build.
Spotted by:	make universe
2006-08-09 05:33:45 +00:00
sam
61170ddc7b disconnect sade until someone fixes tinderbox builds 2006-08-09 05:26:19 +00:00
delphij
9587fe5a7f Partitions are only meaningful for i386 and amd64 architectures, so disable
these code on other architectures.
2006-08-08 14:28:03 +00:00