Commit Graph

159350 Commits

Author SHA1 Message Date
ad
42f48e85b3 top(1): Allow a single process to be selected by pid.
Add a 'thread mode' that displays LWPs.
                [ad 20070524]
2007-05-24 20:05:02 +00:00
ad
009dcab90b - Allow a single process to be selected by pid.
- Add a 'thread mode' that displays LWPs.
2007-05-24 20:04:04 +00:00
christos
35d9d3fddf Make sure we don't run over the end of the argument array while scanning
for input. This can happen if we have a unary not without an argument. When
we scan for the argument, we are already at the NULL element of the argument
array. Then when we scan ahead for a -a or -o, we end up testing the next
element after the NULL.
2007-05-24 18:47:08 +00:00
christos
41d09357f2 Instead of putting a full copy of realpath here, use the system's realpath. 2007-05-24 18:18:43 +00:00
plunky
28aef083c5 add generic Device Controls usage page information 2007-05-24 18:05:11 +00:00
xtraeme
3e72ab4fab ses.h is located on dev/scsipi and not dev/scsi... well 6 years later
we fix it.

Looks like not many developers pay attention to update the manual
pages.
2007-05-24 16:40:46 +00:00
briggs
9e95a6e477 The number of max_lat units in 1 sec is 4000000 instead of 40000000 (an
extra 0 snuck into the code).
Found when looking at this with dyoung.
2007-05-24 15:57:58 +00:00
tsutsui
1f40a9d3d4 Remove more dup entries uniq(1) can't detect. 2007-05-24 15:55:50 +00:00
briggs
4208391f45 Some changes from the FreeBSD driver:
* Include definitions of adapter-initiated fibs.
* Send aifs back to the adapter after we receive them.
* Use indexes instead of pointers in 32-bit hardware registers.
* If we get a message that there's a printf from the adapter, but we have
  a NUL in the first character of the printf string, change the NUL to a
  space.
2007-05-24 15:07:47 +00:00
christos
e3d9822168 PR/36384: Patrick Welche: triplicate udp entries in /etc/services
ran it through uniq
2007-05-24 15:01:47 +00:00
xtraeme
8f6f7665fa Indentation. 2007-05-24 13:36:57 +00:00
njoly
f70cd37804 Fix restart of interrupted system calls.
- Make linux_sys_rt_sigreturn() return EJUSTRETURN on success.
- Add missing rax to linux_sigcontext structure; and save/restore
  its value like other members in linux_sendsig()/linux_sys_rt_sigreturn().

With valuable help from manu.
2007-05-24 11:21:52 +00:00
dogcow
905b715a4b use PRIu64, not llu, to unbork on 64-bit platforms. 2007-05-24 05:33:08 +00:00
lukem
f4f2ed1c79 Display times in RFC2822 form rather than using ctime(3), since
the former is more explicit about the timezone offset.
2007-05-24 05:05:18 +00:00
lukem
6ca11a7da7 Revert previous "64bit fix" because it actually removed desired functionality.
Instead, use the appropriate format specifier & cast to display the time_t.
2007-05-24 02:51:41 +00:00
agc
9cdcc01daf After we've malloc'd an area of storage, zero out this storage, "just in
case".
2007-05-24 00:55:57 +00:00
agc
4dbe5ed7e7 Extend the Linux emulation of /proc to include
/proc/stat
	/proc/loadavg and
	/proc/<pid>/statm.

These are only present when -o linux is specified as a mount option
to procfs.

Factor out some common code so that it can be used by a number of
functions.

XXX The values returned in the statm emulation need to be verified.
2007-05-24 00:37:40 +00:00
christos
94b0103837 add ssp/strings.h 2007-05-23 23:41:51 +00:00
christos
0fb2cf5330 forgot to pass the len argument; pointed out by thor. 2007-05-23 23:38:40 +00:00
tls
1f3bd3b216 memset does not have 'src' as its second argument. or, at least, in my
opinion it shouldn't.
2007-05-23 22:50:04 +00:00
tls
3c0130638c The b-functions (bcopy, bzero) should not be in string.h, and we were
missing strings.h.  Fix this so we mirror the organization of these
header files in /usr/include proper.
2007-05-23 22:35:38 +00:00
tls
8c0e7700ad Fix typo: "lne"->"len" 2007-05-23 21:38:00 +00:00
tls
019754b194 From christos: make inline functions static __inline, because some userland programs might redefine inline, or the compiler might not listen to us although we use __attribute__((__always_inline__)) 2007-05-23 21:13:14 +00:00
dsl
1752887780 Delete some comments that refer to long-extinct code. 2007-05-23 19:03:56 +00:00
christos
68a6db0f0b fix typos in previous 2007-05-23 17:32:46 +00:00
christos
72cfe7327b Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
christos
01e5675c2a add libssp here. requested by wiz 2007-05-23 17:01:25 +00:00
christos
4320602b61 back out previous, requested by wiz 2007-05-23 16:59:03 +00:00
kleink
33ad2f35ea tz{code,data}2007f out; tzdata2007f in. 2007-05-23 15:42:57 +00:00
christos
35b6e48aee fix tyops 2007-05-23 15:00:39 +00:00
he
410727fbc5 Remove MUNGE(NOP_ON_4M_15), that label no longer exists. 2007-05-23 14:51:16 +00:00
christos
b2bff1d872 add new man pages. 2007-05-23 14:46:06 +00:00
christos
c2c58c755b mention libssp 2007-05-23 14:42:54 +00:00
christos
d66f24ca74 add documentation for libssp 2007-05-23 14:41:02 +00:00
he
0dd2f4778a Descending into ld.elf_so only makes sense if ${MKPIC} != "no".
Fixes build for sun2.
2007-05-23 09:39:53 +00:00
martin
dad9937fa5 In pmap_kenter_pa honour VM_PROT_EXECUTE - otherwise LKMs are not mapped
executable.
Fixes PR port-sparc64/36376.
2007-05-23 09:36:22 +00:00
martin
48290fcae6 Fix a stupid bug in the save_fpstate ipi, which caused overwriting of
struct lwp of the lwp owning the fpu. Fix clearing the fplwp - %o0 will
not survive the call to savefpstate - duh!
2007-05-23 08:16:43 +00:00
kleink
a96a1a1a65 Merge tzdata2007f. 2007-05-23 08:07:06 +00:00
kleink
af80c56040 Import tzdata2007f. 2007-05-23 08:05:10 +00:00
martti
657382d62b Added missing .TP 2007-05-23 05:18:45 +00:00
mhitch
058579391c Rework pmap_zero_page() and pmap_copy_page() so it doesn't need the pte
pointers from pmap_bootstrap(), and make pmap_bootstrap() more compatible
with the common m68k pmap_motorola.c.
cVS: ----------------------------------------------------------------------
2007-05-23 00:47:03 +00:00
tls
d307e49627 Add -D_FORTIFY_SOURCE=2 where it can safely/sanely be used if building
with USE_SSP: not in the kernel, and not in libssp itself.
2007-05-22 23:58:54 +00:00
pavel
48541e974f Move the ipf 4.1.22 entry to CHANGES.prev . 2007-05-22 23:21:26 +00:00
mhitch
786f6950fd Get rid of pcb_cmap2 - it hasn't been used for a long, long time. 2007-05-22 20:29:31 +00:00
rjs
9b21104e57 Fix for yamt-idlelwp merge. 2007-05-22 20:06:33 +00:00
mrg
b9baf4bfef cpu_switchto(): if oldlwp is NULL, don't bother saving it. 2007-05-22 18:15:58 +00:00
tnn
fd95c698a3 Unbreak debug printf on 64-bit arches. 2007-05-22 18:02:18 +00:00
itohy
04a91c2b5a Start itohy-usb1. 2007-05-22 15:49:05 +00:00
martin
6b07dc2e73 In cpu_hatch() set curlwp to the idlelwp.
While here, remove a few debug printfs we no longer need.
2007-05-22 15:44:06 +00:00
xtraeme
f8dd8c3128 Do not print twice features2. This was added with yamt-idlelwp. 2007-05-22 13:56:54 +00:00