Commit Graph

76181 Commits

Author SHA1 Message Date
brian
6451cbfc37 Add the following functions:
rad_request_authenticator()
    Returns the Request-Authenticator relevant to the most recently received
    RADIUS response.

  rad_server_secret()
    Returns the Shared Secret relevant to the most recently received
    RADIUS response.

Neither of these functions should be necessary, however, the
MS-MPPE-Recv-Key and MS-MPPE-Send-Key Microsoft Vendor Specific
attributes are supplied in a mangled (encrypted) format, requiring
this information to demangle.

It's not clear whether these functions should be replaced with a
rad_demangle() function or whether these attributes are one-offs.

Sponsored by: Monzoon
2002-06-12 00:21:07 +00:00
bmah
5910f71a49 Add role="historic" attributes to all release notes that were MFC-ed
as of 4.6-RELEASE (or earlier).  This commit shouldn't have any immediate
effect, but we'll eventually use some stylesheet magic to remove
the historic release notes from the output stream.  This will have
the effect of making the 5.0-RELEASE release notes contain material
only relevent to -CURRENT *or* recently MFC-ed to 4-STABLE.

The stylesheet fixes will follow later, once I work out a couple more
details.  I wanted to get this commit done now, before anything gets
MFC-ed in the post-4.6 world (so we don't need to go back later and
figure this out).

If a historic release note gets modified, it may very well be
appropriate to remove its historic attribute.
2002-06-11 23:06:41 +00:00
bmah
25bcb06347 New release notes: GNU sort (textutils 2.0.21), NetBSD stat 20020605,
GNU tar 1.13.25.

Updated release notes:  IPFilter 3.4.28.
2002-06-11 21:43:54 +00:00
alfred
efbfedf38f This actually compiles under lint now, by effectively #if 0'ing it
when compiling LINT, linking LINT was broke, so unbreak by removing
the preprocessor directives.
2002-06-11 21:22:32 +00:00
gshapiro
9953e77d5d sendmail 8.12.4 has been imported. 2002-06-11 21:18:42 +00:00
gshapiro
2dfe5b7d1f sendmail 8.12.4 has been imported 2002-06-11 21:17:35 +00:00
gshapiro
220f16ab28 Resolve conflicts from sendmail 8.12.4 import 2002-06-11 21:16:51 +00:00
alfred
2981fd13d9 catch up with ktrace changes, KTRPOINT takes a 'struct thread' not
'struct proc' now.
2002-06-11 21:14:02 +00:00
gshapiro
651347ee57 This commit was generated by cvs2svn to compensate for changes in r98121,
which included commits to RCS files with non-trunk default branches.
2002-06-11 21:12:04 +00:00
gshapiro
faacdfb2c2 Import sendmail 8.12.4 2002-06-11 21:12:04 +00:00
kbyanc
7188c1cf25 Time counter stats are unsigned, advertise them to sysctl(8) that way.
PR:		(one small part of) 19720
Approved by:	phk
2002-06-11 19:47:44 +00:00
alc
f56d506214 o Properly handle a failure by vm_fault_wire() or vm_fault_user_wire()
in vm_map_wire().
 o Make two white-space changes in vm_map_wire().

Reviewed by:	tegge
2002-06-11 19:13:59 +00:00
wollman
6ec55d518d SO_PRIVSTATE has been commented out for long enough now.... 2002-06-11 18:23:11 +00:00
des
0c268b1caa Add a reference count to struct fetchconn so we don't prematurely close and
free a cached FTP connection.
2002-06-11 11:27:28 +00:00
robert
080b5734db Use the constants from <limits.h> for the sizes of integral C types
rather than defining them ourselves.
2002-06-11 11:27:20 +00:00
hsu
42cac6dc56 Remember to initialize the control block head mutex. 2002-06-11 10:58:57 +00:00
hsu
d3da9a02c7 Fix typo.
Submitted by:	Kyunghwan Kim <redjade@atropos.snu.ac.kr>
2002-06-11 10:56:49 +00:00
phk
13d1c9d2c2 #include <sys/disklabel.h> to get BBSIZE. 2002-06-11 10:19:59 +00:00
tjr
444cc88762 paste(1) appeared at least as early as 32v. 2002-06-11 08:13:03 +00:00
tjr
936df20aec cut(1) appeared at least as early as System III. 2002-06-11 08:11:12 +00:00
phk
fce2951b7c Make the alpha architecture use the common ufsread().
Submitted by:	ticso
2002-06-11 06:56:31 +00:00
alc
0fcc40c415 o Teach vm_map_delete() to respect the "in-transition" flag
on a vm_map_entry by sleeping until the flag is cleared.

Submitted by:	tegge
2002-06-11 05:24:22 +00:00
hsu
81fd97f462 Every array elt is initialized in the following loop, so remove
unnecessary M_ZERO.
2002-06-10 23:48:37 +00:00
jmallett
110dcc0dbb Note that this appeared at least as early as PWB UNIX.
Use the literal string 'PWB UNIX', as we still have no .At macro for it.
2002-06-10 22:59:59 +00:00
jmallett
d1a89591eb ps(1) appeared in v4
Submitted by:	grog
2002-06-10 22:48:51 +00:00
kbyanc
957938358a Convert hit and miss counters to unsigned values. Surely negative values
for either does not make sense.

PR:		(one small part of) 19720
2002-06-10 22:40:26 +00:00
jdp
ffee98fe60 Dillon's recent commits to the dynamic linker without running them
by me first have given me a good excuse to drop my MAINTAINERship.

MFC after:	1 week
2002-06-10 21:51:16 +00:00
dillon
2431389cc8 Correct a bug in the last commit. The whole point of creating a 'done:'
goto target was so the cache could be freed.  So free the cache after
done: rather then before done: (!)

Submitted by:	Gavin Atkinson <gavin@ury.york.ac.uk>
2002-06-10 21:15:50 +00:00
hsu
36ef61d09d Lock up inpcb.
Submitted by:	Jennifer Yang <yangjihui@yahoo.com>
2002-06-10 20:05:46 +00:00
sobomax
d686399a1f - Whitespace only: use return statement consistentlt (return (foo), not
return(foo)), kill extra blank names between function names;
- fix format string in printf(): devtoname() returns string, not pointer.
2002-06-10 19:25:21 +00:00
dillon
cfbf1ae790 In tracking down an installation seg fault with then openoffice port
Martin Blapp determined that the elf dynamic loader was at fault.  In
particular, the loader uses alloca() to allocate a symbol cache on the
stack.  Normally this would work just fine, but if the loader is called
from a threaded program and the object being loaded is fairly large the
alloca() can blow away the thread stack and effect other nearby thread
stacks as well.  My testing showed that the symbol cache can be as large
as 250KBytes during the openoffice port build and install sequence.  Martin
was able to work around the problem by disabling the symbol cache
(cache = NULL;).  However, this solution is not adequate for commit because
it can cause an enormous cpu burden for applications which do a lot of
dynamic loading (e.g. like konqueror).

The solution is to use anonymous mmap() to temporarily allocate space to
hold the symbol cache.  In testing I found that replacing the alloca()
with mmap() has no observable degredation in performance.

It should be noted that this bug does not necessarily cause an immediate
crash but can instead result in long term corruption and instability in
applications that load modules from threads.  The bug is almost certainly
responsible for some of the instabilities found in konqueror, for example,
and possibly netscape too.

Sleuthing work by: Martin Blapp <mb@imp.ch>
X-MFC after:	Before or after the 4.6 release depending on the release engineers
2002-06-10 18:52:31 +00:00
phk
7d482be259 Put geom_gpt.c under the GEOM option instead of having a special GEOM_GPT
option for it.
2002-06-10 18:49:41 +00:00
davidc
ce87e3ccb3 Fix up the wording thoughout, and document locking. 2002-06-10 17:36:05 +00:00
davidc
2d1c181442 Fix wording and spelling in the trapsignal() description. 2002-06-10 17:08:42 +00:00
obrien
0b0d7b2dfe cvs -j -j gave me two copies of TARGET_VERSION and I didn't notice
it before committing.
2002-06-10 15:48:23 +00:00
tjr
c94108be15 Remove -j from synopsis. The form given in the synopsis was incorrect,
and it should not have been there at all since it is a deprecated option.
2002-06-10 10:39:33 +00:00
tjr
b12c85e6a0 When stat(2) fails, put the name of the component it failed on in the
warning message as well as the path argument.
2002-06-10 10:03:46 +00:00
tjr
5c69fd5294 Sort sections, use Ex macro in Diagnostics section, point out that the first
example only works with csh(1).
2002-06-10 09:33:15 +00:00
tjr
c25b9da51a Add History section. sleep appeared in v4. 2002-06-10 09:07:22 +00:00
jmallett
9820449de2 Add another example for using paste(1) since tjr seemed to want more examples
on IRC.  This one is to create a colon seperated list of directories from
find(1), suitable for use in the shell's PATH.
2002-06-10 09:03:49 +00:00
tjr
ebcf542987 Add an EXAMPLES section with three examples. Document the problem with
multibyte characters and the -d option in a BUGS section.
2002-06-10 08:50:56 +00:00
tjr
26db9dd471 Refer to environ(7) for description of COLUMNS instead of describing it
in-line. Document effects of locale environment variables in the same way.
2002-06-10 07:55:13 +00:00
tjr
8022fb8d6a The 10 occurrence limit for the `s' command documented here has not existed
for a very long time (or never did exist).
2002-06-10 07:44:04 +00:00
tjr
0d7946a551 Newlines are not escaped anymore. 2002-06-10 07:27:32 +00:00
tjr
c2aff30319 Don't write escape newlines with `l' command (SUSv3) 2002-06-10 07:25:35 +00:00
dougb
fad7f319c9 Go back to taking the user's umask into account. Thanks to Alfred for
hatching the idea of using dc, and Giorgos (keramida) for incubating it.

This also reverses most of the previous commit which took out or
modified the text about umask stuff.
2002-06-10 07:16:42 +00:00
alc
c724db6eda o In vm_map_entry_create(), call uma_zalloc() with M_NOWAIT on system maps.
Submitted by: tegge
 o Eliminate the "!mapentzone" check from vm_map_entry_create() and
   vm_map_entry_dispose().  Reviewed by: tegge
 o Fix white-space usage in vm_map_entry_create().
2002-06-10 06:11:45 +00:00
tjr
f153f4e3b8 Correctly handle global substitutions where the pattern is only "$", the
EOL anchor, when the last input line does not end in a newline character.
Picked up by the GNU sed test suite.
2002-06-10 06:06:20 +00:00
davidc
d7b6961d30 Document the cred_update_thread() function, and fix the RETURN VALUES. 2002-06-10 05:18:00 +00:00
jmallett
d9de72075a Note early appearence of some commands. These actually appeared in PWB, but
it seems we don't have a macro for that yet, so list them in the first UNIX
release since then that we have a .At for: v7.
2002-06-10 05:03:20 +00:00