Commit Graph

58007 Commits

Author SHA1 Message Date
Alfred Perlstein
4ed6d63483 Hopefully fix some of the bugs in passing credentials over UNIX domain sockets.
Make struct cmessage visible from socket.h (about 4 places were
defining it for themselves which wasn't good)

Make __rpc_get_local_uid() useable and give it prototype that's
visible.

Fix some issues with printing out usernames from rpcbind and keyserv.
2001-03-22 04:31:30 +00:00
Robert Watson
2f7aab1c26 o Remove BINMODE=0550 -- no need to restrict execution rights as the
authorization check is on /dev/{,k}mem.
o Update man page to reflect requirement that gid kmem privileges must
  be held, not root.  (submitted by: peter)
2001-03-22 04:27:46 +00:00
Robert Watson
a8ee378010 o Strip BINMODE from Makefile. Installing watch with 0500 provides no
added security benefit, as it doesn't provide extra privilege.
  Protection against inappropriate snooping is done by protecting
  /dev/snp* properly.
2001-03-22 04:10:51 +00:00
Robert Watson
4482ce0f57 o Slap some "_"'s in front of variable names relating to extattr functions,
so as not to pollute application namespace.

Submitted by:	bde
2001-03-22 04:05:40 +00:00
Cameron Grant
73770282cf add/correct a bunch of codec ids
Obtained from:	linux, alsa, various datasheets
2001-03-22 02:41:24 +00:00
Bruce A. Mah
937250e681 New release notes: OpenSSH resistance to traffic analysis, make(1)
bugs fixed, fsck_ffs in background on mounted filesystems, TI-RPC,
portmap(8)->rpcbind(8), IPv6 support in NFS, lockd, rc(8) dependency
handling.

Synch up hardware devices with etc/defaults/pccard.conf 1.98.2.19
(yes, from RELENG_4).  This change needs to be propagated to RELNOTESng.
2001-03-22 02:40:50 +00:00
John Baldwin
3c0df1109f - XF86.patch is no longer needed as it is all checked into the XFree86
port conditional on the BUILD_XDIST variable.
- Define BUILD_XDIST=yes when compiling XFree86.
2001-03-22 01:47:02 +00:00
Andrey A. Chernov
3740863d60 Properly deal with one char weekdays 2001-03-22 00:38:46 +00:00
Andrey A. Chernov
e036a70eb9 Uppercase first month letter
Terminate weekday string
2001-03-22 00:25:26 +00:00
Alfred Perlstein
a191fd1be7 This adds /etc/netconfig to the list of files that get copied to
/stand/etc on the mfsroot, and hence to /etc on the install target
disk for use during the install. It also links netconfig and services
into /etc on the mfsroot so that they are available to a fixit
shell.

Submitted by: iedowse
2001-03-21 23:53:40 +00:00
Bill Paul
d0230d0442 ypserv has intimate knowledge of the server transport handle which is
needed to make the asynchronous DNS lookup mechanism work. (It needs to
be able to get/set the transaction ID in the trasport handle so it can
deliver a delayed UDP response when a reply is received from a DNS
server.) With TI-TPC, the transport handle has changed slightly (what
used to be an int is now a size_t) so we need to account for this.
2001-03-21 23:47:18 +00:00
Andrey A. Chernov
eb17d7b363 Add padding for some short names to make their length the same to not
break colums
2001-03-21 23:24:41 +00:00
Robert Watson
7b4dc13de4 o Remove an unnecessary debugging printf from ufs_extattr_lookup(),
which resulted in the output of warning messages at boot if
  UFS_EXTATTR_AUTOSTART was enabled but ".attribute" and possible
  sub-directories weren't in a mounted MFS or UFS file systems.

Pointed out by:	dcs
Obtained from:	TrustedBSD Project
2001-03-21 23:00:39 +00:00
Peter Wemm
db5882e725 Help standalone builds by getting libutil.h from src/lib/libutil 2001-03-21 22:54:59 +00:00
Andrey A. Chernov
3b690f8902 Remove fixed length restrictions and padding 2001-03-21 22:54:44 +00:00
Peter Wemm
d77052e5fa Find <libkvm.h> in the source tree. This helps standalone builds. 2001-03-21 22:52:48 +00:00
Scott Long
d5fd2abf4f Back out rev 1.4. The advertised 64K limit on transfers only applies when
using 64bit S/G entries.  With this reverted, we are seeing >92MB/sec reads
and >42MB/sec writes on a RAID-5 container.
2001-03-21 21:53:09 +00:00
Andrey A. Chernov
9575fb2f65 Fix width for printing time 2001-03-21 21:49:33 +00:00
Andrey A. Chernov
fcf8327355 Don't attempt to parse %c 2001-03-21 21:17:54 +00:00
Jordan K. Hubbard
114e70b5ab Until this is *truly* unused (sorry Steve) and replaced by something
better, put it back.
2001-03-21 21:16:18 +00:00
Andrey A. Chernov
f1b3d82406 Don't attempt to parse %c 2001-03-21 20:47:43 +00:00
Andrey A. Chernov
6ab831378a Don't attempt to parse %c 2001-03-21 20:32:20 +00:00
Alfred Perlstein
9eb8ec95f4 Include headers to unbreak world.
Submitted by: Ollivier Robert <roberto@eurocontrol.fr>
2001-03-21 20:30:35 +00:00
Andrey A. Chernov
3bd65123fa Don't attempt to parse %c 2001-03-21 20:26:51 +00:00
John Baldwin
b833d157c7 Always disable paging when exiting back to real mode after receiving a
fatal trap.  Also, reload the GDT register to point to BTX's GDT before
playing around with the segment registers to return to real mode.  This is
helpful if the kernel causes a fatal exception before it has setup its own
IDT and fault handlers.  For example, if one happens to break mtx_init().
Without these changes BTX would recursively page fault (if paging was not
disabled) or triple fault and reset the CPU (without the GDT reload)
instead of providing a potentially useful register dump.

Reviewed by:	rnordier
2001-03-21 20:08:07 +00:00
Andrey A. Chernov
2bd3c6a70d Cosmetique, use %R instead of %H:%M 2001-03-21 19:19:57 +00:00
Bruce A. Mah
eee43daea7 Reorder mergemaster entries to be adjacent. Reorder FFS-related
entries to be adjacent.

No new text.
2001-03-21 19:16:51 +00:00
Andrey A. Chernov
e36de81ee2 Don't attempt to parse %c 2001-03-21 19:16:41 +00:00
Andrey A. Chernov
a99768c6e2 Don't attempt to parse %c 2001-03-21 19:08:01 +00:00
Bruce A. Mah
18e7f42093 New release notes: ahc(4) bugfixes, FNV NFS hash, syscons(4) keyboard
paste, glob(3) limits, ping(8) -m.
2001-03-21 19:04:31 +00:00
Andrey A. Chernov
f4d292b799 Don't attempt to parse %c 2001-03-21 18:43:49 +00:00
Andrey A. Chernov
fa2b491527 Don't attempt to parse %c, use nl_langinfo instead 2001-03-21 15:51:50 +00:00
Andrey A. Chernov
800f0ffbbe Don't attempt to parse %c, use nl_langinfo instead 2001-03-21 15:41:02 +00:00
Andrey A. Chernov
1f30a4236c Restore old locale properly 2001-03-21 15:39:17 +00:00
Andrey A. Chernov
8234eb2519 Silence minor cc warning 2001-03-21 15:14:47 +00:00
Andrey A. Chernov
b4e3ab4a9c Don't attempt to parse %c output, use nl_langinfo instead 2001-03-21 15:13:50 +00:00
Søren Schmidt
0aef91a149 The size of the disk can't be gotten reliably with the read capacity
command, so use the info from the TOC instead.
2001-03-21 14:59:38 +00:00
Andrey A. Chernov
58dae109b5 Get rid of non-standard %E[Ff] formats, userland apps already fixed 2001-03-21 14:52:12 +00:00
Andrey A. Chernov
77b898c43a Use nl_langinfo instead of %Ef 2001-03-21 14:32:02 +00:00
Mark Murray
9b399f7ec9 Paranthesise macros. This fixes an unlikely bug and silences lint. 2001-03-21 14:31:51 +00:00
Andrey A. Chernov
f5e40af22e Use nl_langinfo instead of %EF 2001-03-21 14:24:05 +00:00
Andrey A. Chernov
50b4c62c47 Oops, back out prev. change - POSIX require %y in d_fmt
Cosmetique - use exact POSIX string for %c
2001-03-21 14:12:37 +00:00
Orion Hodson
50aac86c8a Change type of channel speed variable from "int" to "u_int32_t" to
avoid overflow when scaling playback rate.  Fixes 44.1k playback from
being 48k (I am deaf to this difference...).
2001-03-21 14:10:51 +00:00
Andrey A. Chernov
e81765cbbc Replace %y with %Y 2001-03-21 13:55:09 +00:00
Andrey A. Chernov
b01e74b72e Use %c for expire/change dates 2001-03-21 13:46:09 +00:00
Andrey A. Chernov
497c755856 Use nl_langinfo instead of %Ef 2001-03-21 13:41:03 +00:00
Andrey A. Chernov
5f94e68da9 Use nl_langinfo instead of %Ef 2001-03-21 13:33:09 +00:00
Andrey A. Chernov
28fd017a11 Use nl_langinfo instead of %Ef 2001-03-21 13:21:20 +00:00
Orion Hodson
bd01f3f982 Change ordering of SPDIF register pokes. SPDIF enable needs to be the
last poke in sequence.  Enabling SPDIF was coercing output rate to
48K, not good for 44.1K tracks.
2001-03-21 12:51:37 +00:00
Søren Schmidt
256d331f31 Set the device names as early as possible. 2001-03-21 11:49:07 +00:00