tjr
c2f443c824
Check that snprintf() does not truncate the destination pathname when
...
linking into a directory.
2002-06-29 04:10:40 +00:00
obrien
83975c1387
Use __FBSDID.
2002-06-29 03:23:51 +00:00
obrien
30c36077fc
Add frexp(3).
...
Obtained from: OpenBSD
2002-06-29 03:23:18 +00:00
obrien
c5dacda2d6
Turn back on GDB.
...
gdbserver does not build, but I've gone about as far with GDB as I'm going
to right now.
2002-06-29 03:19:35 +00:00
obrien
654fdc5b16
Best guess at configurations for our other arches. (totally untested)
2002-06-29 03:18:28 +00:00
obrien
d0166e6800
Allow to compile and at least startup on sparc64.
2002-06-29 03:16:40 +00:00
peter
b6009897cf
Remove a couple of __P() stragglers.
2002-06-29 02:32:34 +00:00
alfred
97873dcbf3
more caddr_t removal.
2002-06-29 02:00:02 +00:00
silby
d77580640e
Add another Intel chipset (i82562).
...
PR: 39974
Submitted by: Morten Aaboe Jensen <morten@codemonkey.dk>
MFC after: 1 day
2002-06-29 01:56:14 +00:00
alfred
d1cbf6a1d1
More caddr_t removal, make fo_ioctl take a void * instead of a caddr_t.
2002-06-29 01:50:25 +00:00
alfred
d92411ce7a
catch up with mextadd callback taking a void argument instead of a caddr_t.
2002-06-29 01:49:22 +00:00
obrien
9929e0fcf8
This commit was generated by cvs2svn to compensate for changes in r99005,
...
which included commits to RCS files with non-trunk default branches.
2002-06-29 01:43:09 +00:00
obrien
2cf1e97b17
Vendor import of GDB 5.2.
...
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.
2002-06-29 01:43:09 +00:00
alfred
69f74d0dfa
catch up with ext_free prototype change.
2002-06-29 01:36:59 +00:00
obrien
c2b054dc11
Bmake bits for GDB 5.2.
2002-06-29 01:16:01 +00:00
obrien
16a030e71f
- kernel core debugging for i386 (Mark Peek)
...
- thread debugging for i386 (Mark Peek) and alpha (Doug Rabson)
Submitted by: mp,dfr
2002-06-29 00:42:52 +00:00
obrien
83ffbdce19
Note that this is a modified version of GDB.
2002-06-29 00:41:02 +00:00
obrien
0f9cb1113e
Use the stock source.
2002-06-29 00:38:44 +00:00
obrien
48c467e54d
Best that I can tell, we've never used these files.
2002-06-29 00:36:19 +00:00
alfred
8cd894ca70
More caddr_t removal.
...
Change struct knote's kn_hook from caddr_t to void *.
2002-06-29 00:29:12 +00:00
alfred
d47feb4376
nuke more instances of caddr_t
2002-06-29 00:02:01 +00:00
alfred
65984a1f06
m_extadd takes a void (*freef)(void *, void *) now, not a
...
void (*freef)(caddr_t, void *).
2002-06-29 00:01:46 +00:00
alfred
b0475cc9d5
remove or replace caddr_t with void.
...
make the mbuf external free function take a void * rather than caddr_t.
2002-06-28 23:48:23 +00:00
alfred
708aac7550
nuke caddr_t.
2002-06-28 23:17:36 +00:00
alfred
c5ef3e2f45
change struct socket -> so_pcb from caddr_t to void *.
2002-06-28 23:17:08 +00:00
alfred
ae44f24f87
Remove unneeded casts to caddr_t.
2002-06-28 23:02:38 +00:00
alfred
386db368a0
change f_data field in struct file from caddr_t to void *.
2002-06-28 23:00:32 +00:00
ache
80e95acffc
Simplify TERM handling since now libutil not overwrites existen TERM for "term"
2002-06-28 22:56:31 +00:00
alfred
d1029cb00e
document that the pipe fo_stat routine doesn't need locks because it's
...
a read operation.
Requested by: rwatson
2002-06-28 22:35:12 +00:00
jhb
8969d48c6a
In namei(), we use a NULL thread for uio_td when doing a VOP_READLINK().
...
nfs_readlink() calls nfs_bioread() which passes in uio_td as the thread
argument to nfs_getcacheblk(). In nfs_getcacheblk() we dereference the
thread pointer to get a process pointer to pass to nfs_sigintr(). This
obviously results in a panic. :)
Rather than change nfs_getcacheblk() to check if the thread pointer is
NULL when calling nfs_sigintr() like other callers do, change
nfs_sigintr() to take a thread as the last argument instead of a
process so none of the callers have to care if the thread is NULL or not.
2002-06-28 21:53:08 +00:00
phk
6a65638bb3
Add two new submodes to the AES encryption method.
...
This method is now suitable for encrypting swap spaces.
Sponsored by: DARPA & NAI Labs.
2002-06-28 21:25:15 +00:00
jmallett
6d00005b2d
Add a module for src/tools/regression (`regression').
...
Add a MAINTAINERS line for the regression module, specifically referring to
src/tools/regression/usr.bin, right now, but applicable to other things, to
make clear that I am willing to help write new tests. The framework is all
modularised now, so it is easy to write new tests, etc., and since I'd like
to see tests for more and more things as bugs get fixed, it seems to be the
right thing to do to stand up and offer to help people write tests.
2002-06-28 21:13:06 +00:00
jeff
1ed9e0f375
Improve the VOP locking asserts
...
- Add vfs_badlock_print to control whether or not we print lock violations
- Add vfs_badlock_panic to control whether we panic on lock violations
Both default to on to mimic the original behavior if DEBUG_VFS_LOCKS is on.
2002-06-28 20:58:14 +00:00
iedowse
792737cf4d
In vn_mkdir(), use vrele() instead of vput() on the parent directory
...
vnode in the case that the target exists and is the same vnode as
the parent (i.e. "mkdir ."). The namei() call does not leave the
vnode locked in this case even though you might expect it to.
This bug was mostly harmless in practice because unlocking an already
unlocked vnode currently does not trigger any panics or warnings.
Reviewed by: jeff
2002-06-28 20:06:47 +00:00
jlemon
3d67b56283
One possible code path for syncache_respond() is:
...
syncache_respond(A), ip_output(), ip_input(), tcp_input(), syncache_badack(B)
Which winds up deleting a different entry from the syncache. Handle
this by not utilizing the next entry in the timer chain until after
syncache_respond() completes. The case of A == B should not be possible.
Problem found by: Don Bowman <don@sandvine.com>
2002-06-28 19:12:38 +00:00
jeff
9fbb8d216f
Clean up vn_rdwr locking.
...
- Do shared locks on read.
- Only do vn_{start,finished}_write when writing.
2002-06-28 17:51:11 +00:00
green
62d02a6b93
Fix a case where a vnode got explicitly unlocked after the pointer to it
...
got set to NULL.
Revision 1.355: in the box
2002-06-28 16:17:47 +00:00
maxim
638246b4b9
Include 'sshd' to the lists of forbidden users.
...
Reviewed by: cvs-committers
2002-06-28 15:46:29 +00:00
ache
47681d4a8a
Add additional field 'overwrite' to login_vars. It mainly needed to handle
...
"term" according to manpage, i.e. not overwrite it, if already present in
environment.
2002-06-28 14:45:30 +00:00
deischen
aafea422a5
Make sigpending and sigsuspend account for signals that are pending on
...
the process as well as pending on the current thread.
Reported by: Andrew MacIntyre <andymac@bullseye.apana.org.au>
2002-06-28 13:28:41 +00:00
deischen
1ef8e6c4af
Add a wrapper for pselect() in order to make it a cancellation point.
...
Prompted by: wollman
2002-06-28 13:26:02 +00:00
markm
eaea972b25
Remove a GCC-specific command-line option. We should be using WARNS=n
...
for this stuff.
2002-06-28 10:36:14 +00:00
brian
c4dd2bd45f
Mention that we're checking kernel log messages, even if there's
...
no output.
PR: 39618
MFC after: 1 week
2002-06-28 10:32:18 +00:00
tjr
9daefc7817
Refer to utilities, not commands, for consistency with env(1), nice(1), etc.
2002-06-28 09:34:46 +00:00
brian
edd536143a
Don't use SignalBundle if it's not set
...
Submitted by: Federico G. Schwindt <fgsch@olimpo.com.br>
2002-06-28 09:33:25 +00:00
tjr
e8db289f87
Document the fairly obvious effects of the PATH environment variable.
2002-06-28 09:31:03 +00:00
tjr
c4f791d939
Discourage use of env(1)'s "-" flag by moving its description to the
...
Compatibility section of the manual page.
2002-06-28 09:23:39 +00:00
brian
9e2f577390
Complain about (and fix) misformatted RADIUS attributes rather than silently
...
fixing them.
2002-06-28 09:18:15 +00:00
brian
fa2f229525
When a RADIUS server is being used, don't use MPPE unless the RADIUS
...
server says it's ok.
2002-06-28 08:46:21 +00:00
dfr
e59e678096
Fix warning.
...
Reviewed by: luigi
2002-06-28 08:36:26 +00:00