Juli Mallett
10b9342105
Update my name here, pointed out by grep(1).
2002-06-27 19:05:47 +00:00
David E. O'Brien
95190a2df6
Add these libs from the 4.6-RELEASE.
...
libstdc++ was bumped with the switch to Gcc 3.1, and libpam was bumped with
the switch to OpenPAM.
2002-06-27 18:53:50 +00:00
David E. O'Brien
d320e50003
Add these libs from the 4.6-RELEASE.
...
libstdc++ was bumped with the switch to Gcc 3.1, and libpam was bumped with
the switch to OpenPAM.
2002-06-27 18:44:05 +00:00
Garrett Wollman
b8c5405411
Resort namespace blocks into a more sensible order. Delete a redundant
...
comment.
2002-06-27 18:40:51 +00:00
Warner Losh
eb486650ec
Leave it to a non-native speaker of English to catch another typo: "do do" ->
...
"to do"
submitted by: marius@alchemy.franken.de
2002-06-27 18:16:16 +00:00
Warner Losh
9accf6a74a
Spell less like a 'merkin and more like a speaker of English
2002-06-27 17:59:24 +00:00
Sheldon Hearn
62df9b6286
Document addition of RLIMIT_VMEM support, added in rev 1.26 of miscbltin.c.
2002-06-27 16:56:45 +00:00
Bruce A. Mah
e2016f8c2a
Arrgh. Forgot to note that fixes for SA-02:28 have been MFC-ed.
2002-06-27 16:47:31 +00:00
Bruce A. Mah
8246ff837c
New release notes: RLIMIT_VMEM, zero-copy support, SA-02:28,
...
OpenSSH 3.3p1, pkg_version(1) rewrite.
MFC noted: sed(1) -i.
2002-06-27 16:45:42 +00:00
Bruce A. Mah
540c241312
Point -CURRENT seekers to a snapshot site that's actually up.
2002-06-27 16:36:17 +00:00
Juli Mallett
7588db83d2
The wrong y/// output got spammed into this file; from green@ indirectly.
2002-06-27 16:07:51 +00:00
Brian Feldman
e6acea8d1b
Correct the psl regression test for sed(1)'s now-fixed newline
...
behavior. Add the bcb regression test which checks for failures due
to a backslash ('\') coinciding with the very last character of the
command buffer. The regression test is cf. this PR (which I did not
know about) and has a different fix for the bug.
PR: bin/22351
Submitted by: Stefan Duerholt <stefan.duerholt@t-online.de>
2002-06-27 15:58:59 +00:00
Maxime Henrion
0dc658c141
GENERIC now builds with -Werror, so remove NO_WERROR.
...
Approved by: jake
2002-06-27 14:43:27 +00:00
Mike Silbersack
11289efd80
Fix style bugs I added in last commit.
...
Spotted by: bde
2002-06-27 14:16:21 +00:00
Daniel Eischen
eee80fbd9c
Remove pselect from application namespace and instead use a weak reference
...
to the actual implementation. This is to allow libc_r to override
pselect() making it a cancellation point.
Prompted by: wollman
2002-06-27 13:23:46 +00:00
Daniel Eischen
53154da089
Remove improper use of <namespace.h>.
...
Remove fmtcheck from application name space (fix the weak reference).
2002-06-27 13:20:54 +00:00
Daniel Eischen
c40995b36a
Remove improper use of <namespace.h>
2002-06-27 13:18:27 +00:00
Chris Costello
141fc4eacd
Cross-reference with ffs(7).
...
Sponsored by: DARPA, NAI Labs
2002-06-27 12:15:11 +00:00
Maxime Henrion
7627c6cbcc
Warning fixes for 64 bits platforms. With this last fix,
...
I can build a GENERIC sparc64 kernel with -Werror.
Reviewed by: luigi
2002-06-27 11:02:06 +00:00
Andrew R. Reiter
c6d84b4d4b
Fix for the problem stated below by Tor Egge:
...
(from: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=832566+0+ \
current/freebsd-current)
"Too many pages were prefaulted in pmap_object_init_pt, thus
the wrong physical page was entered in the pmap for the virtual
address where the .dynamic section was supposed to be."
Submitted by: tegge
Approved by: tegge's patches never fail
2002-06-27 06:34:03 +00:00
Jeff Roberson
09122f6371
Set the UMA_ZONE_VM flag on the pvzone to avoid kmem_map recursion.
2002-06-27 04:08:45 +00:00
Mike Silbersack
1228a1c634
Modify bcopy (and memcpy/memmove) so that the length value is not
...
re-read from the stack mid copy. This may help mitigate the recent
Apache buffer overrun and future overruns of the sort.
Reviewed by: jdp
MFC after: 2 days
2002-06-27 03:55:36 +00:00
Garrett Wollman
80536ead7f
When the -p flag is specified, set an environment variable to the name
...
of the remote host (or rather, the name as mangled by realhostname_sa())
so that the process can use it to behave differently depending on the
origin on the request. We use this to implement rudimentary visibility
control on our user information.
Make sure that the child process's standard error goes through the same
NVT-ASCII filter as is applied to the standard output.
Don't attempt to call logerr() from the child since stdio is not safe in
a vforked process. Just write a message to fd 2 instead. (Ideally, the
parent would open two pipes, and siphon off our stderr to some place less
public, but I have not attempted to do so in this implementation.)
2002-06-26 21:46:56 +00:00
Luigi Rizzo
713a6ea063
Just a comment on some additional consistency checks that could
...
be added here.
2002-06-26 21:00:53 +00:00
Ian Dowse
23f09d50bb
Avoid using the 64-bit vm_pindex_t in a few places where 64-bit
...
types are not required, as the overhead is unnecessary:
o In the i386 pmap_protect(), `sindex' and `eindex' represent page
indices within the 32-bit virtual address space.
o In swp_pager_meta_build() and swp_pager_meta_ctl(), use a temporary
variable to store the low few bits of a vm_pindex_t that gets used
as an array index.
o vm_uiomove() uses `osize' and `idx' for page offsets within a
map entry.
o In vm_object_split(), `idx' is a page offset within a map entry.
2002-06-26 20:32:51 +00:00
Ian Dowse
5125fe4f45
Use an explicit cast to avoid relying on sign extension to do the
...
right thing in code such as `vm_pindex_t x = ~SWAP_META_MASK'.
Reviewed by: dillon
2002-06-26 19:18:14 +00:00
Ian Dowse
8f42fb8fc9
Remove the kernel file-size limit for UFS2, so that only the limit
...
imposed by the filesystem structure itself remains. With 16k blocks,
the maximum file size is now just over 128TB.
For now, the UFS1 file size limit is left unchanged so as to remain
consistent with RELENG_4, but it too could be removed in the future.
Reviewed by: mckusick
2002-06-26 18:34:51 +00:00
Warner Losh
ecddb03f1e
Remove two lines that were cvs merged that shouldn't have been. This
...
fixes the build.
Reported by: dillon.
2002-06-26 18:03:31 +00:00
Mark Murray
6481307030
Gut out (by default unused) cruft, and tidy up warnings.
2002-06-26 17:09:08 +00:00
Mark Murray
78455da4ab
Warnings fixes. Sort out some variable types.
2002-06-26 17:06:14 +00:00
Sheldon Hearn
d86c700817
Revert previous delta, setting the system immutable flag on /var/empty
...
instead of the user immutable flag, now that mergemaster handles
schg directories in its /var/tmp/temproot.
2002-06-26 17:05:48 +00:00
Mark Murray
09e8dea793
Help fix warnings by marking an argument as unused.
2002-06-26 17:05:08 +00:00
Juli Mallett
806893862d
Erk, I forgot that regress.in has an ending newline, so change the test for
...
transliterate to use echo -n to supress newline and a simple string.
2002-06-26 16:57:36 +00:00
Ian Dowse
6a26192ada
Fix an integer overflow that causes fsck_ffs to crash when it
...
encounters very large file sizes in the filesystem.
Reviewed by: mckusick
2002-06-26 16:40:25 +00:00
Andrew R. Reiter
57d14ec550
- Remove the Giant acquisition from linux_socket_ioctl() as it was really
...
there to protect fdrop() (which in turn can call vrele()), however,
fdrop_locked() grabs Giant for us, so we do not have to.
Reviewed by: jhb
Inspired by: alc
2002-06-26 15:53:11 +00:00
Warner Losh
145ec10619
Remove two stray lines that snuck in the cvs merge
2002-06-26 14:18:36 +00:00
Doug Barton
a85eac0492
Add 'chflags -R noschg' to the deletion process for the TEMPROOT
...
directory so that /var/empty, and any other such items that are
added in the future can be deleted effectively.
2002-06-26 14:14:07 +00:00
Maxim Sobolev
07a1fb30e3
Backout previous delta (addition of -I${.CURDIR}/../../sys).
...
Submitted by: bde
2002-06-26 13:25:23 +00:00
Maxim Sobolev
af244dd67c
Add -I${.CURDIR}/../../sys into CFLAGS, which should fix the world broken
...
by RLIMIT_VMEM addition.
2002-06-26 10:33:10 +00:00
Sheldon Hearn
ec8b657bfd
Tone down the previous delta: don't set the system immutable flag on
...
/var/empty, because it makes it difficult for mergemaster(8) to remove
/var/tmp/temproot/var.
2002-06-26 08:58:28 +00:00
Jacques Vidrine
9a370b24b5
Initialize a pointer that was left uninitialized with the previous
...
commit.
2002-06-26 08:48:34 +00:00
Juli Mallett
dd247f7371
If CLEANFILES is nil or not defined, do not try to remove it. This happens
...
when SRCS is entirely files which produce only one compiled form, and when
NOMAN is defined. This does not seem to happen in STABLE.
Approved by: ru
2002-06-26 08:41:00 +00:00
Warner Losh
baefb2ee4e
Minor libc internal-only interface change for mapv4v6.
2002-06-26 08:18:42 +00:00
Warner Losh
d6af58f572
Include more robust checking of end of buffer that more completely
...
plugs the hole.
2002-06-26 08:18:05 +00:00
Tim J. Robbins
126b0a6341
Indicate that the semicolon that terminates argument lists should be in
...
its own argument for -ok and -okdir.
2002-06-26 08:03:54 +00:00
Tim J. Robbins
cc81b6b0fb
Make it more obvious that the semicolon that terminates -exec and -execdir
...
argument lists must be in an argument by itself, not on the end of the
previous one.
2002-06-26 07:55:18 +00:00
Warner Losh
4cbd2472b3
Don't allow buffer overflow here either.
2002-06-26 06:31:06 +00:00
Warner Losh
fda8311189
Fix a minor last, minute issue that came in after I committed.
...
Noticed by: nectar
2002-06-26 06:23:22 +00:00
Warner Losh
4cf0747073
Avoid remote buffer overflow on hostbuf[].
...
Submitted by: joost Pol <joost@pine.nl>
2002-06-26 06:04:46 +00:00
SADA Kenji
f587582238
`pw useradd' could be used with -w without -D option.
...
PR: docs/39770
Submitted by: sada
Approved by: dd
2002-06-26 05:09:12 +00:00