| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
handled.
Notes:
svn path=/head/; revision=123659
|
|
|
|
|
|
|
|
| |
PR: docs/50013
Submitted by: osa
Notes:
svn path=/head/; revision=123550
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
terminates. Without this patch, 'make -j1 buildworld' takes about 30%
longer than 'make -B buildworld' on my 2.4 GHz P4; the difference is
probably even larger on faster systems. With this patch, there is no
perceptible difference in wall time between the two.
Submitted by: bde
MFC after: 3 days
Notes:
svn path=/head/; revision=123513
|
|
|
|
|
|
|
| |
Just wrap them in #if 0...#endif.
Notes:
svn path=/head/; revision=123441
|
|
|
|
|
|
|
|
| |
forgotten about how sysctl works. This removes a potential (though
not very likely) race that 1.74 introduced.
Notes:
svn path=/head/; revision=123438
|
|
|
|
| |
Notes:
svn path=/head/; revision=123414
|
|
|
|
| |
Notes:
svn path=/head/; revision=123411
|
|
|
|
| |
Notes:
svn path=/head/; revision=123410
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Replace overly-complicated (and buggy) -a logic with a much simpler
version: -a causes all interrupts to be displayed, otherwise only
those that have occurred are displayed. This removes the need for
any MD code.
- Instead of just making sure intrcnt is large enough, figure out the
exact size it needs to be. We derive nintr from this number, and we
don't want to risk printing garbage. Note that on sparc64, we end up
printing garbage anyway because the names of non-existent interrupts
are left uninitialized by the kernel.
Tested on: alpha, i386, sparc64
Notes:
svn path=/head/; revision=123409
|
|
|
|
| |
Notes:
svn path=/head/; revision=123407
|
|
|
|
|
|
|
|
|
|
| |
ints to size_ts to better match the types of variables they are used
with).
Glanced at by: des
Notes:
svn path=/head/; revision=123401
|
|
|
|
|
|
|
| |
Submitted by: osa
Notes:
svn path=/head/; revision=123380
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- sort the -E switch into the right place.
- add previously missing -p pid in usage (from the last few commits).
- add -E to usage.
- consistently use trfile in the man page.
I knew I shouldn't have touched the man page. If I commit to a man page,
it just makes people suspicious. :-)
Notes:
svn path=/head/; revision=123306
|
|
|
|
|
|
|
|
|
|
| |
o nintr and inamlen must by of type size_t, not int,
o Remove now unnecessary casts,
o Handle the aflag differently, because the intr. names have a
fixed width and almost always have trailing spaces.
Notes:
svn path=/head/; revision=123290
|
|
|
|
|
|
|
| |
Tested on: i386, sparc64
Notes:
svn path=/head/; revision=123258
|
|
|
|
|
|
|
|
|
|
|
|
| |
The use of libkvm for post-mortem analysis is still supported (though it
could use more testing). We can now remove vmstat's setgid bit.
While I'm here, hack the interrupt listing code to not display interrupts
that haven't occurred unless the -a option was given on the command line,
and document this change.
Notes:
svn path=/head/; revision=123250
|
|
|
|
|
|
|
|
|
| |
relative to start of the dump.
Approved by: re (scottl)
Notes:
svn path=/head/; revision=123187
|
|
|
|
|
|
|
| |
http://www.abcmalaysia.com/tour_malaysia/kltn_japivsn.htm
Notes:
svn path=/head/; revision=123174
|
|
|
|
|
|
|
|
|
|
|
|
| |
truncated. In environments where many tunnel or vlan interfaces are created,
interface names have high numbers which overflow the field width.
PRs: bin/52349, bin/35838
Submitted by: Mike Tancsa, Scot W. Hetzel
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=123030
|
|
|
|
|
|
|
| |
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=122992
|
|
|
|
| |
Notes:
svn path=/head/; revision=122836
|
|
|
|
| |
Notes:
svn path=/head/; revision=122731
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is that fseeko() fails in very predictable and frequent ways on ia64.
This is because the offset is actually an address in the process'
address space, which on ia64 can be larger than long (for lseek) or
off_t (for fseeko). The crux is the signedness. The register stack
and memory stack are in region 4 on ia64. This means that the sign bit
is 1. The large positive virtual address is wrongly interpreted as
a negative file offset.
There's no quick fix. Even if you get around the API by using a
SEEK_SET up to LONG_MAX and follow it up with a SEEK_CUR for the
remainder, the kernel simply cannot deal with it. and the second
seek will just fail.
Therefore, this change does not actually fix the root cause. It just
makes sure we're not spitting out all kinds of garbage or that the
get_struct() function in particular does not cause truss(1) to exit.
This, I might add, invariably happened way too soon for truss(1) to
be of any use on ia64...
Notes:
svn path=/head/; revision=122606
|
|
|
|
|
|
|
|
|
| |
Total being shorter than interrupt)..
Pointed out by: bde
Notes:
svn path=/head/; revision=122365
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Syscall return values do not fit in int on 64-bit architectures.
Change the type of retval in <arch>_syscall_exit() to long and
change the prototype of said function to return a long as well.
o Change the prototype of print_syscall_ret() to take a long for
the return address and change the format string accordingly.
o Replace the code sequence
tmp = malloc(X);
sprintf(tmp, format, ...);
with X by definition too small on 64-bit platforms by
asprintf(&tmp, format, ...);
With these changes the output makes sense again, although it does
mess up the tabulation on ia64. Go widescreen...
Not tested on: alpha, sparc64.
Notes:
svn path=/head/; revision=122348
|
|
|
|
|
|
|
|
|
|
|
| |
the last commit...
include some minor style changes and fixes that bde sent me
Submitted by: bde
Notes:
svn path=/head/; revision=122300
|
|
|
|
| |
Notes:
svn path=/head/; revision=122289
|
|
|
|
| |
Notes:
svn path=/head/; revision=122145
|
|
|
|
|
|
|
|
|
|
| |
solar radii. The corresponding masses (m_earth, etc.) were already
present.
Source: "An Introduction to Modern Astrophysics," Carroll & Ostlie.
Notes:
svn path=/head/; revision=122143
|
|
|
|
|
|
|
|
| |
Discovered by: Vladimir Kravchenko <jimson@mostcom.ru>
Pointy hat to: des
Notes:
svn path=/head/; revision=122084
|
|
|
|
|
|
|
|
| |
exits, otherwise shell will be confused and does not set foreground
group correctly for next su command. This sounds like a bug in sh.
Notes:
svn path=/head/; revision=122061
|
|
|
|
|
|
|
|
|
|
| |
make an effort to preserve the ownership and mode of the file we are
editing.
Sponsored by: Registrar AS
Notes:
svn path=/head/; revision=122049
|
|
|
|
| |
Notes:
svn path=/head/; revision=122045
|
|
|
|
| |
Notes:
svn path=/head/; revision=122044
|
|
|
|
| |
Notes:
svn path=/head/; revision=122043
|
|
|
|
|
|
|
|
|
|
|
| |
sometimes, su will receive a SIGTTOU when parent su tries to set child
su's process group as foreground group, and su will be stopped unexpectly,
ignoring SIGTTOU fixes the problem.
Noticed by: fjoe
Notes:
svn path=/head/; revision=122013
|
|
|
|
| |
Notes:
svn path=/head/; revision=121928
|
|
|
|
| |
Notes:
svn path=/head/; revision=121927
|
|
|
|
|
|
|
|
|
|
|
| |
subtract one unsigned number from another potentially smaller
one, leading to wraparound (and heap corruption, eventually).
PR: 58813
MFC after: 2 weeks
Notes:
svn path=/head/; revision=121915
|
|
|
|
|
|
|
| |
to the .Nm macro.
Notes:
svn path=/head/; revision=121909
|
|
|
|
|
|
|
|
|
|
|
| |
where MB/s and tps statistics would always be zero, presumably because
they were being averaged out over the time between now and when the
system booted instead of a few seconds.
PR: 58683
Notes:
svn path=/head/; revision=121836
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.
This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.
Approved By: re (in principle)
Reviewed By: njl, imp
Tested On: i386, amd64, sparc64
Obtained From: NetBSD (if_xname)
Notes:
svn path=/head/; revision=121816
|
|
|
|
|
|
|
|
|
|
| |
avg/median/stddev bars onto two lines. Useful for datasets that
overlap.
Submitted by: Dan Nelson <dnelson@allantgroup.com>
Notes:
svn path=/head/; revision=121795
|
|
|
|
|
|
|
|
|
| |
with GCC built-in (and with C90 reserved library name).
Approved by: gordon (Mentor)
Notes:
svn path=/head/; revision=121784
|
|
|
|
| |
Notes:
svn path=/head/; revision=121764
|
|
|
|
| |
Notes:
svn path=/head/; revision=121746
|
|
|
|
|
|
|
|
| |
Without this cast the compiler cannot know that it has to convert
the null pointer constant NULL to a null pointer.
Notes:
svn path=/head/; revision=121741
|
|
|
|
| |
Notes:
svn path=/head/; revision=121735
|
|
|
|
|
|
|
| |
neglected here.
Notes:
svn path=/head/; revision=121701
|
|
|
|
| |
Notes:
svn path=/head/; revision=121666
|