nathanw
0e0a0e7f51
Add hooks to read the application-assigned name of a thread.
2003-02-27 00:54:07 +00:00
fvdl
d89d6b98f7
Catch up with isa_machdep.c and pci_machdep.c move.
2003-02-27 00:39:40 +00:00
fvdl
e397aa2f84
Moved here from i386/pci.
2003-02-27 00:30:31 +00:00
fvdl
b7b9aa9909
Moved to x86/pci.
2003-02-27 00:30:21 +00:00
fvdl
8556a55a8d
Moved here from i386/isa
2003-02-27 00:28:08 +00:00
fvdl
2c7dd6813f
Moved to x86/isa.
2003-02-27 00:27:54 +00:00
fvdl
c0ed70b13c
Adapt for move to x86/include.
2003-02-27 00:12:21 +00:00
fvdl
20e439b5cb
Move a few more files to x86/include. Trim the list of files to install
...
in /usr/include a bit.
2003-02-27 00:10:56 +00:00
nathanw
508a50ac15
In pthread_create(), rearrange name-setting code so that name is set
...
to NULL when the attribute structure does not have a private field
allocated.
2003-02-26 23:41:01 +00:00
thorpej
b9d81d9cc9
Change a printf to an event counter. Callout event counters are conditional
...
on CALLOUT_EVENT_COUNTERS.
2003-02-26 23:13:19 +00:00
enami
b7577d634c
Use _kvm_freeprocs() rather than free() so that kvm_close() won't
...
free already free'ed region.
2003-02-26 23:05:53 +00:00
enami
30fca248b5
Cosmetic changes.
2003-02-26 23:04:37 +00:00
thorpej
a4c5b13998
Bump libpthread to 0.2
2003-02-26 22:32:10 +00:00
thorpej
de7b2793e0
Back out change that made libpthread per-platform. It is *intentional*
...
that the build fails on platforms which do not yet have libpthread support.
2003-02-26 22:30:56 +00:00
fvdl
2b14e212b1
Install header files.
2003-02-26 22:27:00 +00:00
fvdl
ab4edb55ec
Adapt for i386/x86 change.
2003-02-26 22:21:19 +00:00
thorpej
4edae6c16a
Add a regression test for the pthread_{,attr}_{get,set}name_np() API.
2003-02-26 22:05:02 +00:00
thorpej
b33971b9c3
Add support for naming a thread, using an API compatible with Tru64 Unix:
...
* pthread_attr_getname_np()
* pthread_attr_setname_np()
* pthread_getname_np()
* pthread_setname_np()
In addition to being query'able by the application (for log messages, etc.),
it is intended that these names can show up in the debugger.
Reviewed by nathanw.
2003-02-26 22:02:48 +00:00
ragge
21d5b938d7
Enable USE_TOPDOWN_VM. This also makes it possible to use large address
...
spaces, so bump MAXDSIZ to 1GB.
2003-02-26 21:54:35 +00:00
jdolecek
d67d6bee01
M_TRYWAIT -> M_WAIT
...
MGET() -> m_get()
MCLGET() -> m_clget()
c_caddr_t -> const char *
2003-02-26 21:50:15 +00:00
lha
59dc4c7d0f
adapt to lwp-world
2003-02-26 21:36:14 +00:00
fvdl
f720949c2c
Adapt for move of files to arch/x86.
2003-02-26 21:33:36 +00:00
fvdl
34cdc350a6
The mementry struct is packed by default now, remove lo/hi usage.
2003-02-26 21:32:20 +00:00
fvdl
c0f1fc2c3e
Add various include files for MP; mostly redirects to x86/foo.h
2003-02-26 21:31:12 +00:00
fvdl
1fe3d0e71c
Redirect a few includes to x86/foo.h
2003-02-26 21:29:34 +00:00
fvdl
a33bcafdf1
Redirect some includes to x86/foo.h
2003-02-26 21:28:59 +00:00
fvdl
cffd488563
Adapt for move of files to arch/x86.
2003-02-26 21:28:20 +00:00
fvdl
8375b2d985
Move some files out of i386 into x86, so that they can be shared with
...
other ports.
2003-02-26 21:26:09 +00:00
matt
9c3775aadf
Make elf32 load_file work properly with TOPDOWN by mapping psections in
...
reverse order. Remove TOPDOWN support from VMCMDs since elf32 does the
right stuff now. With these changes, VAX can now use TOPDOWN.
2003-02-26 21:18:22 +00:00
jklos
b9f3bdb8fb
Added L3CR_CONFIG to the parameter list for 745x L3 cache configuration.
2003-02-26 21:14:32 +00:00
jklos
0c5117e1f9
Added configuration entries for L3CR_CONFIG for L3 caches on 745x
...
accelerators. Thanks to Monroe Williams.
2003-02-26 21:10:51 +00:00
jklos
7109206620
Added L3CR_CONFIG for support of 745x G4 L3 cache configuration.
2003-02-26 21:05:23 +00:00
leo
24f5eee0e7
Make this work as fdisa again on the Atari/Milan.
2003-02-26 20:48:48 +00:00
jdolecek
88db5b512b
Don't try to reacquire root vnode if vflush() in smbfs_unmount() fails.
...
This is potentially fragile, since the vnode may have been reclaimed
in vflush(), and used by different filesystem. This wouldn't actually
happen due to n_parent link to parent directory, but better safe
than sorry.
Since sm_root is only and strictly cache to speed up VFS_ROOT(),
it can be acquired/dropped any time. Rearrange code to not
require sm_root set, and change smbfs_root() back to set
sm_root if it's not set yet. smbfs_unmount() now only vrele()s
the root vnode if sm_root is set, and doesn't try reacquire it
if vflush() fails.
problem with vref() after vflush() pointed out by Bill Studenmund
2003-02-26 20:21:40 +00:00
jdolecek
4f88b74062
improve tsleep() wmesgs
2003-02-26 19:31:33 +00:00
jdolecek
11c209aa83
prefix tsleep() wmesg with 'smb', rather than '90'
...
drop #ifndef __NetBSD__ msleep() code, it only obfuscates the code
2003-02-26 19:30:51 +00:00
christos
ea5d0d4403
keep track if we have the file opened as readonly or readwrite, so that
...
we don't need to call update_utmp, if our euid has changed, but we still
have a write reference to the file. Solves problem with chrooting processes.
2003-02-26 19:23:25 +00:00
christos
0d2dc54013
keep track of the two proc entries significant to the utmp entry. The one
...
indicated by the pid in struct utmpx [or ftpd hack], and the one that is
associated with the controlling tty, is in the foreground process group,
and has most cpu. If the second one exists, use that one, else use the first
one.
2003-02-26 19:10:28 +00:00
fredb
1709947012
Print the command in parenthesis, if kvm_getargv2() returns no
...
arguments. This lets "xterm -e command" display as "(command)".
Reviewed by christos.
2003-02-26 19:01:54 +00:00
christos
3a6ece1341
don't trust sizes comming in from the elf file.
2003-02-26 18:36:24 +00:00
christos
e8ec3465f7
make this compile
2003-02-26 18:35:42 +00:00
christos
d85507235b
fix a memory allocation issue.
2003-02-26 18:31:21 +00:00
matt
a6c7337fa2
Remove leftover MBUFTRACE asserts.
2003-02-26 18:22:10 +00:00
christos
dc7c6aef2a
The following changes make ftpd able to remove its own entries. Ftpd
...
calls pututxline() with ruid = 0, euid = current-ftp-user. This ends
up calling update_utmp:
- if the real uid is root, don't do password or tty ownership checks
- if we cannot open the tty line, assume that it is a daemon that does
not use ttys and allow it to change a live entry to a dead one if
indeed it is the same process that created the entry.
2003-02-26 18:16:50 +00:00
jdolecek
e651d04ed9
split the part of smbfs_root() which sets sm_root to separate function
...
smbfs_setroot()
remove pointless if() and MNT_LOCAL flag handling in smbfs_unmount()
turn the check for non-null sm_root to KASSERT() in smbfs_statfs()
adjust some comments
2003-02-26 18:16:37 +00:00
pk
4eb3db09d9
Move all `ID prom' stuff into the prom library.
2003-02-26 17:39:05 +00:00
kochi
e2b5c0723f
Remove unexpectedly imported ACPI CA files and obsolete files
2003-02-26 17:06:40 +00:00
christos
8399be1bba
keep track which entries are utmp and which are utmpx, so we can print
...
them on the stale message.
2003-02-26 15:04:10 +00:00
christos
c7d4de107a
- Remove SUPPORT_FTPD_UTMP flag. Enable it only for utmp entries, utmpx does
...
not need it since it can get the pid from the utmpx structure.
- If the line is not found, and the pid is present (from utmpx) use that to
determine the process information for that particular entry.
2003-02-26 15:01:09 +00:00
drochner
72d6120d24
deactivate MBUFTRACE related KASSERT()s in the !MBUFTRACE case
2003-02-26 14:36:43 +00:00