| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Submitted by: ache
Notes:
svn path=/head/; revision=91245
|
| |
|
|
|
|
|
|
|
| |
it was inelegant and neglected to check the return value from malloc(3).
Sponsored by: DARPA, NAI Labs
Notes:
svn path=/head/; revision=91244
|
| |
|
|
|
|
|
|
|
|
| |
needs to include <sys/types.h> before <grp.h>.
Submitted by: fjoe, sheldonh
David Malone <dwmalone@maths.tcd.ie>
Notes:
svn path=/head/; revision=91243
|
| |
|
|
|
|
|
|
|
|
| |
so that <sys/types.h> is now required. Add it, otherwise it breaks
some ports.
Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
Notes:
svn path=/head/; revision=91242
|
| |
|
|
|
|
|
|
|
| |
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Sorted includes.
Notes:
svn path=/head/; revision=91241
|
| |
|
|
| |
Notes:
svn path=/head/; revision=91238
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the inter-value histogram for 2000 samples. If the width is 3 or less
for 10 consequtive samples, we trust the counter to be good, otherwise
we use the *_safe() method.
This method may be too strict, but the worst which can happen is that
we take the performance hit of the *_safe() method when we should not.
Make the *_safe() method more discriminating by mandating that the three
samples do not span more than 15 ticks on the counter.
Disable the PCI-ident based probing as a means to recognize good
counters.
Inspiration from: dillon and msmith
Notes:
svn path=/head/; revision=91237
|
| |
|
|
|
|
|
| |
Submitted by: Marco Molteni <molter@tin.it>
Notes:
svn path=/head/; revision=91236
|
| |
|
|
|
|
|
|
|
|
| |
call returns `EISDIR', not `EEXIST', so that be prepared for that. This should
fix number of ports, that often call `mkdir -p //usr/local/foobar'. This
is just a quick workaround, the real fix would be either to avoid calling
mkdir("/", ...) or fix VFS code to return consistent errno for this case.
Notes:
svn path=/head/; revision=91235
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
were destined for a broadcast IP address. All TCP packets with a
broadcast destination must be ignored. The system only ignored packets
that were _link-layer_ broadcasts or multicast. We need to check the
IP address too since it is quite possible for a broadcast IP address
to come in with a unicast link-layer address.
Note that the check existed prior to CSRG revision 7.35, but was
removed. This commit effectively backs out that nine-year-old change.
PR: misc/35022
Notes:
svn path=/head/; revision=91234
|
| |
|
|
|
|
|
|
|
| |
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Removed unused include of <sys/stat.h>. Only its pollution was used.
Notes:
svn path=/head/; revision=91233
|
| |
|
|
|
|
|
| |
Reviewed by: jake, tmm
Notes:
svn path=/head/; revision=91232
|
| |
|
|
|
|
|
|
| |
Pointed out by: Manfred Antar <null@pozo.com>
Pointy hat to: matusita
Notes:
svn path=/head/; revision=91230
|
| |
|
|
|
|
|
| |
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Notes:
svn path=/head/; revision=91229
|
| |
|
|
|
|
|
| |
<sys/stat.h> for the declaration of struct timeval.
Notes:
svn path=/head/; revision=91228
|
| |
|
|
|
|
|
|
| |
<sys/stat.h> for the declaration of struct timeval. Intentionally
don't follow the local style of polluting the local headers.
Notes:
svn path=/head/; revision=91227
|
| |
|
|
|
|
|
|
| |
polluted, and <sys/types.h> is strictly a prerequisite for <sys/stat.h>
untiil we drop support for pre-2001 versions of POSIX.
Notes:
svn path=/head/; revision=91226
|
| |
|
|
|
|
|
|
|
|
|
|
| |
<sys/stat.h> for the declaration of struct timeval.
Removed unused includes (<time.h> doesn't declare anything of interest;
only <sys/time.h> does).
Sorted includes a bit.
Notes:
svn path=/head/; revision=91225
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
virtual page number in a much more convenient way; all in one piece. This
greatly simplifies the comparison for a matching tte, and allows the fault
handlers to be much simpler due to not having to load wierd masks.
Rewrite the tlb fault handlers to account for the new format. These are also
written to allow faults on the user tsb inside of the fault handlers; the
kernel fault handler must be aware of this and not clobber the other's
registers. The faults do not yet occur due to other support that is needed
(and still under my desk).
Bug fixes from: tmm
Notes:
svn path=/head/; revision=91224
|
| |
|
|
|
|
|
| |
Thanks to cjc for the idea.
Notes:
svn path=/head/; revision=91223
|
| |
|
|
|
|
|
|
| |
For FreeBSD, 'ld' 2.12.0 uses a different emulation than in the past.
So this change makes the upgrade easier.
Notes:
svn path=/head/; revision=91221
|
| |
|
|
|
|
|
|
|
|
|
| |
<sys/stat.h> for the declaration of struct timeval (sys/stat.h> only
needs timespecs even when its POSIX support is not turned on, so it
shouldn't declare timevals).
Fixed some #include messes.
Notes:
svn path=/head/; revision=91220
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
deep in <stand.h> to eventually include <time.h> to declare the user
version.
This is not quite the right place to declare it, but <stand.h> would
be worse because time() is very MD so it isn't in libstand.
Many places in the boot sources still get the user version using only
1 layer of pollution (#include <sys/time.h>. Some pollute themselves
directly (#include <time.h>). But the boot Makefiles are too broken
to enable warnings for redeclarations.
Notes:
svn path=/head/; revision=91219
|
| |
|
|
| |
Notes:
svn path=/head/; revision=91218
|
| |
|
|
|
|
|
|
|
|
| |
<sys/stat.h> for its prerequisite <sys/time.h>.
#include <sys/param.h> in the correct place instead of bogusly including
<sys/types.h>.
Notes:
svn path=/head/; revision=91217
|
| |
|
|
|
|
|
|
|
| |
<sys/stat.h> for its prerequisite <sys/time.h>.
Removed a duplicated include. Sorted includes.
Notes:
svn path=/head/; revision=91216
|
| |
|
|
|
|
|
|
|
| |
interpreter.
Submitted by: Magnus B{ckstr|m <b@etek.chalmers.se>
Notes:
svn path=/head/; revision=91215
|
| |
|
|
|
|
|
|
|
|
| |
namespace pollution only 1 layer deep in <sys/stat.h> for its
prerequisite <sys/time.h>
Removed other unused includes.
Notes:
svn path=/head/; revision=91214
|
| |
|
|
|
|
|
|
|
| |
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Sorted includes. Removed some unused includes.
Notes:
svn path=/head/; revision=91213
|
| |
|
|
|
|
|
|
|
| |
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Removed unused includes.
Notes:
svn path=/head/; revision=91212
|
| |
|
|
|
|
|
|
|
| |
namespace pollution 2 layers deep in <sys/stat.h>.
Sorted includes.
Notes:
svn path=/head/; revision=91211
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
but never accept'ed, so they must be destroyed. Originally, unp_drop()
detected this situation by checking if so->so_head is non-NULL.
However, since revision 1.54 of uipc_socket.c (Feb 1999), so->so_head
is set to NULL before calling soabort(), so any unix-domain sockets
waiting to be accept'ed are leaked if the server socket is closed.
Resolve this by moving the socket destruction code into uipc_abort()
itself, and making it unconditional (the other caller of unp_drop()
never needs the socket to be destroyed). Use unp_detach() to avoid
the original code duplication when destroying the socket.
PR: kern/17895
Reviewed by: dwmalone (an earlier version of the patch)
MFC after: 1 week
Notes:
svn path=/head/; revision=91210
|
| |
|
|
|
|
|
|
| |
PR: docs/35274
Submitted by: nivit@libero.it (Nicola Vitale)
Notes:
svn path=/head/; revision=91209
|
| |
|
|
| |
Notes:
svn path=/head/; revision=91208
|
| |
|
|
| |
Notes:
svn path=/head/; revision=91207
|
| |
|
|
|
|
|
|
|
|
| |
Missing `const' qualifier.
Initialization in declaration.
Submitted by: mike
Notes:
svn path=/head/; revision=91206
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
latch the acpi timer, resulting in weird deltas. The problem is severe
enough to adversely effect the timecounter code.
Default to the 'safe' version of the get-timecount function. The probe
will override it if a known-good chipset is found. This is temporary
until a more complete solution is found.
Reviewed by: phk
Notes:
svn path=/head/; revision=91204
|
| |
|
|
| |
Notes:
svn path=/head/; revision=91203
|
| |
|
|
|
|
|
|
|
| |
may have failed.
Submitted by: Terry Lambert <tlambert2@mindspring.com>
Notes:
svn path=/head/; revision=91202
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=91201
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
our feet when we look inside timecounter structures.
Make the "sync_other" code more robust by never overwriting the
tc_next field.
Add counters for the bin[up]time functions.
Call tc_windup() in tc_init() and switch_timecounter() to make sure
we all the fields set right.
Notes:
svn path=/head/; revision=91200
|
| |
|
|
|
|
|
|
| |
part of the user-time as a 64bit quantity. This resulted in weird
output from SIGINFO.
Notes:
svn path=/head/; revision=91199
|
| |
|
|
|
|
|
|
|
|
| |
Most of the contents are commented out as they are as-yet untested.
However, I wanted the contents to match our other arches, so that when
people make changes to {i386,alpha,ia64}, they will also make the same
changes here.
Notes:
svn path=/head/; revision=91198
|
| |
|
|
|
|
|
| |
status page".
Notes:
svn path=/head/; revision=91196
|
| |
|
|
|
|
|
| |
depended on ATA_FLUSHCACHE_ON is now useless.
Notes:
svn path=/head/; revision=91194
|
| |
|
|
|
|
|
|
|
|
|
| |
master.passwd, group, and make.conf
* Add a feature to check variables in rc.conf[.local] to their
counterparts in /etc/defaults/rc.conf after a run
* Twiddle whitespace a little
* Change some "[ -f file ] && rm file" to "rm -f file"
Notes:
svn path=/head/; revision=91193
|
| |
|
|
|
|
|
| |
the commit resolution for some reason. Fixes ACPI_DEBUG.
Notes:
svn path=/head/; revision=91192
|
| |
|
|
|
|
|
|
|
|
|
| |
I am committing this here rather than in gcc/config/freebsd.h because the
profiled libgcc only exists with the native system compiler. It is not
created by a stock FSF build and we will never be able to get these bits
committed to the FSF CVS repo. Thus this is very much a FreeBSD "native"
issue.
Notes:
svn path=/head/; revision=91190
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
comments such as:
// The main() function
Teach ctags about this style of commenting.
Submitted by: Eric Allman <eric@Sendmail.ORG>
MFC after: 1 week
Notes:
svn path=/head/; revision=91189
|
| |
|
|
|
|
|
|
|
|
| |
will break a running system during a buildworld.
Noticed by: Alexandr Listopad <laa@laa.zp.ua>
MFC after: 1 week
Notes:
svn path=/head/; revision=91187
|